summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-02-12 13:03:23 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-28 15:36:27 -0800
commitd742d7b391fb1e28e784161368689b05af791b71 (patch)
tree6af51be4f6ed155ac8183a217a694c527459f9a6 /pref.h
parentcfdde3ff630ca3f58f9b03d59dde274bba5151f6 (diff)
downloadsubsurface-d742d7b391fb1e28e784161368689b05af791b71.tar.gz
Remember window size
This commit has gone through a few iterations and I trimmed it down to what I consider the "conservative minimum" - so this only stores window size, not window position. And in my mind that's the more relevant part, anyway. Have your window manager position the window at a "smart" spot on your screen... Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pref.h b/pref.h
index 7dd0e5af4..c4287aa3b 100644
--- a/pref.h
+++ b/pref.h
@@ -44,9 +44,11 @@ extern struct preferences prefs, default_prefs;
extern void subsurface_open_conf(void);
extern void subsurface_set_conf(char *name, const char *value);
extern void subsurface_set_conf_bool(char *name, gboolean value);
+extern void subsurface_set_conf_int(char *name, int value);
extern void subsurface_unset_conf(char *name);
extern const void *subsurface_get_conf(char *name);
extern int subsurface_get_conf_bool(char *name);
+extern int subsurface_get_conf_int(char *name);
extern void subsurface_flush_conf(void);
extern void subsurface_close_conf(void);