feat: basic ui interfacing

This commit is contained in:
beriff
2026-03-04 02:08:16 +07:00
parent 0ec11e20ac
commit 2326bbb883
6 changed files with 148 additions and 8 deletions

20
src/ui/uicontroller.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef VKTR_UICTRL_H
#define VKTR_UICTRL_H
#include "gtk/gtk.h"
/*
Global application widget state, holding references to
all the widgets used in internal logic of the program
*/
typedef struct VektorWidgetState {
GtkWindow* window;
GtkPaned* workspacePaned;
//GtkWidget* Workspace
} VektorWidgetState;
void vektor_uictrl_init(GtkApplication* app, VektorWidgetState* stateOut);
void vektor_uictrl_map(VektorWidgetState* state);
#endif