summaryrefslogtreecommitdiff
path: root/saedit/main.h
blob: 1e482f32c1daa30b3efef532b485e1005e497884 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef _MAIN_H_
#define _MAIN_H_

#include <gtk/gtk.h>
#include "treefolderview.h"
#include "context.h"
#include "interactor.h"
#include "spritedrawingarea.h"

GtkWidget  *main_window;
GtkWidget  *d_area;
GtkWidget  *source_view;
GtkWidget  *tf_view;
GtkWidget  *tbtn_play;

GtkComboBox     *cb_actions;
GtkComboBoxText *cb_directions;
GtkListStore    *store_actions;
GtkAdjustment	*zoom_adj;

SpriteContext *context;
Interactor    *interactor;

SDALayer *tile_grid_layer;
SDALayer *pixel_grid_layer;

void
buffer_set_modified (gboolean modified);

gboolean
buffer_get_modified (void);

void
release_context (void);

void
intr_updated (Interactor *interactor);

void
update_window_title (void);

GtkWidget *
window_main_get_source_view (void);

void
update_window_title (void);

void
release_context (void);

#endif