aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index e7649d7..8bd0ced 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.cc,v 1.34 2004/05/24 13:09:32 rathnor Exp $ 22// $Id: FbWindow.cc,v 1.35 2004/06/07 20:24:38 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25 25
@@ -249,6 +249,13 @@ void FbWindow::setAlpha(unsigned char alpha) {
249#endif // HAVE_XRENDER 249#endif // HAVE_XRENDER
250} 250}
251 251
252unsigned char FbWindow::alpha() const {
253#ifdef HAVE_XRENDER
254 if (m_transparent.get())
255 return m_transparent->alpha();
256#endif // HAVE_XRENDER
257 return 255;
258}
252 259
253FbWindow &FbWindow::operator = (const FbWindow &win) { 260FbWindow &FbWindow::operator = (const FbWindow &win) {
254 m_parent = win.parent(); 261 m_parent = win.parent();