From 3276ce5db94774c1afa3e6683f706023551a2dd8 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Mon, 9 May 2011 22:10:02 +0000 Subject: rearranged includes, seperate redraw request areas. svn path=/trunk/netsurf/; revision=12359 --- atari/statusbar.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'atari/statusbar.h') diff --git a/atari/statusbar.h b/atari/statusbar.h index ef6f1f040..6daf62951 100755 --- a/atari/statusbar.h +++ b/atari/statusbar.h @@ -19,6 +19,19 @@ #ifndef NS_ATARI_STATUSBAR #define NS_ATARI_STATUSBAR +#define STATUSBAR_HEIGHT 16 +#define STATUSBAR_MAX_SLEN 255 +#define MOVER_WH 16 + +struct s_statusbar +{ + COMPONENT * comp; + char text[STATUSBAR_MAX_SLEN+1]; + size_t textlen; + bool attached; +}; + + CMP_STATUSBAR sb_create( struct gui_window * gw ); void sb_destroy( CMP_STATUSBAR s ); void sb_set_text( CMP_STATUSBAR sb , char * text ); -- cgit v1.2.3