Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarCharSelection.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarCharSelection.hpp')
-rw-r--r--source/frontend/StarCharSelection.hpp2
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;