FIFE
|
Overrides Guichan Graphics to enable usage of normal fife images & related facilities. More...
#include <opengle_gui_graphics.h>
Inherits OpenGLGraphics.
Public Member Functions | |
OpenGLeGuiGraphics () | |
Constructor. More... | |
virtual void | drawImage (const gcn::Image *image, int32_t srcX, int32_t srcY, int32_t dstX, int32_t dstY, int32_t width, int32_t height) |
virtual void | drawText (const std::string &text, int32_t x, int32_t y, uint32_t alignment) |
virtual void | drawPoint (int32_t x, int32_t y) |
virtual void | drawLine (int32_t x1, int32_t y1, int32_t x2, int32_t y2) |
virtual void | drawRectangle (const gcn::Rectangle &rectangle) |
virtual void | fillRectangle (const gcn::Rectangle &rectangle) |
virtual void | _beginDraw () |
virtual void | _endDraw () |
virtual bool | pushClipArea (gcn::Rectangle area) |
virtual void | popClipArea () |
virtual void | setColor (const gcn::Color &color) |
Private Attributes | |
RenderBackendOpenGLe * | m_renderbackend |
Overrides Guichan Graphics to enable usage of normal fife images & related facilities.
Definition at line 39 of file opengle_gui_graphics.h.
FIFE::OpenGLeGuiGraphics::OpenGLeGuiGraphics | ( | ) |
Constructor.
Definition at line 51 of file opengle_gui_graphics.cpp.
References FIFE::DynamicSingleton< RenderBackend >::instance(), and m_renderbackend.
|
virtual |
Definition at line 133 of file opengle_gui_graphics.cpp.
References m_renderbackend, and FIFE::RenderBackend::pushClipArea().
|
virtual |
Definition at line 139 of file opengle_gui_graphics.cpp.
References m_renderbackend, FIFE::RenderBackend::popClipArea(), and FIFE::RenderBackendOpenGLe::renderVertexArrays().
|
virtual |
Definition at line 59 of file opengle_gui_graphics.cpp.
References FIFE::GuiImage::getFIFEImage(), and FIFE::Image::render().
|
virtual |
Definition at line 99 of file opengle_gui_graphics.cpp.
References FIFE::RenderBackendOpenGLe::drawLine(), m_renderbackend, FIFE::RenderBackendOpenGLe::putPixel(), FIFE::PointType2D< T >::x, and FIFE::PointType2D< T >::y.
|
virtual |
Definition at line 93 of file opengle_gui_graphics.cpp.
References m_renderbackend, and FIFE::RenderBackendOpenGLe::putPixel().
|
virtual |
Definition at line 117 of file opengle_gui_graphics.cpp.
References FIFE::RenderBackendOpenGLe::drawRectangle(), and m_renderbackend.
|
virtual |
Definition at line 69 of file opengle_gui_graphics.cpp.
References FIFE::_log, and FL_WARN.
|
virtual |
Definition at line 125 of file opengle_gui_graphics.cpp.
References FIFE::RenderBackendOpenGLe::fillRectangle(), and m_renderbackend.
|
virtual |
Definition at line 163 of file opengle_gui_graphics.cpp.
References m_renderbackend, FIFE::RenderBackend::popClipArea(), and FIFE::RenderBackendOpenGLe::renderVertexArrays().
|
virtual |
Definition at line 147 of file opengle_gui_graphics.cpp.
References m_renderbackend, FIFE::RenderBackend::pushClipArea(), and FIFE::RenderBackendOpenGLe::renderVertexArrays().
|
virtual |
Definition at line 170 of file opengle_gui_graphics.cpp.
|
private |
Definition at line 61 of file opengle_gui_graphics.h.
Referenced by _beginDraw(), _endDraw(), drawLine(), drawPoint(), drawRectangle(), fillRectangle(), OpenGLeGuiGraphics(), popClipArea(), and pushClipArea().