diff options
Diffstat (limited to 'src/x.h')
-rw-r--r-- | src/x.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -43,7 +43,19 @@ namespace X typedef QMap<RROutput,Output*> OutputMap; int applyChanges(); + void createMode( + unsigned int resX, + unsigned int resY, + unsigned long dotClock, + unsigned int hSyncStart, + unsigned int hSyncEnd, + unsigned int hTotal, + unsigned int vSyncStart, + unsigned int vSyncEnd, + unsigned int vTotal, + QString name); void revertChanges(); + void updateScreenResources(); // Getters inline const Display* display() const {return _display;} @@ -90,7 +102,7 @@ namespace X struct Mode : public XElement { - Mode(XRRModeInfo* = NULL); + Mode(XRRModeInfo* = NULL); // Xlib internal stuff QSize _resolution; |