From 19b45a4374bb3efda4f554d3d806835368d1536a Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 8 Mar 2006 01:14:46 +0000 Subject: 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 --- apps/plugins/lib/xlcd_core.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 apps/plugins/lib/xlcd_core.c (limited to 'apps/plugins/lib/xlcd_core.c') diff --git a/apps/plugins/lib/xlcd_core.c b/apps/plugins/lib/xlcd_core.c new file mode 100644 index 0000000000..e8cc688591 --- /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 */ + -- cgit v1.2.3