From 1bb96132376c3039903d13b78196e75cdf22c14b Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 19 Jul 2021 17:22:43 +0200 Subject: Clean up style in recent monitor code Fix some indentation issues and make sure everything* uses CamelCase. * MonitorArrangement is left as snake_case in order to pretend it is an independent FLTK widget class. --- vncviewer/MonitorIndicesParameter.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vncviewer/MonitorIndicesParameter.h') diff --git a/vncviewer/MonitorIndicesParameter.h b/vncviewer/MonitorIndicesParameter.h index 1737a5b3..1e0925d2 100644 --- a/vncviewer/MonitorIndicesParameter.h +++ b/vncviewer/MonitorIndicesParameter.h @@ -33,12 +33,12 @@ public: private: typedef struct { int x, y, w, h; - int fltk_index; + int fltkIndex; } Monitor; - bool parse_indices(const char* value, std::set *indices); - std::vector monitors(); - static int sort_cb(const void*, const void*); + bool parseIndices(const char* value, std::set *indices); + std::vector fetchMonitors(); + static int compare(const void*, const void*); }; #endif // __MONITOR_INDEX_PARAMETER_H -- cgit v1.2.3