aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenInfo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ScreenInfo.hh')
-rw-r--r--src/ScreenInfo.hh10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ScreenInfo.hh b/src/ScreenInfo.hh
index b167d47..4cdd070 100644
--- a/src/ScreenInfo.hh
+++ b/src/ScreenInfo.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: ScreenInfo.hh,v 1.1 2003/05/10 13:54:29 fluxgen Exp $ 25// $Id: ScreenInfo.hh,v 1.2 2003/05/10 23:01:00 fluxgen Exp $
26 26
27#ifndef SCREENINFO_HH 27#ifndef SCREENINFO_HH
28#define SCREENINFO_HH 28#define SCREENINFO_HH
@@ -45,16 +45,8 @@ public:
45 explicit ScreenInfo(int screen_num); 45 explicit ScreenInfo(int screen_num);
46 ~ScreenInfo(); 46 ~ScreenInfo();
47 47
48 inline Visual *getVisual() const { return visual; }
49 inline Window getRootWindow() const { return root_window; }
50 inline Colormap colormap() const { return m_colormap; }
51
52 inline int getDepth() const { return depth; }
53 inline int getScreenNumber() const { return screen_number; } 48 inline int getScreenNumber() const { return screen_number; }
54 49
55 inline unsigned int getWidth() const { return width; }
56 inline unsigned int getHeight() const { return height; }
57
58#ifdef XINERAMA 50#ifdef XINERAMA
59 inline bool hasXinerama() const { return m_hasXinerama; } 51 inline bool hasXinerama() const { return m_hasXinerama; }
60 inline int getNumHeads() const { return xineramaNumHeads; } 52 inline int getNumHeads() const { return xineramaNumHeads; }