diff options
author | Ray-V <[email protected]> | 2021-02-11 11:37:04 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-02-11 11:37:04 +0900 |
commit | 0da79dd6ef5eae251828d32568aedb01240590b3 (patch) | |
tree | a41922a2bef3cfc3f112996d35f2fa2ea0ae9a76 /src/DragWidget.h | |
parent | d1fca948cfde3b711652e69e03084908facc9f83 (diff) | |
download | kvkbd-0da79dd6ef5eae251828d32568aedb01240590b3.tar.gz kvkbd-0da79dd6ef5eae251828d32568aedb01240590b3.zip |
Added 'lock on screen' functionality.
Signed-off-by: Ray-V <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/DragWidget.h')
-rw-r--r-- | src/DragWidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DragWidget.h b/src/DragWidget.h index 8519e16..ed311d3 100644 --- a/src/DragWidget.h +++ b/src/DragWidget.h @@ -12,6 +12,9 @@ public: DragWidget(TQWidget *parent=0, const char *name="", WFlags f=0); virtual ~DragWidget(); + void setLocked(bool mode); + const bool isLocked() const; + private: bool drag; @@ -22,6 +25,7 @@ protected: void mouseReleaseEvent ( TQMouseEvent * e ); TQPoint dragP; TQPoint gpress; + bool locked; }; |