mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 06:18:59 +00: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:
parent
94c55d9e37
commit
cd5570670c
Notes:
sideshowbarker
2024-07-19 02:43:17 +09:00
Author: https://github.com/awesomekling
Commit: cd5570670c
7 changed files with 220 additions and 40 deletions
|
@ -48,6 +48,8 @@ public:
|
|||
|
||||
bool enabled() const;
|
||||
|
||||
void did_click_button(Badge<LayoutButton>);
|
||||
|
||||
private:
|
||||
bool m_checked { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue