feat: revealer-based tool menu

This commit is contained in:
beriff
2026-03-06 21:21:56 +07:00
parent 8e09748d3e
commit b41da278f5
10 changed files with 127 additions and 11 deletions

View File

@@ -2,6 +2,7 @@
#define VKTR_UICTRL_H
#include "gtk/gtk.h"
#include "gtk/gtkrevealer.h"
/*
Global application widget state, holding references to
@@ -12,7 +13,11 @@ typedef struct VektorWidgetState {
GtkPaned* workspacePaned;
GtkGLArea* workspaceCanvas;
GtkButton* workspaceButtonMasterShapes;
GtkRevealer* workspaceRevealerShapes;
GtkButton* workspaceButtonLinetool;
GtkButton* workspaceButtonRecttool;
GtkButton* workspaceButtonCircletool;
// GtkWidget* Workspace
} VektorWidgetState;