summaryrefslogtreecommitdiff
path: root/src/widget/widget_button.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_button.h
parent6025860a61386bf767b29c3ec5fd0d31285f1056 (diff)
Add tuxanci2 files
Diffstat (limited to 'src/widget/widget_button.h')
-rw-r--r--src/widget/widget_button.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/widget/widget_button.h b/src/widget/widget_button.h
deleted file mode 100644
index 2ec4ae3..0000000
--- a/src/widget/widget_button.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef WIDGET_BUTTON_H
-#define WIDGET_BUTTON_H
-
-#include "main.h"
-#include "widget.h"
-
-#define WIDGET_BUTTON_TIME 10
-
-#define WIDGET_BUTTON_WIDTH 125
-#define WIDGET_BUTTON_HEIGHT 36
-
-typedef struct widget_button {
- char *text;
- int w, h;
- void (*fce_event) (void *);
-} widget_button_t;
-
-extern widget_t *button_new(char *text, int x, int y, void (*fce_event) (void *));
-extern void button_draw(widget_t *widget);
-extern void button_event(widget_t *widget);
-extern void button_destroy(widget_t *widget);
-
-#endif /* WIDGET_BUTTON_H */