summaryrefslogtreecommitdiff
path: root/src/include/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/main.h')
-rw-r--r--src/include/main.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/main.h b/src/include/main.h
index a39fe45..db384ce 100644
--- a/src/include/main.h
+++ b/src/include/main.h
@@ -183,11 +183,14 @@ struct sorted_file
uint64 Source_SortSize;
};
+
struct shape_options {
int Visibility;
v4 FillCol = {1, 1, 1, 1};
- v4 StrokeCol = {1, 1, 1, 1};
- float StrokeWidth = 50;
+ v4 StrokeCol = {0, 1, 0, 1};
+ float StrokeWidth = 10;
+ nvg_line_cap LineJoinType = NVG_ROUND;
+ nvg_line_cap LineCapType = NVG_ROUND;
};
struct shape_layer {
@@ -196,6 +199,8 @@ struct shape_layer {
uint16 Point_Count;
bool32 IsClosed;
bool32 Contiguous = 1; // No points have been deleted/added, so sorting isn't needed.
+ // NOTE(fox): This is kinda lazily done atm, there may be situations where
+ // this isn't the correct value.
int Width;
int Height;
shape_options Opt;