summaryrefslogtreecommitdiff
path: root/LibGUI/GToolBar.cpp
AgeCommit message (Collapse)Author
2019-04-12LibGUI+WindowServer: Add support for enabled/disabled actions.Andreas Kling
The enabled state of a GAction now propagates both to any toolbar buttons and any menu items linked to the action. Toolbar buttons are painted in a grayed out style when disabled. Menu items are gray when disabled. :^)
2019-04-08LibGUI+WindowServer: Add support for GWidget tooltips.Andreas Kling
Any GWidget can have a tooltip and it will automatically pop up below the center of the widget when hovered. GActions added to GToolBars will use the action text() as their tooltip automagically. :^)
2019-04-03AK: Add Eternal<T> and use it in various places.Andreas Kling
This is useful for static locals that never need to be destroyed: Thing& Thing::the() { static Eternal<Thing> the; return the; } The object will be allocated in data segment memory and will never have its destructor invoked.
2019-03-29Rename Painter::set_clip_rect() to add_clip_rect().Andreas Kling
It was confusing to see multiple calls to set_foo() in a row. Since this is an intersecting operation, let's call it add_clip_rect() instead.
2019-03-29LibGUI: Don't draw left and right side of surfaces that span entire window.Andreas Kling
In other words, if a surface stretches from the left side of the window all the way to the right side, skip shading and highlighting the sides. This makes widgets blend together just slightly with the window. :^)
2019-03-28Move LibGUI/GStyle to SharedGraphics/StylePainter.Andreas Kling
I want to paint some buttons in WindowServer where we don't have LibGUI.
2019-03-28LibGUI: Add a GPainter class that inherits from Painter.Andreas Kling
This gets rid of the last little piece of LibGUI knowledge in Painter.
2019-03-27Tweak the look of various UI surfaces and buttons.Andreas Kling
2019-03-15IRCClient: Add a toolbar with some actions.Andreas Kling
2019-03-10LibGUI: Don't fill widgets with background color by defualt.Andreas Kling
2019-03-07LibGUI: Implement GToolbar separators.Andreas Kling
2019-03-04LibGUI: Improve GStatusBar and GToolBar and share some code via GStyle.Andreas Kling
2019-03-03FileManager+LibGUI: Add a simple location textbox.Andreas Kling
The widget layout here is a bit off and needs work.
2019-02-28LibGUI: Both GToolBar and GStatusBar should have highlight/shadow.Andreas Kling
2019-02-26LibGUI: Make toolbars a bit bigger by default.Andreas Kling
2019-02-25AK: Add Retained<T>, like RetainPtr, but never null.Andreas Kling
Also use some Clang attribute wizardry to get a warning for use-after-move.
2019-02-20LibGUI: Pack toolbar buttons closer together.Andreas Kling
2019-02-20LibGUI: Support different button styles.Andreas Kling
I want to try an MS Office 97 "CoolBar" inspired look for my toolbars. This is only the painting support, we still need hover events to implement the actual effect.
2019-02-20LibGUI: Improve GBoxLayout so it can better support GToolBar.Andreas Kling
Added spacing and margin concepts to GLayout. Support layout a sequence of nothing but fixed-size objects in the desired orientation. :^)
2019-02-20LibGUI: Add a GToolBar class that can be populated with GActions.Andreas Kling
The same action can be added to both a menu and a toolbar. Use this to put a toolbar into FileManager. This is pretty neat. :^)