aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-glwidgets/glw-widget.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-27 11:51:40 -0400
committerKen Moore <ken@ixsystems.com>2017-09-27 11:51:40 -0400
commitff558814658470aaa24c5ca0f5cc8d687ffe7c74 (patch)
treef552061d406975233f94da688b19bb236e0bfc8a /src-qt5/src-glwidgets/glw-widget.h
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-ff558814658470aaa24c5ca0f5cc8d687ffe7c74.tar.gz
lumina-ff558814658470aaa24c5ca0f5cc8d687ffe7c74.tar.bz2
lumina-ff558814658470aaa24c5ca0f5cc8d687ffe7c74.zip
Commit some minor updates/tests to the GL widgets. need to avoid QPainter if we want GPU accelleration.
Diffstat (limited to 'src-qt5/src-glwidgets/glw-widget.h')
-rw-r--r--src-qt5/src-glwidgets/glw-widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/src-glwidgets/glw-widget.h b/src-qt5/src-glwidgets/glw-widget.h
index e4d7aa37..69d3515d 100644
--- a/src-qt5/src-glwidgets/glw-widget.h
+++ b/src-qt5/src-glwidgets/glw-widget.h
@@ -31,8 +31,8 @@ public:
void setGLBase(GLW_Base *base);
- virtual void paintYourself(QStylePainter *painter, QPaintEvent *ev);
- void paintChildren(QStylePainter *painter, QPaintEvent *ev);
+ virtual void paintYourself(QStylePainter *painter, const QRect *prect);
+ void paintChildren(QStylePainter *painter, const QRect *prect);
//Properties
bool isDraggable(){ return draggable; }
bgstack15