diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-30 16:05:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-30 16:09:34 +0300 |
commit | e768add9d172d78bd5deb7e98d228fb50bf8e2c5 (patch) | |
tree | 44b9767ce542e3f5649b2f1b14e66dc4e6472941 /src/gui/widgets/guitable.h | |
parent | e469ec3a8b0c41168bcb3c3071c252e196ae78a8 (diff) | |
download | manaplus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.tar.gz manaplus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.tar.bz2 manaplus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.tar.xz manaplus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.zip |
add support for unselectable guitables.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r-- | src/gui/widgets/guitable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index 072563715..d41e5589b 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -158,6 +158,9 @@ public: void requestFocus(); + void setSelectable(bool b) + { mSelectable = b; } + protected: /** Frees all action listeners on inner widgets. */ void uninstallActionListeners(); @@ -194,6 +197,7 @@ private: bool mLinewiseMode; bool mWrappingEnabled; bool mOpaque; + bool mSelectable; }; #endif // GUI_WIDGETS_GUITABLE_H |