From 07a64ffd954b4273bd6afc7fa03b284c3dced640 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 5 Nov 2024 00:17:03 +0100 Subject: Add replay ram usage estimation --- include/gui/Entry.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gui/Entry.hpp') diff --git a/include/gui/Entry.hpp b/include/gui/Entry.hpp index b8ff37a..449a87c 100644 --- a/include/gui/Entry.hpp +++ b/include/gui/Entry.hpp @@ -26,6 +26,8 @@ namespace gsr { // Return false to specify that the string should not be accepted. This reverts the string back to its previous value. // The input can be changed by changing the input parameter and returning true. EntryValidateHandler validate_handler; + + std::function on_changed; private: mgl::Text text; float max_width; -- cgit v1.2.3