PieDock 1.4.3
Public Member Functions | Protected Member Functions | Protected Attributes

PieDock::TransparentWindow Class Reference

#include <TransparentWindow.h>

Inheritance diagram for PieDock::TransparentWindow:
Inheritance graph
[legend]
Collaboration diagram for PieDock::TransparentWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TransparentWindow (Application &)
virtual ~TransparentWindow ()
const Window & getWindow () const
virtual void appear ()
virtual void draw ()
virtual bool processEvent (XEvent &)

Protected Member Functions

virtual void show ()
virtual void hide () const
virtual void clear ()
virtual void update () const

Protected Attributes

Applicationapp
Window window
int width
int height
XSurfacecanvas
unsigned char * buffer
GC gc

Detailed Description

A (possibly pseudo-)transparent window

Author:
Markus Fisch <mf@markusfisch.de>

Constructor & Destructor Documentation

TransparentWindow::TransparentWindow ( Application a)

Initialize object

Parameters:
a- Application object
TransparentWindow::~TransparentWindow ( ) [virtual]

Clean up


Member Function Documentation

void TransparentWindow::clear ( ) [protected, virtual]

Clear window for drawing

Referenced by PieDock::PieMenuWindow::draw(), and show().

void TransparentWindow::hide ( ) const [protected, virtual]

Hide window

void TransparentWindow::show ( ) [protected, virtual]

Show window; the caller must ensure that the window is completely visible on the screen or XGetSubImage will fail !

References clear().

Referenced by PieDock::PieMenuWindow::appear(), and PieDock::PieMenuWindow::show().

void TransparentWindow::update ( ) const [protected, virtual]

The documentation for this class was generated from the following files: