summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-07-25 09:27:26 +0800
committerMole Shang <[email protected]>2023-08-05 23:19:46 +0800
commited8f6df90b0c39835198d5b7af4bbd391362f180 (patch)
tree907ba31bac854eb5dc8a2781825e24c049b10580 /src/ui.h
downloadhinata-ed8f6df90b0c39835198d5b7af4bbd391362f180.tar.gz
hinata-ed8f6df90b0c39835198d5b7af4bbd391362f180.tar.bz2
hinata-ed8f6df90b0c39835198d5b7af4bbd391362f180.zip
hinata: initial commit
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
new file mode 100644
index 0000000..300e950
--- /dev/null
+++ b/src/ui.h
@@ -0,0 +1,16 @@
+#ifndef UI_H_
+#define UI_H_
+
+#define SPACER nk_spacer(ui->ctx)
+
+#include "process_url.h"
+
+struct ui_struct {
+ struct nk_context *ctx;
+ struct logger *logger;
+ status_t *stat;
+};
+
+void load_ui(struct ui_struct *);
+
+#endif