#define MAX_GRAPH_DEPTH 512
// don't use spaces in LOGGRAPH or NORMGRAPH if you change them
-#define LOGGRAPH "log"
-#define NORMGRAPH "normal"
+#define LOGGRAPH "-l"
#define TEMPGRAD "-t"
enum special_types {
- HORIZONTAL_LINE,
+ HORIZONTAL_LINE = 1,
STIPPLED_HR,
BAR,
FG,
/* max number of specials allowed (TODO: use linked list instead) */
extern int max_specials;
-#ifdef X11
/* scanning special arguments */
-const char *scan_gauge(const char *, int *, int *);
const char *scan_bar(const char *, int *, int *);
+#ifdef X11
+const char *scan_gauge(const char *, int *, int *);
char *scan_font(const char *);
char *scan_graph(const char *, int *, int *, unsigned int *,
unsigned int *, unsigned int *, char *, char *);
void new_hr(char *, int);
void new_stippled_hr(char *, int, int);
#endif
+void new_bar_in_shell(char *, int, double, int);
void new_fg(char *, long);
void new_bg(char *, long);
void new_outline(char *, long);