diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-23 07:52:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-23 07:52:47 +0000 |
commit | 2eb906099dece64705e51f4e79bfef0ac1c54843 (patch) | |
tree | 3e2373375d1f8a6bc47a974dce29717633474692 /krandr/randr.h | |
parent | ec0ac5ba48e15d1df22f3cdd427b773c7e5b6988 (diff) | |
download | tdelibs-2eb906099dece64705e51f4e79bfef0ac1c54843.tar.gz tdelibs-2eb906099dece64705e51f4e79bfef0ac1c54843.zip |
Increase libkrandr functionality
Part 1/2
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1248961 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krandr/randr.h')
-rw-r--r-- | krandr/randr.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/krandr/randr.h b/krandr/randr.h index 591a42f45..8f3d14a33 100644 --- a/krandr/randr.h +++ b/krandr/randr.h @@ -29,6 +29,34 @@ class KTimerDialog; class RandRScreenPrivate; +struct SingleScreenData { + TQString screenFriendlyName; + bool generic_screen_detected; + bool screen_connected; + + TQStringList resolutions; + TQStringList refresh_rates; + TQStringList color_depths; + TQStringList rotations; + + int current_resolution_index; + int current_refresh_rate_index; + int current_color_depth_index; + + int current_rotation_index; + int current_orientation_mask; + bool has_x_flip; + bool has_y_flip; + bool supports_transformations; + + bool is_primary; + bool is_extended; + int absolute_x_position; + int absolute_y_position; + int current_x_pixel_count; + int current_y_pixel_count; +}; + class RandRScreen : public TQObject { Q_OBJECT @@ -63,6 +91,7 @@ public: public slots: bool confirm(); + bool showTestConfigurationDialog(); public: TQString changedMessage() const; @@ -218,6 +247,8 @@ public: void applyProposed(bool confirm = true); + bool showTestConfigurationDialog(); + private: int m_numScreens; int m_currentScreenIndex; |