diff options
author | Markus Braun <markus.braun@krawel.de> | 2002-08-07 10:35:26 +0000 |
---|---|---|
committer | Markus Braun <markus.braun@krawel.de> | 2002-08-07 10:35:26 +0000 |
commit | de8fbf00a8a4a2c85fc9ee4b2758881f4ec435d9 (patch) | |
tree | 5cc60884b43b291f3878527413c4d7f21f210624 /apps/recorder/widgets.h | |
parent | 999e2127af292ffac2d36dcb54b78a2f1abce6bf (diff) | |
download | rockbox-de8fbf00a8a4a2c85fc9ee4b2758881f4ec435d9.tar.gz rockbox-de8fbf00a8a4a2c85fc9ee4b2758881f4ec435d9.zip |
Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/widgets.h')
-rw-r--r-- | apps/recorder/widgets.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/apps/recorder/widgets.h b/apps/recorder/widgets.h new file mode 100644 index 0000000000..bae9f391de --- /dev/null +++ b/apps/recorder/widgets.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: not checked in | ||
9 | * | ||
10 | * Copyright (C) 2002 Markus Braun | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __WIDGETS_H__ | ||
20 | #define __WIDGETS_H__ | ||
21 | #include <lcd.h> | ||
22 | |||
23 | #ifdef HAVE_LCD_BITMAP | ||
24 | /* Directions for progressbar and scrollbar */ | ||
25 | enum | ||
26 | { | ||
27 | Grow_Right = 0, | ||
28 | Grow_Left, | ||
29 | Grow_Down, | ||
30 | Grow_Up | ||
31 | }; | ||
32 | |||
33 | extern void progressbar(int x, int y, int width, int height, int percent, int direction); | ||
34 | extern void slidebar(int x, int y, int width, int height, int percent, int direction); | ||
35 | #endif /* HAVE_LCD_BITMAP */ | ||
36 | #endif /* __WIDGETS_H__ */ | ||