|
Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Inheritance diagram for ElasticWindowEffect:
Collaboration diagram for ElasticWindowEffect:Public Member Functions | |
| ElasticWindowEffect (CEGUI::Window *window) | |
| int | getPassCount () const |
| Return the number of passes required by this effect. More... | |
| void | performPreRenderFunctions (const int pass) |
| Function called prior to RenderingWindow::draw being called. This is intended to be used for any required setup / state initialisation and is called once for each pass in the effect. More... | |
| void | performPostRenderFunctions () |
| Function called after RenderingWindow::draw is called. This is intended to be used for any required cleanup / state restoration. This function is called once only, unlike performPreRenderFunctions which may be called multiple times; once for each pass in the effect. More... | |
| bool | realiseGeometry (CEGUI::RenderingWindow &window, CEGUI::GeometryBuffer &geometry) |
| Function called to generate geometry for the RenderingWindow. More... | |
| bool | update (const float elapsed, CEGUI::RenderingWindow &window) |
| Function called to perform any time based updates on the RenderEffect state. More... | |
Protected Attributes | |
| CEGUI::Vector2f | d_currentPosition |
| CEGUI::Vector2f | d_currentVelocity |
| bool | d_initialised |
| CEGUI::Vertex | d_vertices [ds_vertexCount] |
| CEGUI::Window * | d_window |
Static Protected Attributes | |
| static const unsigned int | ds_vertexCount = 6 |
|
virtual |
Return the number of passes required by this effect.
Implements CEGUI::RenderEffect.
|
virtual |
Function called after RenderingWindow::draw is called. This is intended to be used for any required cleanup / state restoration. This function is called once only, unlike performPreRenderFunctions which may be called multiple times; once for each pass in the effect.
Implements CEGUI::RenderEffect.
|
virtual |
Function called prior to RenderingWindow::draw being called. This is intended to be used for any required setup / state initialisation and is called once for each pass in the effect.
| pass | Indicates the pass number to be initialised (starting at pass 0). |
Implements CEGUI::RenderEffect.
|
virtual |
Function called to generate geometry for the RenderingWindow.
The geometry generated should be fully unclipped and window local. The origin for the geometry is located at the top-left corner.
| window | The RenderingWindow object that is being processed. |
| geometry | GeometryBuffer object where the generated geometry should be added. This object will be cleared before this function is invoked. |
Implements CEGUI::RenderEffect.
References CEGUI::GeometryBuffer::appendGeometry(), CEGUI::RenderingWindow::getPosition(), CEGUI::RenderingWindow::getSize(), CEGUI::TextureTarget::getTexture(), CEGUI::RenderingWindow::getTextureTarget(), CEGUI::TextureTarget::isRenderingInverted(), and CEGUI::GeometryBuffer::setActiveTexture().
|
virtual |
Function called to perform any time based updates on the RenderEffect state.
| elapsed | The number of seconds that have elapsed since the last time this function was called. |
| window | RenderingWindow object that the RenderEffect is being applied to. |
Implements CEGUI::RenderEffect.
References CEGUI::Element::addChild(), CEGUI::Combobox::addItem(), CEGUI::RenderEffectManager::create(), CEGUI::WindowManager::createWindow(), CEGUI::Combobox::EventListSelectionAccepted, CEGUI::Window::getChild(), CEGUI::GUIContext::getMouseCursor(), CEGUI::Window::getParent(), CEGUI::RenderingWindow::getPosition(), CEGUI::Window::getRenderingSurface(), CEGUI::Combobox::getSelectedItem(), CEGUI::WindowManager::loadLayoutFromFile(), CEGUI::FrameWindow::setCloseButtonEnabled(), CEGUI::GUIContext::setDefaultFont(), CEGUI::MouseCursor::setDefaultImage(), CEGUI::Combobox::setItemSelectState(), CEGUI::Element::setPosition(), CEGUI::PropertySet::setProperty(), CEGUI::RenderingWindow::setRenderEffect(), CEGUI::Element::setSize(), CEGUI::FrameWindow::setSizingEnabled(), CEGUI::Window::setText(), CEGUI::FrameWindow::setTitleBarEnabled(), CEGUI::EventSet::subscribeEvent(), and CEGUI::WindowEventArgs::window.