mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
Start working on a simple Launcher app.
Let GButton have an optional icon (GraphicsBitmap) that gets rendered in the middle of the button if present. Also add GraphicsBitmap::load_from_file() which allows mmap'ed RGBA32 files. I wrote a little program to take "raw" files from GIMP and swizzle them into the correct byte order.
This commit is contained in:
parent
71b9ec1ae0
commit
887b4a7a1a
29 changed files with 293 additions and 11 deletions
|
@ -78,7 +78,7 @@ GWindow* make_font_test_window()
|
|||
GWindow* make_launcher_window()
|
||||
{
|
||||
auto* window = new GWindow;
|
||||
window->set_title("Launcher");
|
||||
window->set_title("guitest2");
|
||||
window->set_rect({ 100, 400, 100, 230 });
|
||||
|
||||
auto* widget = new GWidget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue