aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-02-15 12:29:19 +0100
committerDavid Robillard <d@drobilla.net>2019-02-15 12:43:29 +0100
commit373b2b784648375064377dfc64a3c83892cf9ade (patch)
tree696862523c46a2020d0ccb6a3e46e0baf75aeb8d /pugl/pugl_internal.h
parent222320e6c93f8dd4b8e5fabab6997e868bddd2ba (diff)
downloadpugl-373b2b784648375064377dfc64a3c83892cf9ade.tar.gz
pugl-373b2b784648375064377dfc64a3c83892cf9ade.tar.bz2
pugl-373b2b784648375064377dfc64a3c83892cf9ade.zip
Separate internal types from functions
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r--pugl/pugl_internal.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h
index 4a3fc0c..c3a342c 100644
--- a/pugl/pugl_internal.h
+++ b/pugl/pugl_internal.h
@@ -31,35 +31,9 @@
#include <stdlib.h>
#include <string.h>
+#include "pugl/pugl_internal_types.h"
#include "pugl/pugl.h"
-typedef struct PuglInternalsImpl PuglInternals;
-
-struct PuglViewImpl {
- PuglHandle handle;
- PuglEventFunc eventFunc;
-
- PuglInternals* impl;
-
- char* windowClass;
- PuglNativeWindow parent;
- PuglContextType ctx_type;
- uintptr_t transient_parent;
-
- int width;
- int height;
- int min_width;
- int min_height;
- int min_aspect_x;
- int min_aspect_y;
- int max_aspect_x;
- int max_aspect_y;
- bool ignoreKeyRepeat;
- bool redisplay;
- bool resizable;
- bool visible;
-};
-
PuglInternals* puglInitInternals(void);
PuglView*