summaryrefslogtreecommitdiff
path: root/saedit/main.h
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2011-06-10 21:47:54 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2011-06-10 21:47:54 +0400
commit7bdf765a7a58f6a421300beee750513009067f8c (patch)
tree405ae41eb1244054469fb1deb64404cba982e963 /saedit/main.h
parent475fc94cb617655fb4c139e3b10b553248367104 (diff)
downloadevol-tools-7bdf765a7a58f6a421300beee750513009067f8c.tar.gz
evol-tools-7bdf765a7a58f6a421300beee750513009067f8c.tar.bz2
evol-tools-7bdf765a7a58f6a421300beee750513009067f8c.tar.xz
evol-tools-7bdf765a7a58f6a421300beee750513009067f8c.zip
saedit: Add config support
Diffstat (limited to 'saedit/main.h')
-rw-r--r--saedit/main.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/saedit/main.h b/saedit/main.h
index 3b56737..db79812 100644
--- a/saedit/main.h
+++ b/saedit/main.h
@@ -23,7 +23,9 @@ const int SPRITE_WIDTH_DEFAULT = 64;
const int SPRITE_HEIGHT_DEFAULT = 64;
const int GRID_SIZE = 32;
const gchar *BACKGROUNDS_DIR = "backgrounds";
-const gchar *ICON_PATH = "icon.svg";
+const gchar *ICON_FILE = "icon.svg";
+const gchar *CONFIG_FILE = "/saedit/config.ini";
+const gchar *FOLDER_POSTFIX = "/...";
typedef struct {
XMLNode *node;
@@ -111,3 +113,5 @@ static void show_imageset_window();
static gboolean frame_image_button_press_event(GtkWidget *widget, GdkEventButton *button, int index);
static cairo_surface_t *get_grid_surface(int w, int h);
static gboolean darea_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer data);
+static void load_config();
+static void save_config_and_quit();