FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::OffRendererLineInfo Class Reference

#include <offrenderer.h>

+ Inheritance diagram for FIFE::OffRendererLineInfo:
+ Collaboration diagram for FIFE::OffRendererLineInfo:

Public Member Functions

void render (RenderBackend *renderbackend)
 
 OffRendererLineInfo (Point n1, Point n2, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
 
virtual ~OffRendererLineInfo ()
 
- Public Member Functions inherited from FIFE::OffRendererElementInfo
virtual ~OffRendererElementInfo ()
 

Private Attributes

Point m_edge1
 
Point m_edge2
 
uint8_t m_red
 
uint8_t m_green
 
uint8_t m_blue
 
uint8_t m_alpha
 

Detailed Description

Definition at line 45 of file offrenderer.h.

Constructor & Destructor Documentation

FIFE::OffRendererLineInfo::OffRendererLineInfo ( Point  n1,
Point  n2,
uint8_t  r,
uint8_t  g,
uint8_t  b,
uint8_t  a 
)

Definition at line 48 of file offrenderer.cpp.

virtual FIFE::OffRendererLineInfo::~OffRendererLineInfo ( )
inlinevirtual

Definition at line 49 of file offrenderer.h.

Member Function Documentation

void FIFE::OffRendererLineInfo::render ( RenderBackend renderbackend)
virtual

Reimplemented from FIFE::OffRendererElementInfo.

Definition at line 57 of file offrenderer.cpp.

References FIFE::RenderBackend::drawLine(), m_alpha, m_blue, m_edge1, m_edge2, m_green, and m_red.

Member Data Documentation

uint8_t FIFE::OffRendererLineInfo::m_alpha
private

Definition at line 56 of file offrenderer.h.

Referenced by render().

uint8_t FIFE::OffRendererLineInfo::m_blue
private

Definition at line 55 of file offrenderer.h.

Referenced by render().

Point FIFE::OffRendererLineInfo::m_edge1
private

Definition at line 49 of file offrenderer.h.

Referenced by render().

Point FIFE::OffRendererLineInfo::m_edge2
private

Definition at line 52 of file offrenderer.h.

Referenced by render().

uint8_t FIFE::OffRendererLineInfo::m_green
private

Definition at line 54 of file offrenderer.h.

Referenced by render().

uint8_t FIFE::OffRendererLineInfo::m_red
private

Definition at line 53 of file offrenderer.h.

Referenced by render().


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