diff options
Diffstat (limited to 'src/include/main.h')
-rw-r--r-- | src/include/main.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/main.h b/src/include/main.h index 8590904..a39fe45 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -187,7 +187,7 @@ struct shape_options { int Visibility; v4 FillCol = {1, 1, 1, 1}; v4 StrokeCol = {1, 1, 1, 1}; - float StrokeWidth; + float StrokeWidth = 50; }; struct shape_layer { @@ -195,6 +195,7 @@ struct shape_layer { uint16 Block_Bezier_Count; uint16 Point_Count; bool32 IsClosed; + bool32 Contiguous = 1; // No points have been deleted/added, so sorting isn't needed. int Width; int Height; shape_options Opt; @@ -207,7 +208,6 @@ enum timeline_mode }; struct pen_state { - shape_options Opt; }; struct brush_state @@ -378,7 +378,6 @@ struct project_state int32 PreviewSource = -1; hotkey_input HotkeyInput; - real32 HotkeyExtra[4]; // bloat? void *Dump1; void *Dump2; @@ -443,7 +442,7 @@ struct project_state focused_window FocusedWindow; // Convenience for adding window-specific hotkeys. bool32 SetFocus; - v2 TempZoomRatio = V2(1, 1); + v2 LastClickedPoint = V2(1, 1); }; // UI info that's saved to the file and is not part of the history tree @@ -468,6 +467,8 @@ struct ui bool32 StableEnabled = 0; #endif + shape_layer Shape; + ImU32 LayerColors[16] = { 0xff8b1f1f, 0xffc25909, |