summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-11 22:04:49 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-11 22:04:49 +0100
commit089f1d902c1f1c89b5b39fd3cf093313be3ebc7f (patch)
treea0c9422d3b2c63416a22d712bc4784d1336c0bc9 /src/unix
parent8808c195069e4dcf44218ebf7ca481a4c695fb12 (diff)
quick save, show output file in title bar
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/main_unix.cpp7
1 files changed, 6 insertions, 1 deletions
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;