
#include <GUIExposition.h>
Inheritance diagram for GUIManifester:

Public Member Functions | |
| GUIManifester (Exposer &exposer, array_type &elements) | |
| Initializes the manifester with the specified exposer and factory vector. | |
| vector< Arrangement > | BuildWindow () |
| The generic GUI exposer construction implementation. | |
| virtual void | ManifestExposer ()=0 |
| The function responsible for manifestering the exposer (e.g., constructing and showing the GUI window) Some manifester classes may want to keep track of the manifester currently being created. | |
| virtual void | Measure (string const &text, int &width, int &height)=0 |
| Measures the size text will take on the screen. | |
| int | GetHeight () |
| Returns the height of the GUI. | |
| int | GetWidth () |
| Returns the width of the GUI. | |
| virtual void | Update (Expo *expo) |
| Updates the GUI element associated with the specified exposition. | |
Protected Attributes | |
| std::map< void *, GUIElement * > | link |
| Maps some incarnation of the GUI element (typically one returned by the GUI library when a callback/action occurs) to its corresponding GUI element. | |
| std::map< Expo *, GUIElement * > | link_expo |
| Maps expositions to their correspondind GUI elements. | |
| array_type & | elements |
| Reference to the vector of all available element factories. | |
| int | w |
| Width and height of the GUI. | |
|
|
The generic GUI exposer construction implementation. Currently just stacks the elements vertically. |
|
|
The function responsible for manifestering the exposer (e.g., constructing and showing the GUI window) Some manifester classes may want to keep track of the manifester currently being created. These should call StartManifesting and DoneManifesting at the beginning end of their ManifestExposer function. Implements ExposerManifester. |