aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_graphic.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-07-31 03:48:09 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-07-31 03:48:09 +0000
commit8a89eeab079decfc4c312438c67d4fc51b8de3c1 (patch)
treea86b6f002c007cb57dd07af2a37621683e59a003 /drv_generic_graphic.c
parent16fabe7b64a6e40008403da5d1107ade8f43eb3b (diff)
downloadlcd4linux-8a89eeab079decfc4c312438c67d4fc51b8de3c1.tar.gz
[lcd4linux @ 2006-07-31 03:48:09 by reinelt]
preparations for scrolling git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@680 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_graphic.c')
-rw-r--r--drv_generic_graphic.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drv_generic_graphic.c b/drv_generic_graphic.c
index bf11a24..197450c 100644
--- a/drv_generic_graphic.c
+++ b/drv_generic_graphic.c
@@ -1,4 +1,4 @@
-/* $Id
+/* $Id: drv_generic_graphic.c,v 1.29 2006/07/31 03:48:09 reinelt Exp $
*
* generic driver helper for graphic displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_graphic.c,v $
+ * Revision 1.29 2006/07/31 03:48:09 reinelt
+ * preparations for scrolling
+ *
* Revision 1.28 2006/06/20 08:50:58 reinelt
* widget_image linker error hopefully finally fixed
*
@@ -174,6 +177,7 @@
#include "widget_image.h"
#include "rgb.h"
#include "drv.h"
+#include "drv_generic.h"
#include "drv_generic_graphic.h"
#include "font_6x8.h"
@@ -181,9 +185,6 @@
#include <dmalloc.h>
#endif
-int DROWS, DCOLS; /* display size (pixels!) */
-int XRES, YRES; /* pixels of one char cell */
-
/* pixel colors */
RGBA FG_COL = { R: 0x00, G: 0x00, B: 0x00, A:0xff };
RGBA BG_COL = { R: 0xff, G: 0xff, B: 0xff, A:0xff };
@@ -193,10 +194,6 @@ RGBA NO_COL = { R: 0x00, G: 0x00, B: 0x00, A:0x00 };
static char *Section = NULL;
static char *Driver = NULL;
-/* layout size (pixels!) */
-static int LROWS = 0;
-static int LCOLS = 0;
-
/* framebuffer */
static RGBA *drv_generic_graphic_FB[LAYERS] = { NULL, };
@@ -647,6 +644,9 @@ int drv_generic_graphic_init(const char *section, const char *driver)
}
}
+ /* init generic driver & register plugins */
+ drv_generic_init();
+
/* set default colors */
color = cfg_get(Section, "foreground", "000000ff");
if (color2RGBA(color, &FG_COL) < 0) {