138 Commits

Author SHA1 Message Date
Sebastian c7e76ae7ac Tidied up main 2024-11-30 03:01:26 +01:00
Sebastian fcc5d74e18 Node interactions working again, graph editing functions not complete yet 2024-11-30 02:54:40 +01:00
Sebastian 635c94e3cf On the road to connector -> connector with edges... 2024-11-28 08:49:35 +01:00
Sebastian 492971ed4f Dragging and selecting works. Copy / Paste does not copy connectors yet. 2024-11-28 01:08:04 +01:00
Sebastian 813958002b Drag selection and snap to grid ok. Deselect not working though... 2024-11-26 01:58:09 +01:00
Sebastian 9c0aac8618 Dragging and selecting works. Dragging the selection not yet. 2024-11-25 00:53:10 +01:00
Sebastian f04838bffa Super simple events added. Seems to be a good way for handling interaction. Modified a few base classes. 2024-11-24 03:08:06 +01:00
Sebastian 62a5c53969 Mini commit 2024-11-23 00:54:31 +01:00
Sebastian b12f1d0f9d Might be a better way to handle hovering, dragging and mouse interaction in general 2024-11-22 00:24:31 +01:00
Sebastian a6b6ff1d16 Introduction of mouse.h for z-index mouse events 2024-11-21 23:58:35 +01:00
Sebastian bfc14d5f6e copy/paste partially. z-index experiments, but not working yet. 2024-11-21 02:03:32 +01:00
Sebastian df91a1b107 Back to work! 2024-11-20 11:13:13 +01:00
Sebastian 5779c93339 Clipboard introduced, but not incorporated yet. Some defines for convenience and better readability. 2024-11-19 01:04:06 +01:00
Sebastian 22842f9deb Drag selection working again - not much progress 2024-11-18 01:57:10 +01:00
Sebastian e9633ff19d Some progress on selecting, hovering but still buggy and not a good design really. 2024-11-17 02:40:31 +01:00
Sebastian 55926a5021 Selection working partially. Needs global z-index hovering to work reliably. 2024-11-16 00:29:01 +01:00
Sebastian 96526f709a preparing for node->connector->edge->connector->node 2024-11-15 02:09:06 +01:00
Sebastian 9cccbab703 refactored from main to canvas.h - basic functionality working 2024-11-15 01:49:10 +01:00
Sebastian ab34081dbb raw_mouse changed to screen_mouse 2024-11-14 23:21:04 +01:00
Sebastian 2e103dc561 global mouse moved to state and removed some GetMousePosition()s. 2024-11-14 01:37:16 +01:00
Sebastian 5d3b72d4ef Major refactoring: State, mouse and more... 2024-11-14 00:55:09 +01:00
Sebastian 300001d385 Global snap to grid. 2024-11-13 15:35:39 +01:00
Sebastian e6f370ba4f Connectables working now. On to more refactoring! 2024-11-13 14:39:46 +01:00
Sebastian 1e0a131169 connecting works, but position is off. addConnector is the problem 2024-11-13 01:58:44 +01:00
Sebastian 96082e1190 connecting does weird things! 2024-11-12 01:42:05 +01:00
Sebastian 31a1a264d4 little progress on the connector idea 2024-11-11 02:11:54 +01:00
Sebastian 4f48aa2d5a dragging works. introducing connectors maybe 2024-11-10 01:56:33 +01:00
Sebastian 71dc08d21f interactable base class 2024-11-09 23:56:40 +01:00
Sebastian cdc0fb7075 working on node ui 2024-11-08 01:43:06 +01:00
Sebastian 529106e815 introduction of config nodes 2024-11-07 00:56:33 +01:00
Sebastian 96a19d55ef signal ui is next! 2024-11-07 00:01:54 +01:00
Sebastian e519b7c758 scale groups of nodes is so cool! 2024-11-06 15:35:25 +01:00
Sebastian 95620a5f07 two node snap for triangles 2024-11-06 02:28:37 +01:00
Sebastian @ HfG 9878b7b2a4 alsa lib removed 2024-11-05 17:44:12 +01:00
Sebastian 4a346350f4 static id fixed 2024-11-05 00:51:25 +01:00
Sebastian @ HfG dc7eae1931 changed the name! 2024-11-04 19:28:12 +01:00
Sebastian 0c797807dd id is not set correctly, fix needed 2024-11-04 09:53:08 +01:00
Sebastian 374efbe47c state save/load working! signal pause/play button added, and speed control is now better. 2024-11-04 01:00:59 +01:00
Sebastian bfd8bb192e partial reload from json working, but edges make problems 2024-11-03 15:15:42 +01:00
Sebastian 7bdd68bdcc json is loading, but does nothing yet 2024-11-03 03:48:49 +01:00
Sebastian a4ea20b2b3 still in the middle of json export, last attempt did not work 2024-11-02 23:12:38 +01:00
Sebastian 522e9d456a json serialization beginnings, but still much to do 2024-11-02 15:52:16 +01:00
Sebastian 70d0a186a4 split edge: check, copy paste: check with a little bug 2024-11-02 02:06:26 +01:00
Sebastian 41cad27806 copy paste mysteries with ghost nodes and disappearing connections 2024-11-01 14:46:51 +01:00
Sebastian a10335ed47 polar snapping now very goood! 2024-11-01 14:08:27 +01:00
Sebastian 19b2c9549f conversion to smart pointers done but still buggy 2024-11-01 02:38:47 +01:00
Sebastian c0eb7c98ba heavy restructuring with smart pointers, not finished 2024-10-31 01:43:00 +01:00
Sebastian f7a13e48b7 fishy loss of changes here... 2024-10-30 14:55:24 +01:00
Sebastian ba5874837c connection split button added, but no functionality yes 2024-10-30 11:27:37 +01:00
Sebastian c0f5138765 a little clean up 2024-10-30 02:03:03 +01:00