#include <RenderUtil.h>
Classes | |
| struct | Vertex |
Public Member Functions | |
| RenderUtil (Shell *const shell) | |
| RenderUtil (Shell *const shell, const faces::Face::TextStyle *const text_style) | |
| virtual | ~RenderUtil (void) |
| bool | Prepare () |
| bool | DrawTriangleStrip (unsigned vertex_count, const Vertex *vertices) |
| bool | DrawIndexedTriangleStrip (unsigned vertex_count, const Vertex *vertices, unsigned index_count, const unsigned short *indices) |
| bool | DrawTexture (const ml7::Vector2 &pos, const ml7::Vector2 &size, xl7::direct3d::textures::Texture *texture, const ml7::Vector2 &tl, const ml7::Vector2 &br, const unsigned long color, const bool relative) |
| bool | DrawTexturedFace (const ml7::Vector2 &pos, const ml7::Vector2 &size, const Config::TexturedFace &cfg, const unsigned long color) |
| bool | DrawStatefulTexturedFace (const ml7::Vector2 &pos, const ml7::Vector2 &size, const Config::StatefulTexturedFace &cfg, const unsigned long color) |
| bool | DrawHemmedFace (const ml7::Vector2 &pos, const ml7::Vector2 &size, const Config::HemmedFace &cfg, const unsigned long color) |
| bool | DrawHemmedFace (const ml7::Vector2 &pos, const ml7::Vector2 &size, const ml7::Vector2 &inner_pos, const ml7::Vector2 &inner_size, const Config::HemmedFace &cfg, const unsigned long color) |
| bool | DrawStatefulHemmedFace (const ml7::Vector2 &pos, const ml7::Vector2 &size, const Config::StatefulHemmedFace &cfg, const unsigned long color) |
| bool | DrawStatefulHemmedFace (const ml7::Vector2 &pos, const ml7::Vector2 &size, const ml7::Vector2 &inner_pos, const ml7::Vector2 &inner_size, const Config::StatefulHemmedFace &cfg, const unsigned long color) |
| bool | RenderText (const ml7::Vector2 &pos, const cl7::string_type &text, const faces::Face::TextStyle *const text_style=NULL) |
| bool | RenderText (const ml7::Vector2 &pos, const ml7::Vector2 &size, const cl7::string_type &text, const faces::Face::TextStyle *const text_style=NULL) |
| bool | RenderText (const ml7::Vector2 &pos, const ml7::Vector2 &size, const ml7::Vector2 &offset, const cl7::string_type &text, const faces::Face::TextStyle *const text_style=NULL) |
| fl7::RenderUtil::RenderUtil | ( | Shell *const | shell | ) | [explicit] |
Explicit constructor.
| fl7::RenderUtil::RenderUtil | ( | Shell *const | shell, | |
| const faces::Face::TextStyle *const | text_style | |||
| ) |
Explicit constructor.
| fl7::RenderUtil::~RenderUtil | ( | void | ) | [virtual] |
Destructor.
| bool fl7::RenderUtil::DrawHemmedFace | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const Config::HemmedFace & | cfg, | |||
| const unsigned long | color | |||
| ) |
| bool fl7::RenderUtil::DrawHemmedFace | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const ml7::Vector2 & | inner_pos, | |||
| const ml7::Vector2 & | inner_size, | |||
| const Config::HemmedFace & | cfg, | |||
| const unsigned long | color | |||
| ) |
| bool fl7::RenderUtil::DrawIndexedTriangleStrip | ( | unsigned | vertex_count, | |
| const Vertex * | vertices, | |||
| unsigned | index_count, | |||
| const unsigned short * | indices | |||
| ) |
| bool fl7::RenderUtil::DrawStatefulHemmedFace | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const Config::StatefulHemmedFace & | cfg, | |||
| const unsigned long | color | |||
| ) |
| bool fl7::RenderUtil::DrawStatefulHemmedFace | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const ml7::Vector2 & | inner_pos, | |||
| const ml7::Vector2 & | inner_size, | |||
| const Config::StatefulHemmedFace & | cfg, | |||
| const unsigned long | color | |||
| ) |
| bool fl7::RenderUtil::DrawStatefulTexturedFace | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const Config::StatefulTexturedFace & | cfg, | |||
| const unsigned long | color | |||
| ) |
| bool fl7::RenderUtil::DrawTexture | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| xl7::direct3d::textures::Texture * | texture, | |||
| const ml7::Vector2 & | tl, | |||
| const ml7::Vector2 & | br, | |||
| const unsigned long | color, | |||
| const bool | relative | |||
| ) |
| bool fl7::RenderUtil::DrawTexturedFace | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const Config::TexturedFace & | cfg, | |||
| const unsigned long | color | |||
| ) |
| bool fl7::RenderUtil::DrawTriangleStrip | ( | unsigned | vertex_count, | |
| const Vertex * | vertices | |||
| ) |
| bool fl7::RenderUtil::Prepare | ( | ) |
| bool fl7::RenderUtil::RenderText | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const cl7::string_type & | text, | |||
| const faces::Face::TextStyle *const | text_style = NULL | |||
| ) |
| bool fl7::RenderUtil::RenderText | ( | const ml7::Vector2 & | pos, | |
| const ml7::Vector2 & | size, | |||
| const ml7::Vector2 & | offset, | |||
| const cl7::string_type & | text, | |||
| const faces::Face::TextStyle *const | text_style = NULL | |||
| ) |
| bool fl7::RenderUtil::RenderText | ( | const ml7::Vector2 & | pos, | |
| const cl7::string_type & | text, | |||
| const faces::Face::TextStyle *const | text_style = NULL | |||
| ) |
1.7.1