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 font_desc.h.

Constructor & Destructor Documentation

◆ MyFontDesc()

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

Definition at line 26 of file font_desc.cpp.

◆ ~MyFontDesc()

MyFontDesc::~MyFontDesc ( )

Definition at line 35 of file font_desc.cpp.

Member Data Documentation

◆ m_color

wxColour MyFontDesc::m_color

Text color.

Definition at line 62 of file font_desc.h.

◆ m_configstring

wxString MyFontDesc::m_configstring

Configuration key in "locale-hash" format.

Definition at line 50 of file font_desc.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 font_desc.h.

◆ m_font

wxFont* MyFontDesc::m_font

Font object.

Definition at line 58 of file font_desc.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 font_desc.h.

◆ m_nativeInfo

wxString MyFontDesc::m_nativeInfo

Platform-specific font descriptor string.

Definition at line 54 of file font_desc.h.


The documentation for this class was generated from the following files:
  • /home/runner/work/main/main/opencpn/gui/include/gui/font_desc.h
  • /home/runner/work/main/main/opencpn/gui/src/font_desc.cpp