OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4MarkupTagColor Class Reference

#include <C4Markup.h>

Inheritance diagram for C4MarkupTagColor:
[legend]
Collaboration diagram for C4MarkupTagColor:
[legend]

Public Member Functions

 C4MarkupTagColor (DWORD dwClr)
 
virtual void Apply (C4BltTransform &rBltTrf, bool fDoClr, DWORD &dwClr)
 
virtual const char * TagName ()
 

Public Attributes

C4MarkupTagpPrev
 
C4MarkupTagpNext
 

Detailed Description

Definition at line 45 of file C4Markup.h.

Constructor & Destructor Documentation

C4MarkupTagColor::C4MarkupTagColor ( DWORD  dwClr)
inline

Definition at line 50 of file C4Markup.h.

50 : C4MarkupTag(), dwClr(dwClr) { } // ctor
C4MarkupTag()
Definition: C4Markup.h:27

Member Function Documentation

void C4MarkupTagColor::Apply ( C4BltTransform rBltTrf,
bool  fDoClr,
DWORD dwClr 
)
virtual

Implements C4MarkupTag.

Definition at line 28 of file C4Markup.cpp.

29 {
30  // set color
31  if (fDoClr) dwClr = this->dwClr;
32 }
virtual const char* C4MarkupTagColor::TagName ( )
inlinevirtual

Implements C4MarkupTag.

Definition at line 53 of file C4Markup.h.

53 { return "c"; }

Member Data Documentation

C4MarkupTag * C4MarkupTag::pNext
inherited

Definition at line 25 of file C4Markup.h.

Referenced by C4Markup::Apply(), and C4Markup::~C4Markup().

C4MarkupTag* C4MarkupTag::pPrev
inherited

Definition at line 25 of file C4Markup.h.


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