diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-23 06:19:13 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-23 06:19:13 +1100 |
commit | 61cefb79a1fb5ccf0be73aff23af5a6e79ad79c4 (patch) | |
tree | 80a4da5755e0f2c9d1ddad5e81ce8e35e82122f5 /source/frontend/StarCharSelection.hpp | |
parent | d0b15c335d9bf8b915e82d230a757671180bf80a (diff) |
remove unusable buttons, make configurable and draggable
[skip ci]
Diffstat (limited to 'source/frontend/StarCharSelection.hpp')
-rw-r--r-- | source/frontend/StarCharSelection.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/frontend/StarCharSelection.hpp b/source/frontend/StarCharSelection.hpp index b4837ca..eb4d906 100644 --- a/source/frontend/StarCharSelection.hpp +++ b/source/frontend/StarCharSelection.hpp @@ -19,6 +19,7 @@ public: bool sendEvent(InputEvent const& event) override; void show() override; void updateCharacterPlates(); + void setReadOnly(bool readOnly); private: void shiftCharacters(int movement); @@ -28,6 +29,7 @@ private: unsigned m_downScroll; String m_search; List<Uuid> m_filteredList; + bool m_readOnly = false; CreateCharCallback m_createCallback; SelectCharacterCallback m_selectCallback; |