Dragging! & basic proportional box resize frm cursor distance to box pos

Still need to add resize via 'pulling' to stretch the box out from a side or 2 sides diagonally.

Also some general clenaup of code
This commit is contained in:
2024-03-08 03:34:21 -05:00
parent 90478bec94
commit 191d5076ea
15 changed files with 278 additions and 79 deletions

View File

@ -80,6 +80,10 @@ OS_Type :: type_of(ODIN_OS)
// Proc Name Overloads Alias table
// This has to be done on a per-module basis.
add :: proc {
add_range2,
}
cm_to_pixels :: proc {
f32_cm_to_pixels,
vec2_cm_to_pixels,