Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <guitexture.h>
Public Member Functions | |
bool | read (const std::string &fileName) |
void | draw (const Rect &rect) const |
GuiTexture (void) | |
~GuiTexture (void) | |
Protected Attributes | |
class Texture * | m_texture |
Definition at line 31 of file guitexture.h.
GuiTexture::GuiTexture | ( | void | ) |
Definition at line 73 of file guitexture.cpp.
GuiTexture::~GuiTexture | ( | void | ) |
Definition at line 77 of file guitexture.cpp.
References m_texture.
void GuiTexture::draw | ( | const Rect & | rect) | const |
Definition at line 53 of file guitexture.cpp.
References Rect::bottom(), GFXBegin(), GFXColor4f(), GFXEnd(), GFXQUAD, GFXTexCoord2f(), GFXVertexf(), Rect::left(), Rect::right(), Rect::top(), and Vector.
Referenced by StaticImageDisplay::draw(), and Window::drawBackground().
bool GuiTexture::read | ( | const std::string & | fileName) |
Definition at line 39 of file guitexture.cpp.
References BILINEAR, Texture::LoadSuccess(), and BaseUtil::Texture().
Referenced by Window::setTexture(), and StaticImageDisplay::setTexture().
|
protected |
Definition at line 49 of file guitexture.h.
Referenced by ~GuiTexture().