diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-21 00:46:08 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-21 00:54:35 +0100 |
commit | d66b0f7dd8a993d465c7f5e84f7f975cb3d9670e (patch) | |
tree | 4055f4eb597ee27d2478b71fd0177d4dddb14b0f /LibGUI/GTextBox.h | |
parent | 6c4f1bad0947e6b9f36af37cda61e57fecd68025 (diff) | |
download | serenity-d66b0f7dd8a993d465c7f5e84f7f975cb3d9670e.zip |
LibGUI: Mass coding style fixes.
Diffstat (limited to 'LibGUI/GTextBox.h')
-rw-r--r-- | LibGUI/GTextBox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LibGUI/GTextBox.h b/LibGUI/GTextBox.h index 779d3b9734..552f66bb57 100644 --- a/LibGUI/GTextBox.h +++ b/LibGUI/GTextBox.h @@ -9,18 +9,18 @@ public: virtual ~GTextBox() override; String text() const { return m_text; } - void setText(String&&); + void set_text(String&&); Function<void(GTextBox&)> onReturnPressed; private: virtual const char* class_name() const override { return "GTextBox"; } - virtual void paintEvent(GPaintEvent&) override; - virtual void mouseDownEvent(GMouseEvent&) override; - virtual void keyDownEvent(GKeyEvent&) override; + virtual void paint_event(GPaintEvent&) override; + virtual void mousedown_event(GMouseEvent&) override; + virtual void keydown_event(GKeyEvent&) override; virtual void timerEvent(GTimerEvent&) override; - void handleBackspace(); + void handle_backspace(); String m_text; unsigned m_cursorPosition { 0 }; |