Andreas Kling
3ee5694e97
LibGUI: Simplify ComboBox/TextEditor relationship a bit
...
Instead of TextEditor knowing about the ComboBox button on the right
hand side, we now make ComboBox inherit from GUI::Frame, and make the
inner text editor widget frameless.
This allows us to place the button ourselves inside ComboBox without
any frame artifacts, and TextEditor no longer needs to keep track of
the geometry of that button.
2020-12-13 11:49:18 +01:00
Andreas Kling
8055813ecf
LibGUI: Add ComboBox::selected_index()
...
This returns the currently selected index. It was a bit strange that
we had set_selected_index() but not a way to read it back. :^)
2020-08-21 21:16:13 +02:00
thankyouverycool
c90fe7ce93
LibGUI: Use ControlBoxButtons in SpinBox and ComboBox
...
Converts the buttons of these widgets into ControlBoxButtons.
2020-07-20 21:03:48 +02:00
Andreas Kling
e064999e0d
LibGUI: Allow scrolling through a ComboBox with the mouse wheel
2020-05-12 15:11:06 +02:00
Hüseyin ASLITÜRK
7194b4823e
LibGUI: ComboBox, add "set_selected_index" method
...
Easy way to set selected item.
2020-03-29 19:36:37 +02:00
Andreas Kling
c5d913970a
LibGUI: Remove parent parameter to GUI::Widget constructor
2020-02-23 12:27:53 +01:00
Andreas Kling
00bf68adc6
LibGUI: Reduce header dependencies of ComboBox
2020-02-23 11:10:52 +01:00
Andreas Kling
2143da6434
LibGUI: Add forwarding header
...
This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
2020-02-16 09:41:56 +01:00
Andreas Kling
6a9cc66b97
LibGUI: Remove leading G from filenames
2020-02-06 20:33:02 +01:00