1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +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

@ -33,7 +33,6 @@
namespace GUI {
class ComboBoxEditor;
class ControlBoxButton;
class ComboBox : public Frame {
C_OBJECT(ComboBox);
@ -74,7 +73,7 @@ private:
void navigate_relative(int);
RefPtr<ComboBoxEditor> m_editor;
RefPtr<ControlBoxButton> m_open_button;
RefPtr<Button> m_open_button;
RefPtr<Window> m_list_window;
RefPtr<ListView> m_list_view;
Optional<ModelIndex> m_selected_index;