diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 10:23:23 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 10:23:23 +0100 |
| commit | 8bdab613289e2626173de8bff31e7078dd03a16e (patch) | |
| tree | 699eca9f0f0af00b1d337a372b5aefedb115ddf9 /src/main_linux.cpp | |
| parent | 6555d97f2eaf5b3829543624f6b0a3394715c71b (diff) | |
setup window work
Diffstat (limited to 'src/main_linux.cpp')
| -rw-r--r-- | src/main_linux.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main_linux.cpp b/src/main_linux.cpp index a7619b0..9e91f7c 100644 --- a/src/main_linux.cpp +++ b/src/main_linux.cpp @@ -63,8 +63,8 @@ static void _create_window(bool is_setup_window) if (is_setup_window) { glfwWindowHint(GLFW_RESIZABLE, false); - windowWidth = (int)(500 * main_scale); - windowHeight = (int)(400 * main_scale); + windowWidth = (int)(300 * main_scale); + windowHeight = (int)(300 * main_scale); } else { glfwWindowHint(GLFW_RESIZABLE, true); @@ -111,6 +111,7 @@ static void _create_window(bool is_setup_window) ui::fontBold = io.Fonts->AddFontFromFileTTF("/home/aldrik/Projects/open-books/build/Roboto-Bold.ttf", 0); ui::fontBig = io.Fonts->AddFontFromFileTTF("/home/aldrik/Projects/open-books/build/Roboto-Bold.ttf", 30); + ui::fontSmall = io.Fonts->AddFontFromFileTTF("/home/aldrik/Projects/open-books/build/Roboto-Regular.ttf", 12); io.Fonts->Build(); } |
