16 /* canvas node states */
20 FULL, /* dot or dash head */
22 CONTINUED, /* dash tail */
25 HIT, /* playhead hit */
31 #define MAX_REAL_STATE HIT
33 #define STATE_MASK 0x0F
34 #define STATE_FLAG_MASK (~ (STATE_MASK) )
38 F_PLAYHEAD = 1 << 0, /* playhead is on item */
41 F_SELECTION = 1 << 3 /* item is part of the selection box */
50 const int ruler_height = 14;
52 void init_colors ( void );
53 int gui_draw_ruler ( int x, int y, int w, int div_w, int div, int ofs, int p1, int p2 );
54 int gui_draw_string ( int x, int y, int w, int h, int color, const char *s, bool draw );
55 void gui_draw_shape ( int x, int y, int w, int h, int shape, int state, int flags, int color );
56 void gui_clear_area ( int x, int y, int w, int h );
57 void gui_status ( const char *fmt, ... );