Age | Commit message (Collapse) | Author |
|
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.
|
|
Since it's inside a status bar, it looks a bit better when using a panel
shape with sunken shadow.
|
|
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.
|
|
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. :^)
|
|
I want to paint some buttons in WindowServer where we don't have LibGUI.
|
|
This gets rid of the last little piece of LibGUI knowledge in Painter.
|
|
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. :^)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Added icons and customizable text alignment to GLabel.
|
|
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.
|