b37e6bc8c1
Change all lcd drivers to using a pointer to the static framebuffer instead of directly accessing the static array. This will let us later do fun things like dynamic framebuffer sizes (RaaA) or ability to use different buffers for different layers (dynamic skin backdrops!) Change-Id: I0a4d58a9d7b55e6c932131b929e5d4c9f9414b06
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/***************************************************************************
|
|
* __________ __ ___.
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
* \/ \/ \/ \/ \/
|
|
* $Id$
|
|
*
|
|
* Copyright (C) 2005 by Richard S. La Charité III
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
* KIND, either express or implied.
|
|
*
|
|
****************************************************************************/
|
|
|
|
#include "lcd-remote.h"
|
|
|
|
/* Compile 1 bit vertical packing LCD driver for remote LCD */
|
|
#define LCDFN(fn) lcd_remote_ ## fn
|
|
#define FBFN(fn) fb_remote_ ## fn
|
|
#define FBSIZE FRAMEBUFFER_REMOTE_SIZE
|
|
#define LCDM(ma) LCD_REMOTE_ ## ma
|
|
#define LCDFB(x,y) FBREMOTEADDR(x, y)
|
|
#define LCDNAME "lcd_remote_"
|
|
|
|
#include "lcd-1bit-vert.c"
|