Add "elfzip" target to make which creates a zip of all elf files, as mapzip does...
[maemo-rb.git] / apps / gui / skin_engine / skin_display.h
blobda4bb92aefa3528f72969de1fe1df34cb7d23815
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002-2007 Björn Stenberg
11 * Copyright (C) 2007-2008 Nicolas Pennequin
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
22 #include "config.h"
23 #include <stdio.h>
24 #include "wps_internals.h"
25 #include "skin_engine.h"
26 #include "statusbar-skinned.h"
28 #ifndef _SKIN_DISPLAY_H_
29 #define _SKIN_DISPLAY_H_
32 #ifdef HAVE_LCD_BITMAP
33 void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb);
34 void draw_playlist_viewer_list(struct gui_wps *gwps, struct playlistviewer *viewer);
35 /* clears the area where the image was shown */
36 void clear_image_pos(struct gui_wps *gwps, struct gui_img *img);
37 void wps_draw_image(struct gui_wps *gwps, struct gui_img *img, int subimage);
38 void wps_display_images(struct gui_wps *gwps, struct viewport* vp);
39 #endif
41 /* Evaluate the conditional that is at *token_index and return whether a skip
42 has ocurred. *token_index is updated with the new position.
44 int evaluate_conditional(struct gui_wps *gwps, int offset,
45 struct conditional *conditional, int num_options);
46 /* Display a line appropriately according to its alignment format.
47 format_align contains the text, separated between left, center and right.
48 line is the index of the line on the screen.
49 scroll indicates whether the line is a scrolling one or not.
51 void write_line(struct screen *display,
52 struct align_pos *format_align,
53 int line,
54 bool scroll);
55 void draw_peakmeters(struct gui_wps *gwps, int line_number,
56 struct viewport *viewport);
57 #endif