mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
LibGUI: Make GCheckBox inherit from GAbstractButton.
This commit is contained in:
parent
21c56477b0
commit
677794f30d
Notes:
sideshowbarker
2024-07-19 13:58:21 +09:00
Author: https://github.com/awesomekling
Commit: 677794f30d
9 changed files with 25 additions and 97 deletions
|
@ -161,7 +161,7 @@ void VBWidget::setup_properties()
|
|||
}
|
||||
|
||||
if (m_type == VBWidgetType::GCheckBox) {
|
||||
VB_ADD_PROPERTY(GCheckBox, "caption", caption, set_caption, string);
|
||||
VB_ADD_PROPERTY(GCheckBox, "caption", text, set_text, string);
|
||||
VB_ADD_PROPERTY(GCheckBox, "checked", is_checked, set_checked, bool);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue