summaryrefslogtreecommitdiff
path: root/LibGUI/GButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GButton.h')
-rw-r--r--LibGUI/GButton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGUI/GButton.h b/LibGUI/GButton.h
index 7d3e234f9f..78c73c23de 100644
--- a/LibGUI/GButton.h
+++ b/LibGUI/GButton.h
@@ -10,9 +10,9 @@ public:
virtual ~GButton() override;
String caption() const { return m_caption; }
- void setCaption(String&&);
+ void set_caption(String&&);
- Function<void(GButton&)> onClick;
+ Function<void(GButton&)> on_click;
private:
virtual void paintEvent(GPaintEvent&) override;
@@ -22,6 +22,6 @@ private:
virtual const char* class_name() const override { return "GButton"; }
String m_caption;
- bool m_beingPressed { false };
+ bool m_being_pressed { false };
};