From c007cddf71a53b67f3642629d7c31400db5da93a Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 18 Aug 2012 04:47:34 +0200 Subject: added influenced alpha to the render. not sure if I did it right BUT... --- layoutgl/widget.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layoutgl/widget.h') 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); -- cgit v1.2.3