#include <CEGUISystem.h>
Inheritance diagram for CEGUI::System:
Public Types | |
typedef ConstBaseIterator< EventMap > | EventIterator |
Public Member Functions | |
System (Renderer *renderer, const utf8 *logFile=(const utf8 *)"CEGUI.log") | |
Constructs a System object. | |
System (Renderer *renderer, ResourceProvider *resourceProvider, const utf8 *logFile=(const utf8 *)"CEGUI.log") | |
Construct a new System object. | |
System (Renderer *renderer, ScriptModule *scriptModule, const utf8 *configFile=(const utf8 *)"cegui.config") | |
Construct a new System object. | |
System (Renderer *renderer, ScriptModule *scriptModule, ResourceProvider *resourceProvider, const utf8 *configFile=(const utf8 *)"cegui.config") | |
Construct a new System object. | |
System (Renderer *renderer, XMLParser *xmlParser, const utf8 *logFile=(const utf8 *)"CEGUI.log") | |
Constructs a System object. | |
System (Renderer *renderer, ResourceProvider *resourceProvider, XMLParser *xmlParser, const utf8 *logFile=(const utf8 *)"CEGUI.log") | |
Constructs a System object. | |
System (Renderer *renderer, XMLParser *xmlParser, ScriptModule *scriptModule, const utf8 *configFile=(const utf8 *)"cegui.config") | |
Construct a new System object. | |
System (Renderer *renderer, ResourceProvider *resourceProvider, XMLParser *xmlParser, ScriptModule *scriptModule, const utf8 *configFile=(const utf8 *)"cegui.config") | |
Construct a new System object. | |
~System (void) | |
Destructor for System objects. | |
Renderer * | getRenderer (void) const |
Return a pointer to the Renderer object being used by the system. | |
void | setDefaultFont (const String &name) |
Set the default font to be used by the system. | |
void | setDefaultFont (Font *font) |
Set the default font to be used by the system. | |
Font * | getDefaultFont (void) const |
Return a pointer to the default Font for the GUI system. | |
void | signalRedraw () |
Causes a full re-draw next time renderGUI() is called. | |
bool | isRedrawRequested () const |
Return a boolean value to indicate whether a full re-draw is requested next time renderGUI() is called. | |
void | renderGUI (void) |
Render the GUI. | |
Window * | setGUISheet (Window *sheet) |
Set the active GUI sheet (root) window. | |
Window * | getGUISheet (void) const |
Return a pointer to the active GUI sheet (root) window. | |
double | getSingleClickTimeout (void) const |
Return the current timeout for generation of single-click events. | |
double | getMultiClickTimeout (void) const |
Return the current timeout for generation of multi-click events. | |
const Size & | getMultiClickToleranceAreaSize (void) const |
Return the size of the allowable mouse movement tolerance used when generating multi-click events. | |
void | setSingleClickTimeout (double timeout) |
Set the timeout used for generation of single-click events. | |
void | setMultiClickTimeout (double timeout) |
Set the timeout to be used for the generation of multi-click events. | |
void | setMultiClickToleranceAreaSize (const Size &sz) |
Set the size of the allowable mouse movement tolerance used when generating multi-click events. | |
const Image * | getDefaultMouseCursor (void) const |
Return the currently set default mouse cursor image. | |
void | setDefaultMouseCursor (const Image *image) |
Set the image to be used as the default mouse cursor. | |
void | setDefaultMouseCursor (MouseCursorImage image) |
Set the image to be used as the default mouse cursor. | |
void | setDefaultMouseCursor (const String &imageset, const String &image_name) |
Set the image to be used as the default mouse cursor. | |
Window * | getWindowContainingMouse (void) const |
Return the Window object that the mouse is presently within. | |
ScriptModule * | getScriptingModule (void) const |
Return a pointer to the ScriptModule being used for scripting within the GUI system. | |
ResourceProvider * | getResourceProvider (void) const |
Return a pointer to the ResourceProvider being used within the GUI system. | |
void | executeScriptFile (const String &filename, const String &resourceGroup="") const |
Execute a script file if possible. | |
int | executeScriptGlobal (const String &function_name) const |
Execute a scripted global function if possible. The function should not take any parameters and should return an integer. | |
void | executeScriptString (const String &str) const |
If possible, execute script code contained in the given CEGUI::String object. | |
float | getMouseMoveScaling (void) const |
return the current mouse movement scaling factor. | |
void | setMouseMoveScaling (float scaling) |
Set the current mouse movement scaling factor. | |
void | notifyWindowDestroyed (const Window *window) |
Internal method used to inform the System object whenever a window is destroyed, so that System can perform any required housekeeping. | |
uint | getSystemKeys (void) const |
Return the current system keys value. | |
XMLParser * | getXMLParser (void) const |
Return the XMLParser object. | |
void | setTooltip (Tooltip *tooltip) |
Set the system default Tooltip object. This value may be NULL to indicate that no default Tooltip will be available. | |
void | setTooltip (const String &tooltipType) |
Set the system default Tooltip to be used by specifying a Window type. | |
Tooltip * | getDefaultTooltip (void) const |
return a poiter to the system default tooltip. May return 0. | |
void | setModalTarget (Window *target) |
Internal method to directly set the current modal target. | |
Window * | getModalTarget (void) const |
Return a pointer to the Window that is currently the modal target. | |
bool | injectMouseMove (float delta_x, float delta_y) |
Method that injects a mouse movement event into the system. | |
bool | injectMouseLeaves (void) |
Method that injects that the mouse has left the application window. | |
bool | injectMouseButtonDown (MouseButton button) |
Method that injects a mouse button down event into the system. | |
bool | injectMouseButtonUp (MouseButton button) |
Method that injects a mouse button up event into the system. | |
bool | injectKeyDown (uint key_code) |
Method that injects a key down event into the system. | |
bool | injectKeyUp (uint key_code) |
Method that injects a key up event into the system. | |
bool | injectChar (utf32 code_point) |
Method that injects a typed character event into the system. | |
bool | injectMouseWheelChange (float delta) |
Method that injects a mouse-wheel / scroll-wheel event into the system. | |
bool | injectMousePosition (float x_pos, float y_pos) |
Method that injects a new position for the mouse cursor. | |
bool | injectTimePulse (float timeElapsed) |
Method to inject time pulses into the system. | |
Singleton (void) | |
void | addEvent (const String &name) |
Add a new Event to the EventSet with the given name. | |
void | removeEvent (const String &name) |
Removes the Event with the given name. All connections to the event are disconnected. | |
void | removeAllEvents (void) |
Remove all Event objects from the EventSet. | |
bool | isEventPresent (const String &name) |
Checks to see if an Event with the given name is present in the EventSet. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Subscriber subscriber) |
Subscribes the named Event. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
Subscribes the specified group of the named Event. | |
virtual Event::Connection | subscribeScriptedEvent (const String &name, const String &subscriber_name) |
Subscribes the named Event to a scripted funtion. | |
virtual Event::Connection | subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name) |
Subscribes the specified group of the named Event to a scripted funtion. | |
virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
Fires the named event passing the given EventArgs object. | |
bool | isMuted (void) const |
Return whether the EventSet is muted or not. | |
void | setMutedState (bool setting) |
Set the mute state for this EventSet. | |
EventIterator | getIterator (void) const |
Return a EventSet::EventIterator object to iterate over the available events. | |
Static Public Member Functions | |
static System & | getSingleton (void) |
Return singleton System object. | |
static System * | getSingletonPtr (void) |
Return pointer to singleton System object. | |
Static Public Attributes | |
static const String | EventNamespace |
Namespace for global events. | |
static const double | DefaultSingleClickTimeout = 0.2 |
Default timeout for generation of single click events. | |
static const double | DefaultMultiClickTimeout = 0.33 |
Default timeout for generation of multi-click events. | |
static const Size | DefaultMultiClickAreaSize |
Default allowable mouse movement for multi-click event generation. | |
static const String | EventGUISheetChanged |
Name of event fired whenever the GUI sheet is changed. | |
static const String | EventSingleClickTimeoutChanged |
Name of event fired when the single-click timeout is changed. | |
static const String | EventMultiClickTimeoutChanged |
Name of event fired when the multi-click timeout is changed. | |
static const String | EventMultiClickAreaSizeChanged |
Name of event fired when the size of the multi-click tolerance area is changed. | |
static const String | EventDefaultFontChanged |
Name of event fired when the default font changes. | |
static const String | EventDefaultMouseCursorChanged |
Name of event fired when the default mouse cursor changes. | |
static const String | EventMouseMoveScalingChanged |
Name of event fired when the mouse move scaling factor changes. | |
Protected Types | |
typedef std::map< String, Event * > | EventMap |
Protected Attributes | |
EventMap | d_events |
bool | d_muted |
true if events for this EventSet have been muted. | |
Static Protected Attributes | |
static System * | ms_Singleton = NULL |
This object must be created by the client application. The System object requires that you pass it an initialised Renderer object which it can use to interface to whatever rendering system will be used to display the GUI imagery.
Definition at line 60 of file CEGUISystem.h.
|
Definition at line 255 of file CEGUIEventSet.h. |
|
Definition at line 246 of file CEGUIEventSet.h. |
|
Constructs a System object.
Definition at line 135 of file CEGUISystem.cpp. |
|
Construct a new System object.
Definition at line 143 of file CEGUISystem.cpp. |
|
Construct a new System object.
Definition at line 152 of file CEGUISystem.cpp. |
|
Construct a new System object.
Definition at line 162 of file CEGUISystem.cpp. |
|
Constructs a System object.
Definition at line 171 of file CEGUISystem.cpp. |
|
Constructs a System object.
Definition at line 180 of file CEGUISystem.cpp. |
|
Construct a new System object.
Definition at line 189 of file CEGUISystem.cpp. |
|
Construct a new System object.
Definition at line 198 of file CEGUISystem.cpp. |
|
|
|
Execute a script file if possible.
Definition at line 617 of file CEGUISystem.cpp. References CEGUI::Errors, CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). Referenced by ~System(). |
|
Execute a scripted global function if possible. The function should not take any parameters and should return an integer.
Definition at line 643 of file CEGUISystem.cpp. References CEGUI::Errors, CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
If possible, execute script code contained in the given CEGUI::String object.
Definition at line 670 of file CEGUISystem.cpp. References CEGUI::Errors, CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Fires the named event passing the given EventArgs object.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 160 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events, CEGUI::EventSet::d_muted, CEGUI::GlobalEventSet::fireEvent(), and CEGUI::GlobalEventSet::getSingleton(). Referenced by CEGUI::ScrollablePane::handleAutoSizePaneChanged(), CEGUI::Window::onActivated(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::ScrolledContainer::onAutoSizeSettingChanged(), CEGUI::ScrollablePane::onAutoSizeSettingChanged(), CEGUI::Window::onCaptureGained(), CEGUI::Window::onCaptureLost(), CEGUI::MultiLineEditbox::onCaratMoved(), CEGUI::Editbox::onCaratMoved(), CEGUI::Combobox::onCaratMoved(), CEGUI::Window::onCharacter(), CEGUI::Window::onChildAdded(), CEGUI::Window::onChildRemoved(), CEGUI::ListHeaderSegment::onClickableSettingChanged(), CEGUI::TabButton::onClicked(), CEGUI::PushButton::onClicked(), CEGUI::MenuItem::onClicked(), CEGUI::Window::onClippingChanged(), CEGUI::FrameWindow::onCloseClicked(), CEGUI::ScrolledContainer::onContentChanged(), CEGUI::ScrollablePane::onContentPaneChanged(), CEGUI::ScrollablePane::onContentPaneScrolled(), CEGUI::Window::onDeactivated(), CEGUI::Window::onDestructionStarted(), CEGUI::Window::onDisabled(), CEGUI::Tooltip::onDisplayTimeChanged(), CEGUI::DragContainer::onDragAlphaChanged(), CEGUI::Window::onDragDropItemDropped(), CEGUI::Window::onDragDropItemEnters(), CEGUI::Window::onDragDropItemLeaves(), CEGUI::DragContainer::onDragDropTargetChanged(), CEGUI::DragContainer::onDragEnabledChanged(), CEGUI::DragContainer::onDragEnded(), CEGUI::DragContainer::onDragMouseCursorChanged(), CEGUI::ListHeader::onDragMoveSettingChanged(), CEGUI::DragContainer::onDragPositionChanged(), CEGUI::ListHeader::onDragSizeSettingChanged(), CEGUI::DragContainer::onDragStarted(), CEGUI::DragContainer::onDragThresholdChanged(), CEGUI::Combobox::onDropListDisplayed(), CEGUI::Combobox::onDroplistRemoved(), CEGUI::MultiLineEditbox::onEditboxFullEvent(), CEGUI::Editbox::onEditboxFullEvent(), CEGUI::Combobox::onEditboxFullEvent(), CEGUI::Window::onEnabled(), CEGUI::Tooltip::onFadeTimeChanged(), CEGUI::Window::onFontChanged(), CEGUI::Window::onHidden(), CEGUI::Window::onHorizontalAlignmentChanged(), CEGUI::ScrollablePane::onHorzScrollbarModeChanged(), CEGUI::MultiLineEditbox::onHorzScrollbarModeChanged(), CEGUI::MultiColumnList::onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), CEGUI::Combobox::onHorzScrollbarModeChanged(), CEGUI::Tooltip::onHoverTimeChanged(), CEGUI::Window::onIDChanged(), CEGUI::MouseCursor::onImageChanged(), CEGUI::Window::onInheritsAlphaChanged(), CEGUI::Editbox::onInvalidEntryAttempted(), CEGUI::Combobox::onInvalidEntryAttempted(), CEGUI::Window::onKeyDown(), CEGUI::Window::onKeyUp(), CEGUI::MultiColumnList::onListColumnMoved(), CEGUI::MultiColumnList::onListColumnSized(), CEGUI::MultiColumnList::onListContentsChanged(), CEGUI::Listbox::onListContentsChanged(), CEGUI::ItemListBase::onListContentsChanged(), CEGUI::Combobox::onListContentsChanged(), CEGUI::ComboDropList::onListSelectionAccepted(), CEGUI::Combobox::onListSelectionAccepted(), CEGUI::Combobox::onListSelectionChanged(), CEGUI::Editbox::onMaskCodePointChanged(), CEGUI::Editbox::onMaskedRenderingModeChanged(), CEGUI::MultiLineEditbox::onMaximumTextLengthChanged(), CEGUI::Editbox::onMaximumTextLengthChanged(), CEGUI::Combobox::onMaximumTextLengthChanged(), CEGUI::Spinner::onMaximumValueChanged(), CEGUI::Window::onMetricsChanged(), CEGUI::Spinner::onMinimumValueChanged(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseButtonUp(), CEGUI::Window::onMouseClicked(), CEGUI::Window::onMouseDoubleClicked(), CEGUI::Window::onMouseEnters(), CEGUI::Window::onMouseLeaves(), CEGUI::Window::onMouseMove(), CEGUI::Window::onMouseTripleClicked(), CEGUI::Window::onMouseWheel(), CEGUI::ListHeaderSegment::onMovableSettingChanged(), CEGUI::Window::onMoved(), CEGUI::Listbox::onMultiselectModeChanged(), CEGUI::MultiColumnList::onNominatedSelectColumnChanged(), CEGUI::MultiColumnList::onNominatedSelectRowChanged(), CEGUI::Window::onParentDestroyChanged(), CEGUI::Window::onParentSized(), CEGUI::MenuBase::onPopupClosed(), CEGUI::MenuBase::onPopupOpened(), CEGUI::ProgressBar::onProgressChanged(), CEGUI::ProgressBar::onProgressDone(), CEGUI::MultiLineEditbox::onReadOnlyChanged(), CEGUI::Editbox::onReadOnlyChanged(), CEGUI::Combobox::onReadOnlyChanged(), CEGUI::Window::onRenderingEnded(), CEGUI::Window::onRenderingStarted(), CEGUI::FrameWindow::onRollupToggled(), CEGUI::Scrollbar::onScrollConfigChanged(), CEGUI::Scrollbar::onScrollPositionChanged(), CEGUI::ListHeader::onSegmentAdded(), CEGUI::ListHeaderSegment::onSegmentClicked(), CEGUI::ListHeader::onSegmentClicked(), CEGUI::ListHeaderSegment::onSegmentDragPositionChanged(), CEGUI::ListHeaderSegment::onSegmentDragStart(), CEGUI::ListHeaderSegment::onSegmentDragStop(), CEGUI::ListHeader::onSegmentOffsetChanged(), CEGUI::ListHeader::onSegmentRemoved(), CEGUI::ListHeader::onSegmentSequenceChanged(), CEGUI::ListHeaderSegment::onSegmentSized(), CEGUI::ListHeader::onSegmentSized(), CEGUI::TabControl::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionChanged(), CEGUI::Listbox::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionModeChanged(), CEGUI::Checkbox::onSelectStateChange(), CEGUI::RadioButton::onSelectStateChanged(), CEGUI::Window::onShown(), CEGUI::Window::onSized(), CEGUI::ListHeaderSegment::onSizingSettingChanged(), CEGUI::MultiColumnList::onSortColumnChanged(), CEGUI::ListHeader::onSortColumnChanged(), CEGUI::MultiColumnList::onSortDirectionChanged(), CEGUI::ListHeaderSegment::onSortDirectionChanged(), CEGUI::ListHeader::onSortDirectionChanged(), CEGUI::Listbox::onSortModeChanged(), CEGUI::Combobox::onSortModeChanged(), CEGUI::ListHeader::onSortSettingChanged(), CEGUI::ListHeaderSegment::onSplitterDoubleClicked(), CEGUI::ListHeader::onSplitterDoubleClicked(), CEGUI::Spinner::onStepChanged(), CEGUI::Editbox::onTextAcceptedEvent(), CEGUI::Combobox::onTextAcceptedEvent(), CEGUI::Window::onTextChanged(), CEGUI::Spinner::onTextInputModeChanged(), CEGUI::Editbox::onTextInvalidatedEvent(), CEGUI::Combobox::onTextInvalidatedEvent(), CEGUI::MultiLineEditbox::onTextSelectionChanged(), CEGUI::Editbox::onTextSelectionChanged(), CEGUI::Combobox::onTextSelectionChanged(), CEGUI::Thumb::onThumbPositionChanged(), CEGUI::Thumb::onThumbTrackEnded(), CEGUI::Slider::onThumbTrackEnded(), CEGUI::Scrollbar::onThumbTrackEnded(), CEGUI::Thumb::onThumbTrackStarted(), CEGUI::Slider::onThumbTrackStarted(), CEGUI::Scrollbar::onThumbTrackStarted(), CEGUI::Tooltip::onTooltipActive(), CEGUI::Tooltip::onTooltipInactive(), CEGUI::Editbox::onValidationStringChanged(), CEGUI::Combobox::onValidationStringChanged(), CEGUI::Spinner::onValueChanged(), CEGUI::Slider::onValueChanged(), CEGUI::Window::onVerticalAlignmentChanged(), CEGUI::ScrollablePane::onVertScrollbarModeChanged(), CEGUI::MultiLineEditbox::onVertScrollbarModeChanged(), CEGUI::MultiColumnList::onVertScrollbarModeChanged(), CEGUI::Listbox::onVertScrollbarModeChanged(), CEGUI::Combobox::onVertScrollbarModeChanged(), CEGUI::MultiLineEditbox::onWordWrapModeChanged(), CEGUI::Window::onZChanged(), CEGUI::DirectX81Renderer::setDisplaySize(), CEGUI::OpenGLRenderer::setDisplaySize(), and CEGUI::DirectX9Renderer::setDisplaySize(). |
|
Return a pointer to the default Font for the GUI system.
Definition at line 294 of file CEGUISystem.h. Referenced by CEGUI::Window::getFont(), and CEGUI::ListboxTextItem::getFont(). |
|
Return the currently set default mouse cursor image.
Definition at line 447 of file CEGUISystem.h. Referenced by CEGUI::DragContainer::getDragCursorImage(), and CEGUI::Window::getMouseCursor(). |
|
return a poiter to the system default tooltip. May return 0.
Definition at line 653 of file CEGUISystem.h. Referenced by CEGUI::Window::getTooltip(). |
|
Return a pointer to the active GUI sheet (root) window.
Definition at line 349 of file CEGUISystem.h. Referenced by CEGUI::TabButton::onMouseButtonUp(), CEGUI::RadioButton::onMouseButtonUp(), CEGUI::PushButton::onMouseButtonUp(), CEGUI::Checkbox::onMouseButtonUp(), CEGUI::Tooltip::setTargetWindow(), CEGUI::MenuItem::updateInternalState(), and CEGUI::ButtonBase::updateInternalState(). |
|
Return a EventSet::EventIterator object to iterate over the available events.
Definition at line 203 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Return a pointer to the Window that is currently the modal target.
Definition at line 673 of file CEGUISystem.h. |
|
return the current mouse movement scaling factor.
Definition at line 694 of file CEGUISystem.cpp. |
|
Return the current timeout for generation of multi-click events. A multi-click event is a double-click, or a triple-click. The value returned here is the maximum allowable time between mouse button down events for which a multi-click event will be generated.
Definition at line 375 of file CEGUISystem.h. |
|
Return the size of the allowable mouse movement tolerance used when generating multi-click events. This size defines an area with the mouse at the centre. The mouse must stay within the tolerance defined for a multi-click (double click, or triple click) event to be generated.
Definition at line 388 of file CEGUISystem.h. |
|
Return a pointer to the Renderer object being used by the system.
Definition at line 238 of file CEGUISystem.h. Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Imageset_xmlHandler::elementStart(), CEGUI::MouseCursor::getConstraintArea(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::ScrolledContainer::getUnclippedInnerRect(), CEGUI::Window::getWindowSize_impl(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::TextItem::populateRenderCache(), CEGUI::MultiColumnList::populateRenderCache(), CEGUI::Listbox::populateRenderCache(), CEGUI::Window::render(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), CEGUI::Window::screenToWindowY(), CEGUI::MouseCursor::setConstraintArea(), CEGUI::MouseCursor::setUnifiedConstraintArea(), CEGUI::Window::setWindowArea_impl(), and CEGUI::Imageset::unload(). |
|
Return a pointer to the ResourceProvider being used within the GUI system.
Definition at line 609 of file CEGUISystem.cpp. Referenced by CEGUI::XercesParser::doParse(), CEGUI::XercesParser::initialiseSchema(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::OpenGLTexture::loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), and CEGUI::TinyXMLDocument::TinyXMLDocument(). |
|
Return a pointer to the ScriptModule being used for scripting within the GUI system.
Definition at line 600 of file CEGUISystem.cpp. Referenced by CEGUI::ScriptFunctor::operator()(). |
|
Return the current timeout for generation of single-click events. A single-click is defined here as a button being pressed and then released.
Definition at line 361 of file CEGUISystem.h. |
|
Return singleton System object.
Reimplemented from CEGUI::Singleton< System >. Definition at line 1261 of file CEGUISystem.cpp. Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), CEGUI::FontManager::createFont(), CEGUI::WindowManager::destroyWindow(), CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::XercesParser::doParse(), CEGUI::MouseCursor::draw(), CEGUI::Imageset_xmlHandler::elementStart(), CEGUI::Window::generateAutoRepeatEvent(), CEGUI::WindowProperties::AbsoluteMaxSize::get(), CEGUI::WindowProperties::AbsoluteMinSize::get(), CEGUI::WindowProperties::RelativeMaxSize::get(), CEGUI::WindowProperties::RelativeMinSize::get(), CEGUI::MouseCursor::getConstraintArea(), CEGUI::WindowProperties::AbsoluteMaxSize::getDefault(), CEGUI::MouseCursor::getDisplayIndependantPosition(), CEGUI::DragContainer::getDragCursorImage(), CEGUI::Window::getFont(), CEGUI::ListboxTextItem::getFont(), CEGUI::Window::getInnerRect(), CEGUI::Window::getMaximumSize(), CEGUI::Window::getMinimumSize(), CEGUI::Window::getModalState(), CEGUI::Window::getMouseCursor(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::Window::getPixelRect(), CEGUI::Tooltip::getTextSize(), CEGUI::Window::getTooltip(), CEGUI::ScrolledContainer::getUnclippedInnerRect(), CEGUI::Window::getWindowSize_impl(), CEGUI::XercesParser::initialiseSchema(), CEGUI::Imageset::load(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::OpenGLTexture::loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), CEGUI::WindowManager::loadWindowLayout(), CEGUI::MouseCursor::MouseCursor(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::Window::onCaptureLost(), CEGUI::Window::onChildAdded(), CEGUI::Window::onChildRemoved(), CEGUI::DragContainer::onDragPositionChanged(), CEGUI::EventPusher::OnKeyDown(), CEGUI::EventPusher::OnKeyUp(), CEGUI::EventPusher::OnMouse(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::TabButton::onMouseButtonUp(), CEGUI::RadioButton::onMouseButtonUp(), CEGUI::PushButton::onMouseButtonUp(), CEGUI::MenuItem::onMouseButtonUp(), CEGUI::Checkbox::onMouseButtonUp(), CEGUI::FrameWindow::onMouseMove(), CEGUI::Window::onMoved(), CEGUI::Window::onZChanged(), CEGUI::ScriptFunctor::operator()(), CEGUI::WidgetLookManager::parseLookNFeelSpecification(), CEGUI::TextItem::populateRenderCache(), CEGUI::MultiColumnList::populateRenderCache(), CEGUI::Listbox::populateRenderCache(), CEGUI::Tooltip::positionSelf(), CEGUI::DirectX81Renderer::postD3DReset(), CEGUI::DirectX9Renderer::postD3DReset(), CEGUI::Window::render(), CEGUI::RenderCache::render(), CEGUI::Window::requestRedraw(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), CEGUI::Window::screenToWindowY(), CEGUI::WindowProperties::Font::set(), CEGUI::WindowProperties::AbsoluteMaxSize::set(), CEGUI::WindowProperties::AbsoluteMinSize::set(), CEGUI::WindowProperties::RelativeMaxSize::set(), CEGUI::WindowProperties::RelativeMinSize::set(), CEGUI::FrameWindowProperties::TitlebarFont::set(), CEGUI::Font::setAntiAliased(), CEGUI::MouseCursor::setConstraintArea(), CEGUI::Window::setModalState(), CEGUI::Imageset::setNativeResolution(), CEGUI::Font::setNativeResolution(), CEGUI::Tooltip::setTargetWindow(), CEGUI::MouseCursor::setUnifiedConstraintArea(), CEGUI::Window::setWindowArea_impl(), CEGUI::TinyXMLDocument::TinyXMLDocument(), CEGUI::Imageset::unload(), CEGUI::MenuItem::updateInternalState(), and CEGUI::ButtonBase::updateInternalState(). |
|
Return pointer to singleton System object.
Reimplemented from CEGUI::Singleton< System >. Definition at line 1267 of file CEGUISystem.cpp. |
|
Return the current system keys value.
Definition at line 604 of file CEGUISystem.h. Referenced by CEGUI::Window::generateAutoRepeatEvent(). |
|
Return the Window object that the mouse is presently within.
Definition at line 502 of file CEGUISystem.h. |
|
Return the XMLParser object.
Definition at line 610 of file CEGUISystem.h. Referenced by CEGUI::Imageset::load(), CEGUI::WindowManager::loadWindowLayout(), and CEGUI::WidgetLookManager::parseLookNFeelSpecification(). |
|
Method that injects a typed character event into the system.
Definition at line 990 of file CEGUISystem.cpp. References CEGUI::KeyEventArgs::codepoint, CEGUI::EventArgs::handled, CEGUI::Window::onCharacter(), CEGUI::KeyEventArgs::sysKeys, and CEGUI::WindowEventArgs::window. Referenced by CEGUI::EventPusher::OnKeyDown(). |
|
Method that injects a key down event into the system.
Definition at line 928 of file CEGUISystem.cpp. References CEGUI::EventArgs::handled, CEGUI::Window::onKeyDown(), CEGUI::KeyEventArgs::scancode, CEGUI::KeyEventArgs::sysKeys, and CEGUI::WindowEventArgs::window. Referenced by CEGUI::EventPusher::OnKeyDown(). |
|
Method that injects a key up event into the system.
Definition at line 959 of file CEGUISystem.cpp. References CEGUI::EventArgs::handled, CEGUI::Window::onKeyUp(), CEGUI::KeyEventArgs::scancode, CEGUI::KeyEventArgs::sysKeys, and CEGUI::WindowEventArgs::window. Referenced by CEGUI::EventPusher::OnKeyUp(). |
|
Method that injects a mouse button down event into the system.
Definition at line 796 of file CEGUISystem.cpp. References CEGUI::MouseEventArgs::button, CEGUI::MouseClickTrackerImpl::click_trackers, CEGUI::MouseEventArgs::clickCount, CEGUI::MouseClickTracker::d_click_area, CEGUI::MouseClickTracker::d_click_count, CEGUI::Size::d_height, CEGUI::MouseClickTracker::d_timer, CEGUI::Size::d_width, CEGUI::SimpleTimer::elapsed(), CEGUI::MouseCursor::getPosition(), CEGUI::MouseCursor::getSingleton(), CEGUI::EventArgs::handled, CEGUI::Rect::isPointInRect(), CEGUI::MouseEventArgs::moveDelta, CEGUI::Rect::offset(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseDoubleClicked(), CEGUI::Window::onMouseTripleClicked(), CEGUI::MouseEventArgs::position, CEGUI::SimpleTimer::restart(), CEGUI::Rect::setPosition(), CEGUI::Rect::setSize(), CEGUI::MouseEventArgs::sysKeys, CEGUI::Window::wantsMultiClickEvents(), CEGUI::MouseEventArgs::wheelChange, and CEGUI::WindowEventArgs::window. Referenced by CEGUI::EventPusher::OnMouse(). |
|
Method that injects a mouse button up event into the system.
Definition at line 876 of file CEGUISystem.cpp. References CEGUI::MouseEventArgs::button, CEGUI::MouseClickTrackerImpl::click_trackers, CEGUI::MouseEventArgs::clickCount, CEGUI::MouseClickTracker::d_click_count, CEGUI::MouseClickTracker::d_timer, CEGUI::SimpleTimer::elapsed(), CEGUI::MouseCursor::getPosition(), CEGUI::MouseCursor::getSingleton(), CEGUI::EventArgs::handled, CEGUI::MouseEventArgs::moveDelta, CEGUI::Window::onMouseButtonUp(), CEGUI::Window::onMouseClicked(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, CEGUI::MouseEventArgs::wheelChange, and CEGUI::WindowEventArgs::window. Referenced by CEGUI::EventPusher::OnMouse(). |
|
Method that injects that the mouse has left the application window.
Definition at line 769 of file CEGUISystem.cpp. References CEGUI::MouseEventArgs::button, CEGUI::MouseEventArgs::clickCount, CEGUI::MouseCursor::getPosition(), CEGUI::MouseCursor::getSingleton(), CEGUI::EventArgs::handled, CEGUI::MouseEventArgs::moveDelta, CEGUI::NoButton, CEGUI::Window::onMouseLeaves(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, CEGUI::MouseEventArgs::wheelChange, and CEGUI::WindowEventArgs::window. |
|
Method that injects a mouse movement event into the system.
Definition at line 716 of file CEGUISystem.cpp. References CEGUI::MouseEventArgs::clickCount, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::MouseCursor::getPosition(), CEGUI::MouseCursor::getSingleton(), CEGUI::EventArgs::handled, CEGUI::MouseEventArgs::moveDelta, CEGUI::MouseCursor::offsetPosition(), CEGUI::Window::onMouseEnters(), CEGUI::Window::onMouseLeaves(), CEGUI::Window::onMouseMove(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, CEGUI::MouseEventArgs::wheelChange, and CEGUI::WindowEventArgs::window. Referenced by injectMousePosition(), CEGUI::Window::onCaptureLost(), and CEGUI::EventPusher::OnMouse(). |
|
Method that injects a new position for the mouse cursor.
Definition at line 1045 of file CEGUISystem.cpp. References CEGUI::MouseCursor::getSingleton(), injectMouseMove(), and CEGUI::MouseCursor::setPosition(). |
|
Method that injects a mouse-wheel / scroll-wheel event into the system.
Definition at line 1018 of file CEGUISystem.cpp. References CEGUI::MouseEventArgs::button, CEGUI::MouseEventArgs::clickCount, CEGUI::MouseCursor::getPosition(), CEGUI::MouseCursor::getSingleton(), CEGUI::EventArgs::handled, CEGUI::MouseEventArgs::moveDelta, CEGUI::NoButton, CEGUI::Window::onMouseWheel(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, CEGUI::MouseEventArgs::wheelChange, and CEGUI::WindowEventArgs::window. Referenced by CEGUI::EventPusher::OnMouse(). |
|
Method to inject time pulses into the system.
Definition at line 1058 of file CEGUISystem.cpp. References CEGUI::Window::update(). |
|
Checks to see if an Event with the given name is present in the EventSet.
Definition at line 102 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::addEvent(). |
|
Return whether the EventSet is muted or not.
Definition at line 184 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged(). |
|
Return a boolean value to indicate whether a full re-draw is requested next time renderGUI() is called.
Definition at line 314 of file CEGUISystem.h. |
|
Internal method used to inform the System object whenever a window is destroyed, so that System can perform any required housekeeping.
Definition at line 1419 of file CEGUISystem.cpp. Referenced by CEGUI::WindowManager::destroyWindow(). |
|
Remove all Event objects from the EventSet.
Definition at line 85 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::~EventSet(). |
|
Removes the Event with the given name. All connections to the event are disconnected.
Definition at line 69 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Render the GUI. Depending upon the internal state, this may either re-use rendering from last time, or trigger a full re-draw from all elements.
Definition at line 478 of file CEGUISystem.cpp. References CEGUI::WindowManager::cleanDeadPool(), CEGUI::Renderer::clearRenderList(), CEGUI::Renderer::doRender(), CEGUI::MouseCursor::draw(), CEGUI::WindowManager::getSingleton(), CEGUI::MouseCursor::getSingleton(), CEGUI::Window::render(), CEGUI::Renderer::resetZValue(), and CEGUI::Renderer::setQueueingEnabled(). |
|
Set the default font to be used by the system.
Definition at line 559 of file CEGUISystem.cpp. |
|
Set the default font to be used by the system.
Definition at line 542 of file CEGUISystem.cpp. References CEGUI::String::empty(), and CEGUI::FontManager::getSingleton(). Referenced by CEGUI::FontManager::createFont(). |
|
Set the image to be used as the default mouse cursor.
Definition at line 590 of file CEGUISystem.cpp. References CEGUI::ImagesetManager::getSingleton(), and setDefaultMouseCursor(). |
|
Set the image to be used as the default mouse cursor.
Definition at line 474 of file CEGUISystem.h. |
|
Set the image to be used as the default mouse cursor.
Definition at line 572 of file CEGUISystem.cpp. References CEGUI::DefaultMouseCursor. Referenced by setDefaultMouseCursor(). |
|
Set the active GUI sheet (root) window.
Definition at line 518 of file CEGUISystem.cpp. References CEGUI::Window::onParentSized(). |
|
Internal method to directly set the current modal target.
Definition at line 664 of file CEGUISystem.h. Referenced by CEGUI::Window::setModalState(). |
|
Set the current mouse movement scaling factor.
Definition at line 703 of file CEGUISystem.cpp. |
|
Set the timeout to be used for the generation of multi-click events. A multi-click event is a double-click, or a triple-click. The value returned here is the maximum allowable time between mouse button down events for which a multi-click event will be generated.
Definition at line 1290 of file CEGUISystem.cpp. |
|
Set the size of the allowable mouse movement tolerance used when generating multi-click events. This size defines an area with the mouse at the centre. The mouse must stay within the tolerance defined for a multi-click (double click, or triple click) event to be generated.
Definition at line 1304 of file CEGUISystem.cpp. |
|
Set the mute state for this EventSet.
Definition at line 193 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged(). |
|
Set the timeout used for generation of single-click events. A single-click is defined here as a button being pressed and then released.
Definition at line 1277 of file CEGUISystem.cpp. |
|
Set the system default Tooltip to be used by specifying a Window type. System will internally attempt to create an instance of the specified window type (which must be derived from the base Tooltip class). If the Tooltip creation fails, the error is logged and no system default Tooltip will be available.
Definition at line 1449 of file CEGUISystem.cpp. References CEGUI::WindowManager::createWindow(), CEGUI::WindowManager::destroyWindow(), CEGUI::String::empty(), and CEGUI::WindowManager::getSingleton(). |
|
Set the system default Tooltip object. This value may be NULL to indicate that no default Tooltip will be available.
Definition at line 1438 of file CEGUISystem.cpp. References CEGUI::WindowManager::destroyWindow(), and CEGUI::WindowManager::getSingleton(). |
|
Causes a full re-draw next time renderGUI() is called.
Definition at line 304 of file CEGUISystem.h. Referenced by CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::Window::onChildAdded(), CEGUI::Window::onChildRemoved(), CEGUI::Window::onMoved(), CEGUI::Window::onZChanged(), CEGUI::DirectX81Renderer::postD3DReset(), CEGUI::DirectX9Renderer::postD3DReset(), and CEGUI::Window::requestRedraw(). |
|
Definition at line 58 of file CEGUISingleton.h. |
|
Subscribes the specified group of the named Event.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 145 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Subscribes the named Event.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 129 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::TabControl::addTab(), CEGUI::ListHeader::createInitialisedSegment(), CEGUI::StaticText::initialise(), CEGUI::Spinner::initialise(), CEGUI::Slider::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::ScrollablePane::initialise(), CEGUI::MultiLineEditbox::initialise(), CEGUI::MultiColumnList::initialise(), CEGUI::Listbox::initialise(), CEGUI::Combobox::initialise(), CEGUI::ScrolledContainer::onChildAdded(), and CEGUI::EventSet::subscribeScriptedEvent(). |
|
Subscribes the specified group of the named Event to a scripted funtion.
Definition at line 120 of file CEGUIEventSet.cpp. References CEGUI::EventSet::subscribeEvent(). |
|
Subscribes the named Event to a scripted funtion.
Definition at line 111 of file CEGUIEventSet.cpp. References CEGUI::EventSet::subscribeEvent(). |
|
Definition at line 247 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::addEvent(), CEGUI::GlobalEventSet::fireEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::getIterator(), CEGUI::EventSet::isEventPresent(), CEGUI::EventSet::removeAllEvents(), CEGUI::EventSet::removeEvent(), CEGUI::GlobalEventSet::subscribeEvent(), and CEGUI::EventSet::subscribeEvent(). |
|
true if events for this EventSet have been muted.
Definition at line 249 of file CEGUIEventSet.h. Referenced by CEGUI::GlobalEventSet::fireEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::isMuted(), and CEGUI::EventSet::setMutedState(). |
|
Default allowable mouse movement for multi-click event generation.
|
|
Default timeout for generation of multi-click events.
Definition at line 119 of file CEGUISystem.cpp. |
|
Default timeout for generation of single click events.
Definition at line 118 of file CEGUISystem.cpp. |
|
Name of event fired when the default font changes.
|
|
Name of event fired when the default mouse cursor changes.
|
|
Name of event fired whenever the GUI sheet is changed.
|
|
Name of event fired when the mouse move scaling factor changes.
|
|
Name of event fired when the size of the multi-click tolerance area is changed.
|
|
Name of event fired when the multi-click timeout is changed.
|
|
Namespace for global events.
|
|
Name of event fired when the single-click timeout is changed.
|
|
Definition at line 115 of file CEGUISystem.cpp. |