#include <X11/Xlib.h>
}
-#include <vector>
-
namespace otk {
class ScreenInfo;
int _grab_count;
//! A list of information for all screens on the display
- std::vector<ScreenInfo> _screenInfoList;
+ ScreenInfo** _screeninfo_list;
//! A list of RenderControl objects, which are used for all graphics on a
//! screen
- std::vector<RenderControl*> _renderControlList;
+ RenderControl** _rendercontrol_list;
//! A cache for re-using GCs, used by the drawing objects
/*!
@param snum The screen number of the screen to retrieve info on
@return Info on the requested screen, in a ScreenInfo class
*/
- const ScreenInfo* screenInfo(int snum);
+ const ScreenInfo* screenInfo(int snum) const;
//! Find a ScreenInfo based on a root window
- const ScreenInfo* findScreen(Window root);
+ const ScreenInfo* findScreen(Window root) const;
//! Gets the RenderControl for a screen
- const RenderControl *renderControl(int snum);
+ const RenderControl *renderControl(int snum) const;
//! Returns if the display has the xkb extension available
inline bool xkb() const { return _xkb; }