aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
blob: 38cc63f332d541044f1e3cf487cd6967dbbccd79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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 {
    Window *win;
    Drawable *draw;
    GList *btns;
};

State *state_create(Window *win, Drawable *draw);

void state_add_button(State *state, Button *btn);

void state_destroy(State *state);

#endif

// vim: ts=4 sw=4 et