diff options
Diffstat (limited to 'src/include/main.h')
-rw-r--r-- | src/include/main.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/main.h b/src/include/main.h index 9c1da89..3b4843e 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -398,6 +398,13 @@ struct gl_effect_layer { uint32 Stencil_Renderbuffer; }; +enum gl_shape_renderflags +{ + gl_renderflag_fill = 1 << 0, + gl_renderflag_stroke = 1 << 1, + gl_renderflag_concave = 1 << 2 +}; + struct gl_data { int Type; @@ -415,7 +422,10 @@ struct gl_data struct gl_viewport_data { + ImVec2 ViewportMin; + ImVec2 ViewportMax; ImVec2 ViewportSize; + int ViewportDisplay; int Width; int Height; int BytesPerPixel; @@ -468,6 +478,12 @@ struct project_state bool32 UpdateScreen = 1; // refreshes entire UI; influenced by raw key/mouse input bool32 DebugDisableCache = 1; + bool32 ViewportEnabled = 0; + bool32 SelectionMode = 1; + + uint16 PreviousSelection[MAX_LAYERS]; + uint16 PreviousSelectionCount = 0; + // bad uint32 CachedFrameCount; int32 LastCachedFrame = -10000; |