Commit Graph

4 Commits

Author SHA1 Message Date
Allen Webster afc46f615f text layout space conversions 2019-03-31 23:14:31 -07:00
Casey Muratori bc6fa9d9f2 Clipboard, Process, and Cliprect Changes
- Added clipboard change hook
- Added Process_State query for getting the state of exec_system_command operations, retrieved via Get_Process_State
- Added intersection_of and union_of for i32_Rect and f32_Rect
- Fixed what I believe is a bug in the clipboard number updating in the win32 layer (it didn't used to record the new number correctly)
- Added screen_space_to_view_space for Vec2 and f32_Rect
- Made Draw_String return the ending point, as we decided
- Added Draw_Clip_Push and Draw_Clip_Pop
- Changed the behavior of Render_Push_Clip_Sig to allow input clipping rectangles to be anything, and they are simply intersected with the parent rectangle, rather than asserted to not go outside.
-
2019-03-15 01:38:28 -07:00
Allen Webster 1428fc822f 4coder Jamm 2 2019-02-25 15:42:13 -08:00
Allen Webster 410b90d44c Key event buffer overflow crash fixed; switched draw_string over to Vec2 and returning the distance measured in deltas 2019-02-24 14:54:57 -08:00