mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
LibGUI: Remove ControlBoxButton widget
ComboBoxes and SpinBoxes were still relying on ascii-to-bitmap icons instead of PNGs. This makes it easier to theme in the future.
This commit is contained in:
parent
24120d9dca
commit
d8fa479d05
Notes:
sideshowbarker
2024-07-18 21:52:38 +09:00
Author: https://github.com/thankyouverycool
Commit: d8fa479d05
Pull-request: https://github.com/SerenityOS/serenity/pull/5546
7 changed files with 11 additions and 157 deletions
|
@ -30,8 +30,6 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
class ControlBoxButton;
|
||||
|
||||
class SpinBox : public Widget {
|
||||
C_OBJECT(SpinBox)
|
||||
public:
|
||||
|
@ -56,8 +54,8 @@ protected:
|
|||
|
||||
private:
|
||||
RefPtr<TextEditor> m_editor;
|
||||
RefPtr<ControlBoxButton> m_increment_button;
|
||||
RefPtr<ControlBoxButton> m_decrement_button;
|
||||
RefPtr<Button> m_increment_button;
|
||||
RefPtr<Button> m_decrement_button;
|
||||
|
||||
int m_min { 0 };
|
||||
int m_max { 100 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue