mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
double click support
This commit is contained in:
parent
b6f2456a82
commit
a678eddb77
7 changed files with 102 additions and 10 deletions
|
|
@ -47,6 +47,7 @@ namespace gui {
|
|||
bool eraseSelected();
|
||||
void resetSelection();
|
||||
void extendSelection(int index);
|
||||
void tokenSelectAt(int index);
|
||||
size_t getLineLength(uint line) const;
|
||||
|
||||
/// @brief Get total length of the selection
|
||||
|
|
@ -141,6 +142,7 @@ namespace gui {
|
|||
|
||||
virtual void onFocus(GUI*) override;
|
||||
virtual void refresh() override;
|
||||
virtual void doubleClick(GUI*, int x, int y) override;
|
||||
virtual void click(GUI*, int, int) override;
|
||||
virtual void mouseMove(GUI*, int x, int y) override;
|
||||
virtual bool isFocuskeeper() const override {return true;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue