summaryrefslogtreecommitdiff
path: root/LibGUI/GStatusBar.cpp
AgeCommit message (Collapse)Author
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-30FileManager: Tweak look of thumbnailing progress bar.Andreas Kling
Since it's inside a status bar, it looks a bit better when using a panel shape with sunken shadow.
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-28LibGUI: Add a GFrame class that can be inherited by framey widgets.Andreas Kling
This will gather the code for painting sunken/raised frames etc in a single place and make it easier add a bit of pleasant shading to UI's. :^)
2019-03-10LibGUI: Don't fill widgets with background color by defualt.Andreas Kling
2019-03-04LibGUI: Improve GStatusBar and GToolBar and share some code via GStyle.Andreas Kling
2019-02-28LibGUI: Tweak GStatusBar margins.Andreas Kling
2019-02-28LibGUI: Both GToolBar and GStatusBar should have highlight/shadow.Andreas Kling
2019-02-28LibGUI: Top line on GStatusBar should be a highlight, not a shadow.Andreas Kling
2019-02-28SharedGraphics: Make Painter clipping work with translated clip origin.Andreas Kling
2019-02-12Add a little About app and hook it up to the system menu's "About..." entry.Andreas Kling
Added icons and customizable text alignment to GLabel.
2019-02-10LibGUI: Start adding an automatic widget layout system.Andreas Kling
My needs are really quite simple, so I'm just going to add what I need as I go along. The first thing I needed was a simple box layout with widgets being able to say whether they prefer fixed or fill for both their vertical and horizontal sizes. I also made a simple GStatusBar so FileManager can show how many bytes worth of files are in the current directory.