Add handy functions for handling non recurrent timeouts.
[bertos.git] / bertos / drv / lcd_gfx_qt.h
index f1bb4e9311f5a61422370b8ff704c8fcb7d8d864..9840f24cd44817db4765c07619b514999eb62117 100644 (file)
@@ -30,7 +30,6 @@
  * All Rights Reserved.
  * -->
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  *
  * \brief Custom control for graphics LCD emulation (interface)
 #define DRV_LCD_GFX_QT_H
 
 // uint8_t
+#include <gfx/gfx.h>
 #include <cfg/compiler.h>
 
 #include <QtGui/QColor>
 #include <QtGui/QFrame>
 
+#define LCD_WIDTH      128
+
 // fwd decls
 class QSizePolicy;
 class QPaintEvent;
@@ -89,4 +91,8 @@ protected:
        unsigned char raster[(WIDTH + 7 / 8) * HEIGHT];
 };
 
+
+void lcd_gfx_qt_init(Bitmap *lcd_bitmap);
+void lcd_gfx_qt_blitBitmap(const Bitmap *bm);
+
 #endif // DRV_LCD_GFX_QT_H