X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/50a14534a51f892500ee82f867e8ab2f85b936ae..0da53bd94d410673000766e1e646f52f5d5ce3aa:/src/vikstatus.h diff --git a/src/vikstatus.h b/src/vikstatus.h index 95538b14..a50e706d 100644 --- a/src/vikstatus.h +++ b/src/vikstatus.h @@ -24,7 +24,7 @@ #include #include -#include +#include G_BEGIN_DECLS @@ -44,8 +44,19 @@ struct _VikStatusbarClass GType vik_statusbar_get_type (); + +typedef enum { + VIK_STATUSBAR_TOOL, + VIK_STATUSBAR_ITEMS, + VIK_STATUSBAR_ZOOM, + VIK_STATUSBAR_INFO, + VIK_STATUSBAR_POSITION, + VIK_STATUSBAR_NUM_TYPES +} vik_statusbar_type_t; + VikStatusbar *vik_statusbar_new (); -void vik_statusbar_set_message ( VikStatusbar *vs, gint field, const gchar *message ); +void vik_statusbar_set_message ( VikStatusbar *vs, vik_statusbar_type_t field, const gchar *message ); +G_END_DECLS #endif