From 089f1d902c1f1c89b5b39fd3cf093313be3ebc7f Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 11 Mar 2024 22:04:49 +0100 Subject: quick save, show output file in title bar --- src/unix/main_unix.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/unix') diff --git a/src/unix/main_unix.cpp b/src/unix/main_unix.cpp index f25111d..9dd9e62 100644 --- a/src/unix/main_unix.cpp +++ b/src/unix/main_unix.cpp @@ -65,6 +65,8 @@ int main(int, char**) if (!glfwInit()) return 1; + ts_init(); + // Decide GL+GLSL versions #if defined(IMGUI_IMPL_OPENGL_ES2) // GL ES 2.0 + GLSL 100 @@ -112,7 +114,6 @@ int main(int, char**) ImGui::Spectrum::StyleColorsSpectrum(); ImGui::Spectrum::LoadFont(18.0f); - ts_init(); ts_load_images(); ts_load_config(); @@ -163,6 +164,10 @@ bool ts_platform_dir_exists(utf8_int8_t* path) { } } +void ts_platform_set_window_title(utf8_int8_t* str) { + // TODO +} + ts_file_content ts_platform_read_file(char *path, const char *mode) { ts_file_content result; result.content = 0; -- cgit v1.2.3-70-g09d2