VCF::AbstractX11Control Class Reference
This class serves as a common implementation for various methods of the
ControlPeer interface.
More...
#include <AbstractX11Control.h>
Inheritance diagram for VCF::AbstractX11Control:
List of all members.
Detailed Description
This class serves as a common implementation for various methods of the
ControlPeer interface.
Usually a class like X11Control, X11Window, etc will share most of the same functionality, and only differ by a few overridden methods
Member Typedef Documentation
Constructor & Destructor Documentation
| VCF::AbstractX11Control::AbstractX11Control |
( |
|
) |
|
|
| virtual VCF::AbstractX11Control::~AbstractX11Control |
( |
|
) |
[virtual] |
|
Member Function Documentation
| void VCF::AbstractX11Control::addUpdateRect |
( |
const Rect & |
updateRect |
) |
|
|
| virtual bool VCF::AbstractX11Control::beginSetBounds |
( |
const uint32 & |
numberOfChildren |
) |
[virtual] |
|
|
|
advanced function for changing the size of multiple child windows
Implements VCF::ControlPeer. |
| virtual void VCF::AbstractX11Control::endSetBounds |
( |
|
) |
[virtual] |
|
| virtual Rect* VCF::AbstractX11Control::getBounds |
( |
|
) |
[virtual] |
|
|
|
returns the bounds of the component in the coordinate system of the parent.
Implements VCF::ControlPeer. |
| virtual Control* VCF::AbstractX11Control::getControl |
( |
|
) |
[virtual] |
|
|
|
returns the component that this Peer is attached to.
Implements VCF::ControlPeer. |
| virtual int32 VCF::AbstractX11Control::getHandleID |
( |
|
) |
[inline, virtual] |
|
|
|
returns a ID that identifies this control.
On Win32 this corresponds to an HWND.
Implements VCF::ControlPeer. |
| virtual Control* VCF::AbstractX11Control::getParent |
( |
|
) |
[virtual] |
|
| virtual uint32 VCF::AbstractX11Control::getStyleMask |
( |
|
) |
[virtual] |
|
|
|
returns a bit-masked uint32 that contains style constants.
These style constants are defined in the VCF, and must be translated to the particular windowing system being used. |
| virtual String VCF::AbstractX11Control::getText |
( |
|
) |
[virtual] |
|
|
|
returns a text associated with the component.
This usually gets used in the Control::getCaption() method.
Implements VCF::ControlPeer. |
| virtual bool VCF::AbstractX11Control::getVisible |
( |
|
) |
[virtual] |
|
|
|
returns wether or not the component is currently visible.
Implements VCF::ControlPeer. |
| static AbstractX11Control* VCF::AbstractX11Control::getX11ControlFromXWindow |
( |
xLib::Window |
wndHandle |
) |
[static] |
|
| virtual void VCF::AbstractX11Control::handleEvent |
( |
XEvent * |
x11Event |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::handlePaintEvent |
( |
|
) |
[virtual] |
|
| static void VCF::AbstractX11Control::handleXEvent |
( |
xLib::Window |
wndHandle, |
|
|
XEvent * |
x11Event |
|
) |
[static] |
|
| virtual bool VCF::AbstractX11Control::isEnabled |
( |
|
) |
[virtual] |
|
| virtual bool VCF::AbstractX11Control::isFocused |
( |
|
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::keepMouseEvents |
( |
|
) |
[virtual] |
|
|
|
this keeps the mouse events being sent to this control, even is the mouse leaves the physical bounds of the control
Implements VCF::ControlPeer. |
| static void VCF::AbstractX11Control::registerX11Control |
( |
AbstractX11Control * |
x11Control |
) |
[static, protected] |
|
| virtual void VCF::AbstractX11Control::releaseMouseEvents |
( |
|
) |
[virtual] |
|
|
|
releases mouse events - goes back to normal event handling
Implements VCF::ControlPeer. |
| virtual void VCF::AbstractX11Control::repaint |
( |
Rect * |
repaintRect = NULL |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setBounds |
( |
Rect * |
rect |
) |
[virtual] |
|
|
|
sets the bounds for the component.
Bounds are specified in the coordinate system of the componenents parent.
Implements VCF::ControlPeer. |
| virtual void VCF::AbstractX11Control::setControl |
( |
Control * |
component |
) |
[virtual] |
|
|
|
attahces the Peer to a particular component.
This should only be done once.
Implements VCF::ControlPeer. |
| virtual void VCF::AbstractX11Control::setCursor |
( |
Cursor * |
cursor |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setEnabled |
( |
const bool & |
enabled |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setFocus |
( |
const bool & |
focused |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setFont |
( |
Font * |
font |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setParent |
( |
Control * |
parent |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setStyleMask |
( |
const uint32 & |
styleMask |
) |
[virtual] |
|
|
|
sets the current style mask.
Should cause a repaint of the component, if neccessary. |
| virtual void VCF::AbstractX11Control::setText |
( |
const String & |
text |
) |
[virtual] |
|
| virtual void VCF::AbstractX11Control::setVisible |
( |
const bool & |
visible |
) |
[virtual] |
|
|
|
shows or hides the component.
This does NOT close the component (if invoked on a frame based component ).
Implements VCF::ControlPeer. |
| static void VCF::AbstractX11Control::unRegisterX11Control |
( |
AbstractX11Control * |
x11Control |
) |
[static, protected] |
|
Member Data Documentation
The documentation for this class was generated from the following file: