mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
LibWeb: Implement <input type=submit> without using LibGUI
Following in the footsteps of <input type=checkbox>, this patch adds LayoutButton which implements a basic push button using LibGfx styling primitives.
This commit is contained in:
@@ -48,6 +48,8 @@ public:
|
||||
|
||||
bool enabled() const;
|
||||
|
||||
void did_click_button(Badge<LayoutButton>);
|
||||
|
||||
private:
|
||||
bool m_checked { false };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user