Commit Graph

27 Commits

Author SHA1 Message Date
2d31233a1e Add functionality to draw nodes with user-defined inputs count 2024-02-24 23:53:04 +00:00
84cdb87a19 Update code to use stdlib 2024-02-24 20:45:09 +00:00
10ba3d642d Support drawing a node with connection that can be modified by user 2024-02-20 00:18:53 +00:00
c70f252349 Add absolute, radians and degrees math utilities 2024-01-24 23:42:40 +00:00
04855478fd Add function to calculate line direction 2024-01-24 22:43:55 +00:00
9139dae379 Add square macro 2024-01-24 22:43:36 +00:00
bdb4a52771 Reorganise window functions 2024-01-24 22:13:38 +00:00
924ed544aa Improve implementation of drawing the noodles 2024-01-21 22:37:09 +00:00
b329e0feb4 Add math utilities 2024-01-21 22:36:13 +00:00
64f0328966 Rename data types and start implementing drawing quads in ui 2024-01-21 03:38:48 +00:00
6df11cfdeb Add quad drawing utilities 2024-01-21 01:20:00 +00:00
fa82203681 Add basic function to fill triangle 2024-01-21 00:19:21 +00:00
63f119c1b2 Refactor UI code into an immediate mode style (#1)
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Reviewed-on: #1
2024-01-20 22:22:17 +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
9806a5c708 Add window position information 2024-01-15 20:48:21 +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
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
63312be847 Add fill_rect function 2024-01-14 22:59:28 +00:00
921bfbf63c Fix include 2024-01-14 19:54:02 +00:00
0f87945e89 Add rectangle drawing utilities 2024-01-14 19:51:18 +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