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)
 
void Apply (C4BltTransform &rBltTrf, bool fDoClr, DWORD &dwClr) override
 
const char * TagName () override
 

Public Attributes

C4MarkupTagpPrev {nullptr}
 
C4MarkupTagpNext {nullptr}
 

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()=default

Member Function Documentation

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

Implements C4MarkupTag.

Definition at line 28 of file C4Markup.cpp.

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

Implements C4MarkupTag.

Definition at line 53 of file C4Markup.h.

53 { return "c"; }

Member Data Documentation

C4MarkupTag * C4MarkupTag::pNext {nullptr}
inherited

Definition at line 25 of file C4Markup.h.

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

C4MarkupTag* C4MarkupTag::pPrev {nullptr}
inherited

Definition at line 25 of file C4Markup.h.


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