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

#include <C4Markup.h>

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

Public Member Functions

 C4MarkupTagItalic ()
 
void Apply (C4BltTransform &rBltTrf, bool fDoClr, DWORD &dwClr) override
 
const char * TagName () const override
 
virtual std::string OpeningTag () const
 
virtual std::string ClosingTag () const
 

Public Attributes

C4MarkupTagpPrev {nullptr}
 
C4MarkupTagpNext {nullptr}
 

Detailed Description

Definition at line 37 of file C4Markup.h.

Constructor & Destructor Documentation

C4MarkupTagItalic::C4MarkupTagItalic ( )
inline

Definition at line 40 of file C4Markup.h.

40 : C4MarkupTag() { } // ctor
C4MarkupTag()=default

Member Function Documentation

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

Implements C4MarkupTag.

Definition at line 34 of file C4Markup.cpp.

References C4BltTransform::mat.

35 {
36  // do sheering
37  rBltTrf.mat[1]-=0.3f;
38 }
std::string C4MarkupTag::ClosingTag ( ) const
virtualinherited

Definition at line 29 of file C4Markup.cpp.

References s.

30 {
31  return "</"s + TagName() + ">";
32 }
virtual const char * TagName() const =0
#define s
std::string C4MarkupTag::OpeningTag ( ) const
virtualinherited

Reimplemented in C4MarkupTagColor.

Definition at line 24 of file C4Markup.cpp.

References s.

25 {
26  return "<"s + TagName() + ">";
27 }
virtual const char * TagName() const =0
#define s
const char* C4MarkupTagItalic::TagName ( ) const
inlineoverridevirtual

Implements C4MarkupTag.

Definition at line 43 of file C4Markup.h.

43 { return "i"; }

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: