summaryrefslogtreecommitdiff
path: root/src/include/main.h
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-02-27 19:42:48 -0500
committerFox Caminiti <fox@foxcam.net>2023-02-27 19:42:48 -0500
commitd0410bddcd7ea43c51b6bf2442a99e58710e70eb (patch)
treea18aa18266537126d05409b7bd1d37c5cbe268fb /src/include/main.h
parentf20410406d863eea35894d00cd3ca5228d403743 (diff)
four duplicate layer types!
Diffstat (limited to 'src/include/main.h')
-rw-r--r--src/include/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/main.h b/src/include/main.h
index 68df39d..8debbb0 100644
--- a/src/include/main.h
+++ b/src/include/main.h
@@ -480,6 +480,12 @@ enum imgui_popups
popup_keybinds
};
+enum option_sortflag
+{
+ sortflag_up = 1 << 0,
+ sortflag_furthest = 1 << 1
+};
+
struct project_state
{
bool32 UpdateKeyframes = 0;
@@ -488,6 +494,7 @@ struct project_state
bool32 DebugDisableCache = 1;
// TODO(fox): Group inconsequential state UI into one thing?
+ bool32 DuplicateMode = sortflag_furthest | sortflag_up;
bool32 ShapeMode = 0;
bool32 ViewportEnabled = 0;
bool32 SelectionMode = 1;