X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Flcd_gfx_qt.h;fp=bertos%2Fdrv%2Flcd_gfx_qt.h;h=a5538f39299fcfc8dad995e4cda52dd8692e49de;hb=27cabaafe176d72d9bd634f4bd7680d7337a3f69;hp=93499a24a58895d382c5dec93c94b58c22576bdc;hpb=58428f4468f39e670f16a9ec5392b49a4a3b50a6;p=bertos.git diff --git a/bertos/drv/lcd_gfx_qt.h b/bertos/drv/lcd_gfx_qt.h index 93499a24..a5538f39 100644 --- a/bertos/drv/lcd_gfx_qt.h +++ b/bertos/drv/lcd_gfx_qt.h @@ -26,36 +26,16 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2006 Develer S.r.l. (http://www.develer.com/) + * Copyright 2006, 2008 Develer S.r.l. (http://www.develer.com/) * All Rights Reserved. * --> * * \version $Id$ - * * \author Bernie Innocenti * * \brief Custom control for graphics LCD emulation (interface) */ -/*#* - *#* $Log$ - *#* Revision 1.5 2006/05/28 12:17:57 bernie - *#* Drop almost all the Qt3 cruft. - *#* - *#* Revision 1.4 2006/02/20 02:00:40 bernie - *#* Port to Qt 4.1. - *#* - *#* Revision 1.3 2006/02/15 09:13:16 bernie - *#* Switch to BITMAP_FMT_PLANAR_V_LSB. - *#* - *#* Revision 1.2 2006/02/10 12:33:51 bernie - *#* Make emulator display a bit larger. - *#* - *#* Revision 1.1 2006/01/16 03:51:35 bernie - *#* Add LCD Qt emulator. - *#* - *#*/ - #ifndef DRV_LCD_GFX_QT_H #define DRV_LCD_GFX_QT_H @@ -77,7 +57,7 @@ public: enum { WIDTH = 128, HEIGHT = 64 }; // Construction - EmulLCD(QWidget *parent = 0, const char *name = 0); + EmulLCD(QWidget *parent = 0); virtual ~EmulLCD(); // Base class overrides @@ -96,8 +76,9 @@ protected: /// Frame thickness int frame_width; - /// LCD colors - QColor fg_color, bg_color; + /// Brushes for painting the LCD + QColor fg_color; + QBrush bg_brush; /// Pixel storage unsigned char raster[(WIDTH + 7 / 8) * HEIGHT];