summaryrefslogtreecommitdiff
path: root/src/platform.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-05-11 17:28:50 +0200
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-05-11 17:28:50 +0200
commitd4dbb9333666a2a0c752ecee49b4f70b8e4c1371 (patch)
treea2103f9731c14584d542df076553ebb623f7aafe /src/platform.h
parent5392f970f970ba0d5f4642b11935e61653086aae (diff)
work
Diffstat (limited to 'src/platform.h')
-rw-r--r--src/platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h
index 14118d2..f7ff050 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -168,6 +168,7 @@ typedef enum t_window_flags
FLAGS_TOPMOST = 2,
FLAGS_GLOBAL_MOUSE = 4,
FLAGS_HIDDEN = 8,
+ FLAGS_NO_TASKBAR = 16,
} window_flags;
// NOT IMPLEMENTED ON LINUX: USE FLAGS_NONE
@@ -179,6 +180,8 @@ bool platform_window_is_valid(platform_window *window);
#define platform_open_window(name, width, height, max_w, max_h, min_w, min_h) platform_open_window_ex(name,width,height,max_w,max_h,min_w,min_h, 0)
platform_window platform_open_window_ex(char *name, u16 width, u16 height, u16 max_w, u16 max_h, u16 min_w, u16 min_h, s32 flags);
void platform_get_focus(platform_window *window);
+void platform_show_window(platform_window *window);
+void platform_hide_window(platform_window *window);
bool platform_set_clipboard(platform_window *window, char *buffer);
bool platform_get_clipboard(platform_window *window, char *buffer);
void platform_window_set_size(platform_window *window, u16 width, u16 height);