]>
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
25 std::string _display_string
;
28 std::vector
<Rect
> _xinerama_areas
;
29 bool _xinerama_active
;
33 ScreenInfo(unsigned int num
);
35 inline Visual
*visual() const { return _visual
; }
36 inline Window
rootWindow() const { return _root_window
; }
37 inline Colormap
colormap() const { return _colormap
; }
38 inline int depth() const { return _depth
; }
39 inline unsigned int screen() const { return _screen
; }
40 inline const Size
& size() const { return _size
; }
41 inline const std::string
& displayString() const { return _display_string
; }
43 inline const std::vector
<Rect
> &xineramaAreas() const
44 { return _xinerama_areas
; }
45 inline bool isXineramaActive() const { return _xinerama_active
; }
51 #endif // __screeninfo_hh
This page took 0.035677 seconds and 4 git commands to generate.