diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-02-07 00:21:06 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-02-07 00:21:06 -0500 |
commit | ee654e9217487f6fca12356ec8af82319c309592 (patch) | |
tree | 7b87b83ed9087b73b733555243a66d3d0c93e900 /src/include/all.h | |
parent | e2e0e630ca51a4fd80a8186c5795c96693a2815b (diff) |
good changes
Diffstat (limited to 'src/include/all.h')
-rw-r--r-- | src/include/all.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/include/all.h b/src/include/all.h index 7d7557a..82731ff 100644 --- a/src/include/all.h +++ b/src/include/all.h @@ -1,3 +1,9 @@ + +static int32 +LayerIterate_TestSelection(project_state *State, memory *Memory, uint32 PrincipalIndex, layer_transforms ExtraT, v2 Center, + sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, bool32 BelowOnly); + + // TODO(fox);: Incorporate sorting for non-continuous shapes. static uint32 Bezier_Shape_Sort(memory *Memory, shape_layer *Shape, bezier_point *PointData, @@ -353,13 +359,13 @@ Layer_GetDimensions(memory *Memory, block_layer *Layer, int *Width, int *Height) static v2 Layer_TraverseForPoint(project_data *File, project_state *State, memory *Memory, v2 PrincipalCompUV, sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, uint16 LayerIndex); -// TODO(fox);: Precomps? -static int32 -Layer_TestSelection(memory *Memory, project_state *State, ui *UI, sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, uint16 PrincipalIndex, bool32 BelowOnly); - static bool32 Shape_TestBoxSelect(v2 Min, v2 Max, bezier_point *BezierPointData, uint32 BezierCount); +static int32 +LayerIterate_TestSelection(project_state *State, memory *Memory, uint32 PrincipalIndex, layer_transforms ExtraT, v2 Center, + sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, bool32 BelowOnly); + static bool32 Transform_TestBox(block_layer *Layer, uint32 Width, uint32 Height, v2 Min, v2 Max); @@ -601,7 +607,7 @@ static void CopyStrings(void *Dest, void *Data); static uint16 -String_AddToFile(memory *Memory, char *Char); +String_AddToFile(memory *Memory, char *Char, bool32 NoUndo = 1); static bool32 String_Compare(char *String1, char *String2, uint32 Length); |