1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 Itai Shaked
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 **************************************************************************/
21 #ifdef HAVE_LCD_BITMAP
27 enum plugin_status
plugin_start(struct plugin_api
* api
, void* parameter
)
35 struct plugin_api
* rb
= api
;
39 rb
->lcd_clear_display();
68 rb
->lcd_invertrect(LARGE
-x
, HAUT
-y
, 2*x
+1, 1);
69 rb
->lcd_invertrect(LARGE
-x
, HAUT
+y
, 2*x
+1, 1);
70 rb
->lcd_invertrect(LARGE
-x
, HAUT
-y
+1, 1, 2*y
-1);
71 rb
->lcd_invertrect(LARGE
+x
, HAUT
-y
+1, 1, 2*y
-1);
76 button
= rb
->button_get(false);
77 if ( button
== BUTTON_OFF
)
82 if ( button
== BUTTON_F1
)
89 if ( button
== BUTTON_PLAY
)
95 rb
->lcd_clear_display();
98 if ( button
== SYS_USB_CONNECTED
) {