]>
Dogcows Code - chaz/openbox/blob - otk/screeninfo.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __screeninfo_hh
3 #define __screeninfo_hh
23 std::string _display_string
;
26 RectList _xinerama_areas
;
27 bool _xinerama_active
;
31 ScreenInfo(unsigned int num
);
33 inline Visual
*visual() const { return _visual
; }
34 inline Window
rootWindow() const { return _root_window
; }
35 inline Colormap
colormap() const { return _colormap
; }
36 inline int depth() const { return _depth
; }
37 inline unsigned int screen() const { return _screen
; }
38 inline const Rect
& rect() const { return _rect
; }
39 inline unsigned int width() const { return _rect
.width(); }
40 inline unsigned int height() const { return _rect
.height(); }
41 inline const std::string
& displayString() const { return _display_string
; }
43 inline const RectList
&xineramaAreas() const { return _xinerama_areas
; }
44 inline bool isXineramaActive() const { return _xinerama_active
; }
50 #endif // __screeninfo_hh
This page took 0.034518 seconds and 4 git commands to generate.