summaryrefslogtreecommitdiff
path: root/src/widget/widget.h
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
commitf1ddc12b68b4e4c8087962de25260470e6df2bea (patch)
tree7d0440a6402a9b0ef75ded23fa64b68534255bba /src/widget/widget.h
parent6025860a61386bf767b29c3ec5fd0d31285f1056 (diff)
Add tuxanci2 files
Diffstat (limited to 'src/widget/widget.h')
-rw-r--r--src/widget/widget.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/widget/widget.h b/src/widget/widget.h
deleted file mode 100644
index b5898c2..0000000
--- a/src/widget/widget.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef WIDGET_H
-#define WIDGET_H
-
-#include "main.h"
-
-#define WIDGET_TYPE_LABEL 1
-#define WIDGET_TYPE_BUTTON 2
-#define WIDGET_TYPE_BUTTONIMAGE 3
-#define WIDGET_TYPE_TEXTFILED 4
-#define WIDGET_TYPE_CATCHKEY 5
-#define WIDGET_TYPE_CHECK 6
-#define WIDGET_TYPE_CHOICE 7
-#define WIDGET_TYPE_IMAGE 8
-#define WIDGET_TYPE_SELECT 9
-#define WIDGET_TYPE_STATUSBAR 10
-#define WIDGET_TYPE_CONTAINER 11
-
-#define WIDGET_NONE_VALUE -1
-
-typedef struct widget_struct {
- int type;
- int x, y;
- int w, h;
- void *private_data;
-} widget_t;
-
-extern widget_t *widget_new(int type, int x, int y, int w, int h, void *private_data);
-extern void widget_set_location(widget_t *p, int x, int y);
-extern void widget_get_location(widget_t *p, int *x, int *y);
-extern void widget_get_size(widget_t *p, int w, int h);
-extern void widget_set_size(widget_t *p, int *w, int *h);
-extern void widget_draw(widget_t *p);
-extern void widget_event(widget_t *p);
-extern void widget_destroy(widget_t *p);
-
-#endif /* WIDGET_H */