1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:27:34 +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:
thankyouverycool 2021-02-27 08:23:42 -05:00 committed by Andreas Kling
parent 24120d9dca
commit d8fa479d05
7 changed files with 11 additions and 157 deletions

View file

@ -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 };