aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/MonitorIndicesParameter.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-07-19 17:22:43 +0200
committerPierre Ossman <ossman@cendio.se>2021-07-19 17:22:43 +0200
commit1bb96132376c3039903d13b78196e75cdf22c14b (patch)
tree53a232de6c86e5cd6aad9c86e0cc74be757fd02f /vncviewer/MonitorIndicesParameter.h
parent11ca86b9432bfb1e7d2ba586b4dc6da60329bf92 (diff)
downloadtigervnc-1bb96132376c3039903d13b78196e75cdf22c14b.tar.gz
tigervnc-1bb96132376c3039903d13b78196e75cdf22c14b.zip
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.
Diffstat (limited to 'vncviewer/MonitorIndicesParameter.h')
-rw-r--r--vncviewer/MonitorIndicesParameter.h8
1 files changed, 4 insertions, 4 deletions
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<int> *indices);
- std::vector<MonitorIndicesParameter::Monitor> monitors();
- static int sort_cb(const void*, const void*);
+ bool parseIndices(const char* value, std::set<int> *indices);
+ std::vector<MonitorIndicesParameter::Monitor> fetchMonitors();
+ static int compare(const void*, const void*);
};
#endif // __MONITOR_INDEX_PARAMETER_H