projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove not needed edit checks.
[bertos.git]
/
bertos
/
drv
/
lcd_gfx_qt.h
diff --git
a/bertos/drv/lcd_gfx_qt.h
b/bertos/drv/lcd_gfx_qt.h
index a5538f39299fcfc8dad995e4cda52dd8692e49de..f1bb4e9311f5a61422370b8ff704c8fcb7d8d864 100644
(file)
--- a/
bertos/drv/lcd_gfx_qt.h
+++ b/
bertos/drv/lcd_gfx_qt.h
@@
-39,6
+39,9
@@
#ifndef DRV_LCD_GFX_QT_H
#define DRV_LCD_GFX_QT_H
#ifndef DRV_LCD_GFX_QT_H
#define DRV_LCD_GFX_QT_H
+// uint8_t
+#include <cfg/compiler.h>
+
#include <QtGui/QColor>
#include <QtGui/QFrame>
#include <QtGui/QColor>
#include <QtGui/QFrame>
@@
-47,6
+50,7
@@
class QSizePolicy;
class QPaintEvent;
class QResizeEvent;
class QPaintEvent;
class QResizeEvent;
+#define CONFIG_EMULLCD_SCALE 1
class EmulLCD : public QFrame
{
class EmulLCD : public QFrame
{
@@
-62,11
+66,12
@@
public:
// Base class overrides
protected:
// Base class overrides
protected:
- virtual QSizePolicy sizePolicy() const;
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
virtual void paintEvent(QPaintEvent *event);
virtual void paintEvent(QPaintEvent *event);
+ #if CONFIG_EMULLCD_SCALE
+ virtual int heightForWidth(int w) const;
+ #endif
+
// Operations
public:
void writeRaster(uint8_t *raster);
// Operations
public:
void writeRaster(uint8_t *raster);