Commit Graph

44 Commits

Author SHA1 Message Date
93b79aa643 Add rect and colours to node struct 2024-01-20 22:17:54 +00:00
79b6bc35f0 Delete nodes.c 2024-01-20 22:17:39 +00:00
10149fbdbf Remove predefined colours and allow user to pass colour as param 2024-01-20 22:17:13 +00:00
f45fb04dff Remove testing code 2024-01-17 23:41:25 +00:00
aac10f24d1 Only handle events from the active window 2024-01-17 23:40:02 +00:00
718e7eec21 Initialise UI context 2024-01-17 23:28:53 +00:00
c5b263e948 Finish implementing node element and add init_ui_ctx function 2024-01-17 23:28:31 +00:00
fb1af03308 Start testing adding an immediate-mode node element 2024-01-17 22:37:27 +00:00
353409a5bf Start refactoring the UI code into an immediate mode style 2024-01-16 23:12:09 +00:00
60d236c080 Focus window on mouse enter 2024-01-15 23:44:38 +00:00
571e734ebe Add op node when clicked and connect to proper function 2024-01-15 23:35:44 +00:00
680f1ec380 Ensure position of last clicked mouse is stored on every click 2024-01-15 23:29:13 +00:00
f541e3afc3 Fix button clicking logic 2024-01-15 23:27:41 +00:00
0ac799cec8 Add initial toolbox support 2024-01-15 22:38:58 +00:00
9d438d7347 Add basic comp ops implementations 2024-01-15 22:38:30 +00:00
6d7de03ae8 Add drawing buttons 2024-01-15 22:36:46 +00:00
f7449d8014 Remove aabb from the nodes module 2024-01-15 22:36:25 +00:00
c831fd23f7 Extract collision detection into a ui module 2024-01-15 22:35:31 +00:00
d114cfce99 Create toolbox window 2024-01-15 20:48:36 +00:00
9806a5c708 Add window position information 2024-01-15 20:48:21 +00:00
81fbff96b8 Filter events by window ID 2024-01-15 20:18:41 +00:00
10ff46cfe4 Update node_t struct definition 2024-01-15 20:03:55 +00:00
fc0e3524fe Add window ID 2024-01-15 20:03:25 +00:00
dacc3be970 Update code for detecting mouse hovering nodes 2024-01-15 19:12:21 +00:00
fd6e237647 Modify node border colours 2024-01-15 19:12:06 +00:00
c397bcd17d Isolate the node drawing code into separate files 2024-01-15 00:00:00 +00:00
95d9f5e5cf Reformat 2024-01-14 23:52:48 +00:00
fe8ff990c6 Add initial node drawing 2024-01-14 23:51:56 +00:00
63312be847 Add fill_rect function 2024-01-14 22:59:28 +00:00
921bfbf63c Fix include 2024-01-14 19:54:02 +00:00
148dec2d3d Enable drop file events 2024-01-14 19:51:33 +00:00
0f87945e89 Add rectangle drawing utilities 2024-01-14 19:51:18 +00:00
02e4326f4c Update README.md 2024-01-14 19:51:03 +00:00
dc5d252c90 Update entry point 2024-01-14 19:30:42 +00:00
150ada41b2 Start building main compositor application 2024-01-14 19:30:21 +00:00
ea3aceeaf8 Add window utilities 2024-01-14 19:30:04 +00:00
04a666e3b5 Update build scripts 2024-01-14 19:29:41 +00:00
82b8f88897 Add aliases submodule 2024-01-14 19:29:06 +00:00
8ad090b582 Reorganise the repo 2024-01-14 16:51:54 +00:00
0ed130b659 Add basic build scripts 2024-01-14 16:50:15 +00:00
99c6dbeecf Fix minor bug 2024-01-07 22:09:54 +00:00
41f12d2a98 Modified README 2023-01-28 22:44:58 +00:00
8c27f2b770 Added README 2023-01-28 22:44:07 +00:00
883773d07c INITIAL COMMIT 2023-01-28 22:42:25 +00:00