namespace otk {
class ScreenInfo;
-class GCCache;
class RenderControl;
class Display;
//! The value of the mask for the ScrollLock modifier
unsigned int _scroll_lock_mask;
+ //! The key codes for the modifier keys
+ XModifierKeymap *_modmap;
+
//! The number of requested grabs on the display
int _grab_count;
//! screen
RenderControl** _rendercontrol_list;
- //! A cache for re-using GCs, used by the drawing objects
- /*!
- @see Pen
- @see Font
- @see Image
- @see ImageControl
- @see Texture
- */
- GCCache *_gccache;
-
// Handles X errors on the display
/*
Displays the error if compiled for debugging.
//! Destroys the class, closes the X display
~Display();
- //! Returns the GC cache for the application
- inline GCCache *gcCache() const { return _gccache; }
-
//! Gets information on a specific screen
/*!
Returns a ScreenInfo class, which contains information for a screen on the
inline unsigned int numLockMask() const { return _num_lock_mask; }
inline unsigned int scrollLockMask() const { return _scroll_lock_mask; }
+ const XModifierKeymap *modifierMap() const { return _modmap; }
inline ::Display* operator*() const { return _display; }