mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
Start working on a simple graphical font editor.
Editing fonts by editing text files is really slow and boring. A simple font editor seems like a good way to take LibGUI for a spin.
This commit is contained in:
parent
5e0b7f1a56
commit
6fc3c38324
18 changed files with 390 additions and 19 deletions
|
@ -87,7 +87,7 @@ GWindow* make_font_test_window()
|
|||
{
|
||||
auto* window = new GWindow;
|
||||
window->set_title("Font test");
|
||||
window->set_rect({ 440, 100, 300, 80 });
|
||||
window->set_rect({ 480, 100, 300, 80 });
|
||||
|
||||
auto* widget = new GWidget;
|
||||
window->set_main_widget(widget);
|
||||
|
@ -191,7 +191,7 @@ GWindow* make_clock_window()
|
|||
{
|
||||
auto* window = new GWindow;
|
||||
window->set_title("Clock");
|
||||
window->set_rect({ 200, 200, 100, 40 });
|
||||
window->set_rect({ 900, 700, 100, 40 });
|
||||
|
||||
auto* clock_widget = new ClockWidget;
|
||||
clock_widget->set_relative_rect({ 0, 0, 100, 40 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue