diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-27 11:51:40 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-27 11:51:40 -0400 |
commit | ff558814658470aaa24c5ca0f5cc8d687ffe7c74 (patch) | |
tree | f552061d406975233f94da688b19bb236e0bfc8a /src-qt5/src-glwidgets/glw-widget.h | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-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.h | 4 |
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; } |