summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-20 11:24:15 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-20 11:24:15 -0700
commit6ea513246363ba2df29b0dfa9bc752c7d40c0c38 (patch)
tree7ed53cde6e6ab60699846d99ebfa9ea4067aa9e7 /display.h
parent03b2e565503d383acc5f2867404cc39c0a2add80 (diff)
downloadsubsurface-6ea513246363ba2df29b0dfa9bc752c7d40c0c38.tar.gz
Make the divelist font configurable
Instead of the hardcoding to "Sans 8", allow people to set it in the preferences. Also, make the unit choice be a frame in the preferences dialog instead. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/display.h b/display.h
index bc97119ff..b5b0f919b 100644
--- a/display.h
+++ b/display.h
@@ -7,6 +7,9 @@
extern GtkWidget *main_window;
+extern const char *divelist_font;
+extern void set_divelist_font(const char *);
+
extern void import_dialog(GtkWidget *, gpointer);
extern void report_error(GError* error);