Tom A. Wagner
d75dee5ea8
Update dependencies
...
This updates all crates to their newest release.
For pipewire-rs, this includes bumping the version to 0.3, which means this comment has to fix a few breaking changes, but nothing big.
0.3 also lets us create and delete remote objects, which will be needed for link creation and deletion.
2021-03-27 19:57:44 +01:00
Emmanuel Gil Peyrot
aab1f1bde3
Add a ^Q accel to quit
...
This is a somewhat standard shortcut used in many GTK applications.
2021-03-19 15:23:48 +00:00
Emmanuel Gil Peyrot
279c792345
Update to build with latest glib
...
glib replaced its glib::object_subclass!() macro with
a #[glib::object_subclass] attribute, to simplify a bunch of things.
See fdc8459b39
2021-03-14 00:25:08 +01:00
Tom A. Wagner
b348339b4e
Update dependencies, use pipewire-rs crates from crates.io
2021-03-12 18:04:08 +01:00
Tom A. Wagner
528694b63e
Change application name to 'Helvum'
2021-03-12 17:30:26 +01:00
Guillaume Desmottes
5784275d32
fix clippy warnings
2021-02-14 17:24:49 +01:00
Tom A. Wagner
5ac535ab37
Prevent nodes from being dragged out of the graph view
2021-02-10 10:58:01 +01:00
Tom A. Wagner
ec8de4a4a7
Color ports depending on the type of data (audio,video,midi) they carry
2021-02-09 12:51:35 +01:00
Tom A. Wagner
926829de22
Update dependencies
2021-01-19 15:37:05 +01:00
Tom A. Wagner
a3907a1832
Change Node from a frame subclass to a widget subclass.
2021-01-12 10:44:12 +01:00
Tom A. Wagner
5bf62eca6e
Use log, env_logger crates to log warnings instead of using eprintln!() macro
2021-01-12 09:48:59 +01:00
Tom A. Wagner
181661a2db
Delete items from graph when they are removed by the pipewire server.
2021-01-08 12:34:22 +01:00
Tom A. Wagner
9784b9bae0
Run rustfmt on the codebase
2021-01-08 09:58:58 +01:00
Tom A. Wagner
4744a1a647
Check that a widget is being dragged before checking the event in graphview.
...
A bug in gtk4-rs makes the library print errors when accessing an event, this change reduces the amount of errors, as they are only printed when the mouse is over a node now.
2021-01-08 09:57:25 +01:00
Tom A. Wagner
323e1a2a8f
Refractor graphview.rs by moving accessor functions into wrapper type.
2021-01-08 09:56:36 +01:00
Tom A. Wagner
0e5b9bb1bc
Remove unnecessary snapshot downcast into itself
2021-01-07 17:44:23 +01:00
Tom A. Wagner
7f054890ed
Make graphview scrollable
2021-01-07 17:43:41 +01:00
Tom A. Wagner
f1b66d9c53
Turn Node into a gtk::Frame subclass.
2021-01-07 17:42:37 +01:00
Tom A. Wagner
d5283c803b
Change cursor to grab when node can be dragged
2021-01-06 10:59:28 +01:00
Tom A. Wagner
85b21a920d
Start application with a bigger window
2021-01-05 11:27:15 +01:00
Tom A. Wagner
9262308d28
Improve theming
...
Default to a dark theme and draw a grid on the background of the graphview
2021-01-05 11:24:49 +01:00
Tom A. Wagner
2897543acf
Switch to gtk4
2021-01-05 09:46:34 +01:00
Tom A. Wagner
b129d84fa2
Display Nodes/Ports/Links obtained from pipewire server
2021-01-03 19:01:47 +01:00
Tom A. Wagner
438383e92f
Render links as a curve instead of a straight line
2020-12-17 11:27:06 +01:00
Tom A. Wagner
82c9a5bd4d
Make Nodes on graph draggable
2020-12-17 11:26:41 +01:00
Tom A. Wagner
c72bef364d
Run rustfmt on the codebase
2020-12-14 11:28:06 +01:00
Tom A. Wagner
264ccf0982
Add initial project.
2020-12-14 11:20:29 +01:00