diff options
author | Michele Calgaro <[email protected]> | 2021-02-11 12:15:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-02-11 12:15:48 +0900 |
commit | b53e33352c2b7de5521b0944b30a0b12afa2f97e (patch) | |
tree | 8a96ad0907b4d5f4f7eb29cf4af8128c68f4d091 /src/DragWidget.h | |
parent | 0da79dd6ef5eae251828d32568aedb01240590b3 (diff) | |
download | kvkbd-b53e33352c2b7de5521b0944b30a0b12afa2f97e.tar.gz kvkbd-b53e33352c2b7de5521b0944b30a0b12afa2f97e.zip |
Simplified code from previous commit and fixed 'lock on screen' functionality after restoring the keyboard from a previous run.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/DragWidget.h')
-rw-r--r-- | src/DragWidget.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/DragWidget.h b/src/DragWidget.h index ed311d3..0b2e988 100644 --- a/src/DragWidget.h +++ b/src/DragWidget.h @@ -12,11 +12,7 @@ public: DragWidget(TQWidget *parent=0, const char *name="", WFlags f=0); virtual ~DragWidget(); - void setLocked(bool mode); - const bool isLocked() const; - private: - bool drag; protected: @@ -26,7 +22,6 @@ protected: TQPoint dragP; TQPoint gpress; bool locked; - }; #endif |