Get/Set LayoutDirection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d6f582e704
commit
4e2251ecd3
@ -51,10 +51,8 @@ class wxFontBundle : public wxFontBundleBase
|
|||||||
public:
|
public:
|
||||||
wxFontBundle(const font_info_t *fontInfo);
|
wxFontBundle(const font_info_t *fontInfo);
|
||||||
|
|
||||||
virtual wxString GetName() const
|
virtual wxString GetName() const;
|
||||||
{ return wxString::FromAscii(m_fontInfo->familyName); }
|
virtual bool IsFixed() const;
|
||||||
|
|
||||||
virtual bool IsFixed() const { return m_fontInfo->isFixed; }
|
|
||||||
|
|
||||||
const font_info_t *GetInfo() const { return m_fontInfo; }
|
const font_info_t *GetInfo() const { return m_fontInfo; }
|
||||||
|
|
||||||
|
@ -132,6 +132,17 @@ wxFontBundle::wxFontBundle(const font_info_t *info)
|
|||||||
info->boldFace, info->boldItalicFace);
|
info->boldFace, info->boldItalicFace);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxString wxFontBundle::GetName() const
|
||||||
|
{
|
||||||
|
return wxString::FromAscii(m_fontInfo->familyName);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool wxFontBundle::IsFixed() const
|
||||||
|
{
|
||||||
|
return m_fontInfo->isFixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxFontsManager
|
// wxFontsManager
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user