Browse Source

Fix indentation + Add Readme

main
Annwan 3 months ago
parent
commit
5082c3bafb
  1. 8
      README.md
  2. 4
      src/Application.cppm

8
README.md

@ -0,0 +1,8 @@
# FFmpeGraph
Graph editor for ffmpeg
## Building
Use CMake with Ninja.

4
src/Application.cppm

@ -84,8 +84,8 @@ void Application::ProcessEvents() {
for (auto& node : nodes) { for (auto& node : nodes) {
if (node->pos_x < x and x < node->pos_x + node->Width() if (node->pos_x < x and x < node->pos_x + node->Width()
and node->pos_y < y and y < node->pos_y + node->Height()) { and node->pos_y < y and y < node->pos_y + node->Height()) {
selected_node = node.get();
break;
selected_node = node.get();
break;
} }
} }
} }

Loading…
Cancel
Save