Pioneer
Public Member Functions | List of all members
Gui::TexturedQuad Class Reference

#include <GuiTexturedQuad.h>

Public Member Functions

 TexturedQuad (Graphics::Texture *texture)
 
virtual ~TexturedQuad ()
 
virtual void Draw (Graphics::Renderer *r)
 
void Draw (Graphics::Renderer *r, const Color &tint)
 
void Draw (Graphics::Renderer *r, const vector2f &pos, const vector2f &size, const Color &tint=Color::WHITE)
 
void Draw (Graphics::Renderer *r, const vector2f &pos, const vector2f &size, const vector2f &texPos, const vector2f &texSize, const Color &tint=Color::WHITE)
 
const Graphics::TextureGetTexture () const
 

Constructor & Destructor Documentation

◆ TexturedQuad()

Gui::TexturedQuad::TexturedQuad ( Graphics::Texture texture)
inline

◆ ~TexturedQuad()

virtual Gui::TexturedQuad::~TexturedQuad ( )
inlinevirtual

Member Function Documentation

◆ Draw() [1/4]

virtual void Gui::TexturedQuad::Draw ( Graphics::Renderer r)
inlinevirtual
Here is the call graph for this function:

◆ Draw() [2/4]

void Gui::TexturedQuad::Draw ( Graphics::Renderer r,
const Color tint 
)
inline
Here is the call graph for this function:

◆ Draw() [3/4]

void Gui::TexturedQuad::Draw ( Graphics::Renderer r,
const vector2f pos,
const vector2f size,
const Color tint = Color::WHITE 
)
inline
Here is the call graph for this function:

◆ Draw() [4/4]

void Gui::TexturedQuad::Draw ( Graphics::Renderer r,
const vector2f pos,
const vector2f size,
const vector2f texPos,
const vector2f texSize,
const Color tint = Color::WHITE 
)
Here is the call graph for this function:

◆ GetTexture()

const Graphics::Texture* Gui::TexturedQuad::GetTexture ( ) const
inline
Here is the call graph for this function:

The documentation for this class was generated from the following files: