diff options
author | Treeki <treeki@gmail.com> | 2012-08-18 04:47:34 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-08-18 04:47:34 +0200 |
commit | c007cddf71a53b67f3642629d7c31400db5da93a (patch) | |
tree | 7a4e5a7aa460114a10ab341df54563fab454b900 /layoutgl/widget.h | |
parent | 060f6a4abf60444fd45ec08a71f4ce95b7555883 (diff) | |
download | LayoutStudio-c007cddf71a53b67f3642629d7c31400db5da93a.tar.gz LayoutStudio-c007cddf71a53b67f3642629d7c31400db5da93a.zip |
added influenced alpha to the render. not sure if I did it right BUT...
Diffstat (limited to '')
-rw-r--r-- | layoutgl/widget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layoutgl/widget.h b/layoutgl/widget.h index e6abdfc..1c7aaf1 100644 --- a/layoutgl/widget.h +++ b/layoutgl/widget.h @@ -21,10 +21,10 @@ protected: LYTLayout *m_layout; - void renderPane(const LYTPane *pane); + void renderPane(const LYTPane *pane, quint8 parentAlpha); - void drawPicture(const LYTPicture *pic); - void drawWindow(const LYTWindow *wnd); + void drawPicture(const LYTPicture *pic, quint8 effectiveAlpha); + void drawWindow(const LYTWindow *wnd, quint8 effectiveAlpha); const LYTMaterial &getMaterial(const QString &materialName) { return *m_layout->materials.getMaterialByName(materialName); |