Browse Source

onEnter support

pull/2/head
Odilitime 5 years ago
parent
commit
c0cb00311e
  1. 1
      src/graphics/components/InputComponent.h

1
src/graphics/components/InputComponent.h

@ -19,6 +19,7 @@ public: @@ -19,6 +19,7 @@ public:
void updateText();
std::string value="";
TextComponent *userInputText = nullptr;
std::function<void(std::string value)> onEnter = nullptr;
};
#endif

Loading…
Cancel
Save