aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-07-08 15:22:41 +0200
committerFederico Angelilli <code@fedang.net>2024-07-08 15:22:41 +0200
commit5d170a634ead0119f6e5a9f63c23b2b064126f75 (patch)
tree0447d2dbb0da6358d184a4c62d5557d4d22f5e8d /src/state.h
parent92feb3c130966202c7caa6d9bf3a3800c97ca7a1 (diff)
Remove old files
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/state.h b/src/state.h
deleted file mode 100644
index 6ea331f..0000000
--- a/src/state.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef COMET_STATE_H
-#define COMET_STATE_H
-
-#include <glib.h>
-
-#include "window.h"
-#include "draw.h"
-#include "button.h"
-
-typedef struct State State;
-
-struct State {
- const char *label;
- Window *win;
- Drawer *draw;
- GList *btns;
- gint idle_id;
- gint anim_id;
- bool relayout;
-};
-
-State *state_create(const char *label, Window *win, Drawer *draw);
-
-void state_add_button(State *state, Button *btn);
-
-void state_remove_button(State *state, Button *btn);
-
-void state_order_button(State *state);
-
-void state_request_redraw(State *state, bool relayout);
-
-void state_request_animation(State *state);
-
-void state_destroy(State *state);
-
-#endif
-
-// vim: ts=4 sw=4 et