mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:45:07 +00:00
LibGUI: Add a couple more Widget registrations
Make it possible to instantiate BreadcrumbBar, ProgressBar and TreeView from GML. :^)
This commit is contained in:
parent
822dc56ef3
commit
48b0f4844b
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <LibGUI/Action.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/BoxLayout.h>
|
||||
#include <LibGUI/BreadcrumbBar.h>
|
||||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/CheckBox.h>
|
||||
#include <LibGUI/ColorInput.h>
|
||||
|
@ -39,6 +40,7 @@
|
|||
#include <LibGUI/Layout.h>
|
||||
#include <LibGUI/Menu.h>
|
||||
#include <LibGUI/Painter.h>
|
||||
#include <LibGUI/ProgressBar.h>
|
||||
#include <LibGUI/RadioButton.h>
|
||||
#include <LibGUI/ScrollBar.h>
|
||||
#include <LibGUI/Slider.h>
|
||||
|
@ -48,6 +50,7 @@
|
|||
#include <LibGUI/TextBox.h>
|
||||
#include <LibGUI/ToolBar.h>
|
||||
#include <LibGUI/ToolBarContainer.h>
|
||||
#include <LibGUI/TreeView.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibGUI/WindowServerConnection.h>
|
||||
|
@ -58,6 +61,7 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
REGISTER_WIDGET(GUI, BreadcrumbBar)
|
||||
REGISTER_WIDGET(GUI, Button)
|
||||
REGISTER_WIDGET(GUI, CheckBox)
|
||||
REGISTER_WIDGET(GUI, ColorInput)
|
||||
|
@ -65,6 +69,7 @@ REGISTER_WIDGET(GUI, Frame)
|
|||
REGISTER_WIDGET(GUI, GroupBox)
|
||||
REGISTER_WIDGET(GUI, HorizontalSplitter)
|
||||
REGISTER_WIDGET(GUI, Label)
|
||||
REGISTER_WIDGET(GUI, ProgressBar)
|
||||
REGISTER_WIDGET(GUI, RadioButton)
|
||||
REGISTER_WIDGET(GUI, ScrollBar)
|
||||
REGISTER_WIDGET(GUI, Slider)
|
||||
|
@ -74,6 +79,7 @@ REGISTER_WIDGET(GUI, TextBox)
|
|||
REGISTER_WIDGET(GUI, TextEditor)
|
||||
REGISTER_WIDGET(GUI, ToolBar)
|
||||
REGISTER_WIDGET(GUI, ToolBarContainer)
|
||||
REGISTER_WIDGET(GUI, TreeView)
|
||||
REGISTER_WIDGET(GUI, Widget)
|
||||
|
||||
static HashMap<String, WidgetClassRegistration*>& widget_classes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue