Commit Graph
36 Commits
Author SHA1 Message Date
Rob Loach 8e0e80b516 demo: Add node editor example 2024-09-05 11:27:30 -04:00
Peter Schulman 862405f8be Added link between Color and Output nodes in initial state of node editor demo 2023-12-11 19:45:37 +02:00
Peter Schulman 7b637bcc71 Fix blend node out color inverted vs inputs 2023-05-31 13:00:07 +03:00
Peter Schulman de72f94a85 Minor cleanups 2023-05-31 11:39:03 +03:00
Peter Schulman b2c7c1b093 Renamed node_editor_main back to node_editor 2023-05-28 13:03:34 +03:00
Peter Schulman 3f6cd310f5 camelCase -> snake_case, as in the rest of Nuklear 2023-05-28 12:17:21 +03:00
Peter Schulman 151ed01f69 Blend nodes added 2023-05-03 08:52:53 +03:00
Peter Schulman a27fba8cb6 Made float node min/max 0.0/1.0 for simplicity 2023-05-03 08:41:16 +03:00
Peter Schulman 593a51fe8e Bug fix 2023-05-03 08:40:05 +03:00
Peter Schulman fb9d7d6c05 Link buffer reuse / "memory management" 2023-05-02 09:23:05 +03:00
Peter Schulman dc4e3f1cf4 Clean up warnings + C89 compliance 2023-05-02 08:33:58 +03:00
Peter Schulman 9e9310c53b node_editor_delete_link + C89 compliance 2023-05-02 08:33:35 +03:00
Peter Schulman e6a82fe454 Node deletion 2023-04-26 12:17:59 +03:00
Peter Schulman 4c8c3e3fa0 Comment clean up + add node_editor_eval_connected & node_output_get 2023-04-26 12:16:59 +03:00
Peter Schulman f165244c8e Node eval functions 2023-04-19 19:38:58 +03:00
Peter Schulman 5f1e3efd29 Float and Output nodes, all mallocs into node_editor_add 2023-04-17 15:01:47 +03:00
Peter Schulman 86388491af Color node creation and display, base Node now generic 2023-04-17 09:07:48 +03:00
Peter Schulman f4369efc1a Color coded slots + only allow link to same type 2023-04-14 09:28:31 +03:00
Peter Schulman e9e391ee32 Node connector positioning 2023-04-14 06:47:48 +03:00
Peter Schulman 52eff509b2 Color node creation added 2023-04-13 07:02:29 +03:00
Peter Schulman ea9bfef2b5 Drawing of node as a separate function 2023-04-12 12:49:17 +03:00
Peter Schulman da00363fb1 Detachable/movable links 2023-04-12 09:29:16 +03:00
Peter Schulman 3d2e410d78 Allow only one input per input slot 2023-04-11 09:23:53 +03:00
Peter Schulman da7cf400c3 Node links now take node pointers instead of IDs 2023-04-11 06:41:29 +03:00
Peter Schulman 5abe124c5c Added node_connector struct 2023-03-31 11:12:56 +03:00
Peter Schulman 608982952c Renamed some things + added comments 2023-03-31 11:05:24 +03:00
Rob Loach c9d3a3fd20 file_browser: Bring string.h to the top 2022-04-15 17:20:20 -04:00
crazyBaboon f58114e45e file_browser.c - remove #include <string.h>
It is no longer necessary, since string comparison is now carried out by Nuklear API.
2022-04-13 22:44:14 +01:00
crazyBaboon e5100bcef6 Ignore case when sorting strings alphabetically 2022-04-13 01:07:41 +01:00
crazyBaboon e3cec3b6b1 Forgot to include <string.h> 2022-04-03 15:53:49 +01:00
crazyBaboon 0163faffed file_browser.c - Display files and folders by alphabetical order 2022-04-03 12:40:14 +01:00
crazyBaboon 8f2ccedfa4 Change dialog action from "Save" to "Open"
This is because there is yet no text box for the user to write the file name.
2022-03-29 21:00:45 +01:00
crazyBaboon 8377f9147a Use local static variable instead of global 2022-03-26 19:34:40 +00:00
crazyBaboon a1df0c4f57 Further improve file_browser.c
-Adds visible boundary to file icon box;
-Adds a 'cancel' button that closes the file dialog;
-Adds a 'save' button that should be used for the save() routine defined by the user;
2022-03-26 18:28:49 +00:00
crazyBaboon ec14ad2a30 Better Display file icons in the filebrowser
Icons are now displayed in a "Compact list view" rather than a "icon view"
2022-03-19 22:17:33 +00:00
crazyBaboon f0dccaeeec Integrate file browser with glfw opengl2 demo (#400) and restructure demo/ directory accordingly 2022-03-14 20:46:44 +01:00