OpenCPN Partial API docs
Loading...
Searching...
No Matches
MyFontDesc Class Reference

Public Member Functions

 MyFontDesc (wxString DialogString, wxString ConfigString, wxFont *pFont, wxColour color, bool is_default=true)
 

Public Attributes

wxString m_dialogstring
 UI element identifier, e.g., "AISTargetAlert", "StatusBar".
 
wxString m_configstring
 Configuration key in "locale-hash" format.
 
wxString m_nativeInfo
 Platform-specific font descriptor string.
 
wxFont * m_font
 Font object.
 
wxColour m_color
 Text color.
 
bool m_is_default
 Indicates if this is the default font entry for the TextElement.
 

Detailed Description

Definition at line 33 of file FontDesc.h.

Constructor & Destructor Documentation

◆ MyFontDesc()

MyFontDesc::MyFontDesc ( wxString  DialogString,
wxString  ConfigString,
wxFont *  pFont,
wxColour  color,
bool  is_default = true 
)

Definition at line 30 of file FontDesc.cpp.

◆ ~MyFontDesc()

MyFontDesc::~MyFontDesc ( )

Definition at line 39 of file FontDesc.cpp.

Member Data Documentation

◆ m_color

wxColour MyFontDesc::m_color

Text color.

Definition at line 62 of file FontDesc.h.

◆ m_configstring

wxString MyFontDesc::m_configstring

Configuration key in "locale-hash" format.

Definition at line 50 of file FontDesc.h.

◆ m_dialogstring

wxString MyFontDesc::m_dialogstring

UI element identifier, e.g., "AISTargetAlert", "StatusBar".

Used to identify the font configuration in the list.

See also
[GetFont]

Definition at line 46 of file FontDesc.h.

◆ m_font

wxFont* MyFontDesc::m_font

Font object.

Definition at line 58 of file FontDesc.h.

◆ m_is_default

bool MyFontDesc::m_is_default

Indicates if this is the default font entry for the TextElement.

Definition at line 64 of file FontDesc.h.

◆ m_nativeInfo

wxString MyFontDesc::m_nativeInfo

Platform-specific font descriptor string.

Definition at line 54 of file FontDesc.h.


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