logo
Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related

GUIToolkit::Component Class Reference

Base Class for all Components. More...

#include <Component.h>

Inheritance diagram for GUIToolkit::Component:

GUIToolkit::Button GUIToolkit::ComboBox GUIToolkit::DBCanvas GUIToolkit::divider GUIToolkit::Label GUIToolkit::MCanvas GUIToolkit::menuItem GUIToolkit::popupMenu GUIToolkit::ScrollBar GUIToolkit::TextBox SynthGUI::AInput SynthGUI::SlideInput List of all members.

Public Methods

 Component ()
 Constructor.

virtual ~Component ()
 Destructor.

virtual void HandleEvents (event e)
 If an user eventhandler is associated with the component, it will be called.

virtual void setEventHandler (EventHandler *eh)
 Specify an user event handler.

virtual HWND getHWND ()
 Returns window-handle.

virtual void draw ()
 For components not capable of redrawing themselves.


Protected Attributes

EventHandler * myEventHandler
HMENU ID
WinForm * topWF

Detailed Description

Base Class for all Components.

Definition at line 25 of file Component.h.


Member Function Documentation

virtual void GUIToolkit::Component::draw (    )  [inline, virtual]
 

For components not capable of redrawing themselves.

Todo:
what uses this?

Reimplemented in GUIToolkit::MCanvas.

Definition at line 47 of file Component.h.


The documentation for this class was generated from the following files:
Syntopia Project. Visit the web page, or the SourceForge page.
Docs made by Doxygen. Email: Mikael Christensen