33 Commits

Author SHA1 Message Date
46a4802ce6 Double buffer the nodes to avoid drawing lag 2024-02-28 22:33:28 +00:00
4ed86611b5 Fix what happens when a noodle gets released 2024-02-27 23:12:59 +00:00
9570f31dc7 Remove unused include 2024-02-25 23:23:16 +00:00
547764764c Switch to using if statements instead of switch in event handling code 2024-02-25 22:42:07 +00:00
29bcfabda9 Move the node drawing code to a function 2024-02-25 21:21:04 +00:00
f03dad33a2 Move noodle correctly when the node it's connected to moves 2024-02-25 21:11:01 +00:00
8078a72deb Add support for maintaining connected noodle when parent node moves 2024-02-25 21:04:10 +00:00
f2faa56e5f Handle ui_noodle return states and start introducing connected nodes 2024-02-25 20:52:44 +00:00
7b7a913c46 Simplify the immediate mode functions and move node
connection logic to the application level
2024-02-25 20:31:11 +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
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
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
f56e6b1bb1 Remove test code 2024-01-24 23:43:06 +00:00
a58a315d48 Update test code 2024-01-24 22:44:20 +00:00
924ed544aa Improve implementation of drawing the noodles 2024-01-21 22:37:09 +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
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
d114cfce99 Create toolbox window 2024-01-15 20:48:36 +00:00
81fbff96b8 Filter events by window ID 2024-01-15 20:18:41 +00:00
dacc3be970 Update code for detecting mouse hovering nodes 2024-01-15 19:12:21 +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
148dec2d3d Enable drop file events 2024-01-14 19:51:33 +00:00
150ada41b2 Start building main compositor application 2024-01-14 19:30:21 +00:00