mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CDXUTDialog::GetFont(...)
This commit is contained in:
parent
d2c7139b01
commit
87488b7d52
@ -278,6 +278,14 @@ HRESULT CDXUTDialog::SetFont( UINT index, LPCTSTR strFaceName, LONG height, LONG
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
DXUTFontNode* CDXUTDialog::GetFont( UINT index )
|
||||
{
|
||||
if( NULL == m_pManager )
|
||||
return NULL;
|
||||
return m_pManager->GetFontNode( m_Fonts.GetAt( index ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// CDXUTControl class
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
@ -106,6 +106,8 @@ public:
|
||||
// Shared resource access. Indexed fonts and textures are shared among
|
||||
// all the controls.
|
||||
HRESULT SetFont( UINT index, LPCTSTR strFaceName, LONG height, LONG weight );
|
||||
DXUTFontNode* GetFont( UINT index );
|
||||
|
||||
|
||||
|
||||
bool m_bNonUserEvents;
|
||||
|
Loading…
Reference in New Issue
Block a user