2 * (C) David Olofson, 2006
3 * modified by the pineapple team, 2009
6 static void breakhandler(int a
);
7 static void handle_key_normal(SDL_Event
*ev
);
13 /* Load and convert image */
14 SDL_Surface
*gui_load_image(const char *fn
);
15 static void draw_main();
18 //void gui_dirty(SDL_Rect *r);
20 /* Update all dirty areas */
21 void gui_refresh(void);
23 /* Draw a hollow box */
24 void gui_box(int x
, int y
, int w
, int h
, Uint32 c
, SDL_Surface
*dst
);
26 /* Draw a black box with a colored outline */
27 void gui_bar(int x
, int y
, int w
, int h
, Uint32 c
, SDL_Surface
*dst
);
30 void gui_text(int x
, int y
, const char *txt
, SDL_Surface
*dst
);
32 /* Render an oscilloscope */
33 //void gui_oscilloscope(Sint32 *buf, int bufsize,
34 // int start, int x, int y, int w, int h,
38 * High level GUI stuff
40 int gui_open(SDL_Surface
*screen
);
44 void gui_tempo(int v);
45 void gui_songpos(int v);
46 void gui_songedit(int pos, int ppos, int track, int editing);
47 void gui_songselect(int x1, int y1, int x2, int y2);
48 void gui_status(int playing, int editing, int looping);
49 void gui_message(const char *message, int curspos);
50 void gui_draw_activity(int dt);
51 void gui_activity(int trk);
53 void gui_draw_screen(GUI_pages page);*/
54 static void update_main(SDL_Surface
*screen
);