mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +00:00
LibGUI: Make the "enabled" widget state propagate to child widgets
This simplifies building composite widgets by not having to worry about updating widget subtrees.
This commit is contained in:
parent
677568e3d4
commit
0f0d73d1b5
Notes:
sideshowbarker
2024-07-19 06:53:12 +09:00
Author: https://github.com/awesomekling
Commit: 0f0d73d1b5
3 changed files with 6 additions and 11 deletions
|
@ -44,8 +44,6 @@ public:
|
|||
void set_max(int max) { set_range(min(), max); }
|
||||
void set_range(int min, int max);
|
||||
|
||||
void set_enabled(bool);
|
||||
|
||||
Function<void(int value)> on_change;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue