From 9973fe3e8a99e21a81632919dddf3a866f3b9956 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Thu, 9 Nov 2023 07:08:37 +0100 Subject: [PATCH] some remaining untracked changes... --- src/ui/gemgraph.ui | 343 +++++++++++++++++++++++++++++++++++++++++++++ src/ui/tree.c | 31 ++++ 2 files changed, 374 insertions(+) create mode 100644 src/ui/gemgraph.ui create mode 100644 src/ui/tree.c diff --git a/src/ui/gemgraph.ui b/src/ui/gemgraph.ui new file mode 100644 index 0000000..08ef9a8 --- /dev/null +++ b/src/ui/gemgraph.ui @@ -0,0 +1,343 @@ + + + + + + + + +
+ + _Open... + app.openfile + + + _Close + app.closefile + + + _Save + app.savefile + +
+
+ + _Preferences + app.preferences + + + _Keyboard Shortcuts + win.show-help-overlay + + + _About GemGraph + app.about + +
+
+ +
+ + Switch session mode + + + document-edit-symbolic + _Edition + app.editmode + True + + + system-run-symbolic + _Run + app.runmode + True + + + video-display-symbolic + _Presentation + app.presentmode + True + +
+
+
diff --git a/src/ui/tree.c b/src/ui/tree.c new file mode 100644 index 0000000..4636c08 --- /dev/null +++ b/src/ui/tree.c @@ -0,0 +1,31 @@ +/* + * Gem-graph OpenGL experiments + * + * Desc: User interface functions + * + * Copyright (C) 2023 Jean Sirmai + * + * This file is part of Gem-graph. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#include +#include +#include + +#include "../../include/base.h" +#include "../../include/ui.h" + +