summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/all.h2
-rw-r--r--src/include/main.h7
2 files changed, 8 insertions, 1 deletions
diff --git a/src/include/all.h b/src/include/all.h
index 603ba1d..8182b26 100644
--- a/src/include/all.h
+++ b/src/include/all.h
@@ -136,7 +136,7 @@ Property_IsGraphSelected(memory *Memory, uint16 *Block_Bezier_Index, uint16 *Arr
static void
Project_Layer_Duplicate(project_data *File, project_state *State, memory *Memory,
- sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, v2 Offset, bool32 FakeOnly, bool32 NewPrecomp);
+ sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, v2 Offset, bool32 NewPrecomp);
static void
Project_ShapeLayer_New(project_data *File, project_state *State, memory *Memory);
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;