CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GFxTranslator Class Reference

#include <GFxTranslator.h>

Inheritance diagram for RE::GFxTranslator:
RE::GFxState RE::GRefCountBase< GFxState, GStatGroups::kGStat_Default_Mem > RE::GRefCountBaseStatImpl< GRefCountImpl, STAT > RE::GRefCountImpl RE::GRefCountImplCore RE::BSScaleformTranslator

Classes

struct  LineFormatDesc
 
class  TranslateInfo
 

Public Types

enum class  TranslateCap { kNone = 0 , kReceiveHTML = 1 << 0 , kStripTrailingNewLines = 1 << 1 }
 
using WordWrappingType = GFxWWHelper::WordWrappingType
 
- Public Types inherited from RE::GFxState
enum class  StateType {
  kNone , kRenderConfig , kRenderStats , kTranslator ,
  kLog , kImageLoader , kActionControl , kUserEventHandler ,
  kFSCommandHandler , kExternalInterface , kFileOpener , kURLBuilder ,
  kImageCreator , kParseControl , kProgressHandler , kImportVisitor ,
  kMeshCacheManager , kFontPackParams , kFontCacheManager , kFontLib ,
  kFontProvider , kFontMap , kGradientParams , kTaskManager ,
  kClipboard , kTextKeyMap , kPreprocessParams , kIMEManager ,
  kXMLSupport , kJpegSupport , kZlibSupport , kFontCompactorParams ,
  kImagePackerParams , kPNGSupport , kAudio , kVideo ,
  kTestStream , kSharedObject , kLocSupport
}
 
- Public Types inherited from RE::GRefCountBase< GFxState, GStatGroups::kGStat_Default_Mem >
enum  
 

Public Member Functions

 GFxTranslator ()
 
 GFxTranslator (WordWrappingType a_wwMode)
 
 ~GFxTranslator () override=default
 
virtual TranslateCap GetCaps () const
 
virtual void Translate (TranslateInfo *a_translateInfo)
 
virtual bool OnWordWrapping (LineFormatDesc *a_desc)
 
bool CanReceiveHTML () const
 
bool NeedStripNewLines () const
 
bool HandlesCustomWordWrapping () const
 
- Public Member Functions inherited from RE::GFxState
 GFxState (StateType a_st=StateType::kNone)
 
 ~GFxState () override=default
 
StateType GetStateType () const
 
- Public Member Functions inherited from RE::GRefCountBaseStatImpl< GRefCountImpl, STAT >
 GFC_MEMORY_REDEFINE_NEW_IMPL (GRefCountImpl, GFC_REFCOUNTALLOC_CHECK_DELETE, StatType)
 
- Public Member Functions inherited from RE::GRefCountImpl
 ~GRefCountImpl () override=default
 
void AddRef ()
 
void Release ()
 

Public Attributes

stl::enumeration< WordWrappingType, std::uint32_t > wwMode
 
std::uint32_t pad1C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_GFxTranslator
 
- Static Public Attributes inherited from RE::GFxState
static constexpr auto RTTI = RTTI_GFxState
 
- Static Public Attributes inherited from RE::GRefCountImpl
static constexpr auto RTTI = RTTI_GRefCountImpl
 

Additional Inherited Members

- Protected Attributes inherited from RE::GFxState
StateType stateType
 
std::uint32_t pad14
 

Member Typedef Documentation

◆ WordWrappingType

Member Enumeration Documentation

◆ TranslateCap

Enumerator
kNone 
kReceiveHTML 
kStripTrailingNewLines 

Constructor & Destructor Documentation

◆ GFxTranslator() [1/2]

RE::GFxTranslator::GFxTranslator ( )

◆ GFxTranslator() [2/2]

RE::GFxTranslator::GFxTranslator ( WordWrappingType  a_wwMode)
explicit

◆ ~GFxTranslator()

RE::GFxTranslator::~GFxTranslator ( )
overridedefault

Member Function Documentation

◆ CanReceiveHTML()

bool RE::GFxTranslator::CanReceiveHTML ( ) const

◆ GetCaps()

virtual TranslateCap RE::GFxTranslator::GetCaps ( ) const
virtual

◆ HandlesCustomWordWrapping()

bool RE::GFxTranslator::HandlesCustomWordWrapping ( ) const

◆ NeedStripNewLines()

bool RE::GFxTranslator::NeedStripNewLines ( ) const

◆ OnWordWrapping()

virtual bool RE::GFxTranslator::OnWordWrapping ( LineFormatDesc a_desc)
virtual

◆ Translate()

virtual void RE::GFxTranslator::Translate ( TranslateInfo a_translateInfo)
virtual

Reimplemented in RE::BSScaleformTranslator.

Member Data Documentation

◆ pad1C

std::uint32_t RE::GFxTranslator::pad1C

◆ RTTI

constexpr auto RE::GFxTranslator::RTTI = RTTI_GFxTranslator
inlinestaticconstexpr

◆ wwMode

stl::enumeration<WordWrappingType, std::uint32_t> RE::GFxTranslator::wwMode

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