* removed some more unused stuff in the simulator makefile
[kugel-rb.git] / apps / recorder / widgets.h
blobde8e78520f0f22a69a5604e6cef9eed75a6a96e0
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: not checked in
10 * Copyright (C) 2002 Markus Braun
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.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef __WIDGETS_H__
20 #define __WIDGETS_H__
21 #include <lcd.h>
23 #ifdef HAVE_LCD_BITMAP
24 /* Directions for progressbar and slidebar */
25 enum {
26 Grow_Right = 0,
27 Grow_Left,
28 Grow_Down,
29 Grow_Up
32 /* Orientation for scrollbar */
33 enum {
34 VERTICAL = 0,
35 HORIZONTAL
38 extern void progressbar(int x, int y, int width, int height, int percent, int direction);
39 extern void slidebar(int x, int y, int width, int height, int percent, int direction);
40 extern void scrollbar(int x, int y, int width, int height, int items, int min_shown, int max_shown, int orientation);
41 extern void checkbox(int x, int y, int width, int height, bool checked);
42 #endif /* HAVE_LCD_BITMAP */
43 #endif /* __WIDGETS_H__ */