diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mgl/window/window.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h index cbcdb1a..12a7aef 100644 --- a/include/mgl/window/window.h +++ b/include/mgl/window/window.h @@ -60,6 +60,11 @@ struct mgl_window { int num_monitors; }; +typedef enum { + MGL_WINDOW_TYPE_NORMAL, + MGL_WINDOW_TYPE_DIALOG +} mgl_window_type; + /* TODO: Some of these parameters only apply to new window */ typedef struct { mgl_vec2i position; @@ -71,6 +76,8 @@ typedef struct { bool override_redirect; /* false by default */ bool support_alpha; /* support alpha for the window, false by default */ mgl_color background_color; /* default: black */ + const char *class_name; + mgl_window_type window_type; /* default: normal */ } mgl_window_create_params; typedef enum { |