|
4610561eff
|
Remove code for connecting noodles
|
2024-02-25 13:14:14 +00:00 |
|
|
8501eb787e
|
Support connecting noodle to another node and ensure it
stays connected when parent node moves
|
2024-02-25 12:33:13 +00:00 |
|
|
050bb355d0
|
Reset noodle to default position if not connected to another node
|
2024-02-25 00:46:02 +00:00 |
|
|
a86b025f7d
|
Fix node type typo
|
2024-02-25 00:02:40 +00:00 |
|
|
2d31233a1e
|
Add functionality to draw nodes with user-defined inputs count
|
2024-02-24 23:53:04 +00:00 |
|
|
30986e3c99
|
Update submodules
|
2024-02-24 23:04:55 +00:00 |
|
|
84cdb87a19
|
Update code to use stdlib
|
2024-02-24 20:45:09 +00:00 |
|
|
84873f1e98
|
Replace separate aliases and arena implementations with stdlib submodule
|
2024-02-24 20:44:44 +00:00 |
|
|
10ba3d642d
|
Support drawing a node with connection that can be modified by user
|
2024-02-20 00:18:53 +00:00 |
|
|
d73275f04c
|
Add line_from_origin function
|
2024-01-24 23:43:14 +00:00 |
|
|
f56e6b1bb1
|
Remove test code
|
2024-01-24 23:43:06 +00:00 |
|
|
c70f252349
|
Add absolute, radians and degrees math utilities
|
2024-01-24 23:42:40 +00:00 |
|
|
8275fce9c6
|
Update noodle drawing code
|
2024-01-24 22:44:36 +00:00 |
|
|
a58a315d48
|
Update test code
|
2024-01-24 22:44:20 +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 |
|
|
9f700c070d
|
Update build script to link with math library
|
2024-01-24 22:43:17 +00:00 |
|
|
bdb4a52771
|
Reorganise window functions
|
2024-01-24 22:13:38 +00:00 |
|
|
afd09d7742
|
Remove unused include
|
2024-01-21 22:37:47 +00:00 |
|
|
924ed544aa
|
Improve implementation of drawing the noodles
|
2024-01-21 22:37:09 +00:00 |
|
|
f72497e1b7
|
Use barycentric coordinates instead of half space for triangle fill
|
2024-01-21 22:36:36 +00:00 |
|
|
b329e0feb4
|
Add math utilities
|
2024-01-21 22:36:13 +00:00 |
|
|
53d0a4698f
|
Fix moving behaviour
|
2024-01-21 19:39:25 +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 |
|
|
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 |
|