Build fixes for bmpx
[monky] / src / specials.h
index 32a8175..f529ee3 100644 (file)
@@ -9,7 +9,7 @@
  * Please see COPYING for details
  *
  * Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
- * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
+ * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
  *     (see AUTHORS)
  * All rights reserved.
  *
@@ -40,6 +40,7 @@
 #define TEMPGRAD "-t"
 
 enum special_types {
+       NONSPECIAL = 0,
        HORIZONTAL_LINE = 1,
        STIPPLED_HR,
        BAR,
@@ -94,22 +95,21 @@ extern int max_specials;
 
 /* scanning special arguments */
 const char *scan_bar(struct text_object *, const char *);
-#ifdef X11
 const char *scan_gauge(struct text_object *, const char *);
+#ifdef X11
 char *scan_font(const char *);
-char *scan_graph(struct text_object *, const char *);
+char *scan_graph(struct text_object *, const char *, int);
 void scan_tab(struct text_object *, const char *);
 void scan_stippled_hr(struct text_object *, const char*);
 
 /* printing specials */
-void new_gauge(struct text_object *, char *, int);
-void new_bar(struct text_object *, char *, int);
 void new_font(char *, char *);
-void new_graph(struct text_object *, char *, double);
+void new_graph(struct text_object *, char *, int, double);
 void new_hr(char *, int);
 void new_stippled_hr(struct text_object *, char *);
 #endif
-void new_bar_in_shell(struct text_object *, char *, int, double);
+void new_gauge(struct text_object *, char *, int, int);
+void new_bar(struct text_object *, char *, int, int);
 void new_fg(char *, long);
 void new_bg(char *, long);
 void new_outline(char *, long);