diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-03-08 01:14:46 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-03-08 01:14:46 +0000 |
| commit | 19b45a4374bb3efda4f554d3d806835368d1536a (patch) | |
| tree | 1fac6f5b900e7e40d9f770d14c5701db6231ec0f /apps/plugins/lib/xlcd_core.c | |
| parent | 761652abf71dcae63769a67388575fa47b6e8567 (diff) | |
| download | rockbox-19b45a4374bb3efda4f554d3d806835368d1536a.zip rockbox-19b45a4374bb3efda4f554d3d806835368d1536a.tar.gz rockbox-19b45a4374bb3efda4f554d3d806835368d1536a.tar.bz2 rockbox-19b45a4374bb3efda4f554d3d806835368d1536a.tar.xz | |
LCD extension library: Implemented scrolling for LCD depths below 8 bit. * Oscilloscope: Use new scrolling function, some minor optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8951 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/xlcd_core.c')
| -rw-r--r-- | apps/plugins/lib/xlcd_core.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/apps/plugins/lib/xlcd_core.c b/apps/plugins/lib/xlcd_core.c new file mode 100644 index 0000000..e8cc688 --- /dev/null +++ b/apps/plugins/lib/xlcd_core.c @@ -0,0 +1,41 @@ +/*************************************************************************** +* __________ __ ___. +* Open \______ \ ____ ____ | | _\_ |__ _______ ___ +* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +* \/ \/ \/ \/ \/ +* $Id$ +* +* Additional LCD routines not present in the rockbox core +* Core functions +* +* Copyright (C) 2005 Jens Arnold +* +* All files in this archive are subject to the GNU General Public License. +* See the file COPYING in the source tree root for full license agreement. +* +* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +* KIND, either express or implied. +* +****************************************************************************/ + +#include "plugin.h" + +#ifdef HAVE_LCD_BITMAP +#include "xlcd.h" + +/*** globals ***/ + +struct plugin_api *_xlcd_rb = NULL; /* global api struct pointer */ + +/*** functions ***/ + +/* library init */ +void xlcd_init(struct plugin_api* newrb) +{ + _xlcd_rb = newrb; +} + +#endif /* HAVE_LCD_BITMAP */ + |