mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement CDXUTDialog destructor
This commit is contained in:
parent
a630a523e1
commit
fee3ab194a
@ -51,6 +51,27 @@ CDXUTDialog::CDXUTDialog()
|
|||||||
m_bMouseInput = true;
|
m_bMouseInput = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
CDXUTDialog::~CDXUTDialog()
|
||||||
|
{
|
||||||
|
int i=0;
|
||||||
|
|
||||||
|
RemoveAllControls();
|
||||||
|
|
||||||
|
m_Fonts.RemoveAll();
|
||||||
|
m_Textures.RemoveAll();
|
||||||
|
|
||||||
|
for( i=0; i < m_DefaultElements.GetSize(); i++ )
|
||||||
|
{
|
||||||
|
DXUTElementHolder* pElementHolder = m_DefaultElements.GetAt( i );
|
||||||
|
SAFE_DELETE( pElementHolder );
|
||||||
|
}
|
||||||
|
|
||||||
|
m_DefaultElements.RemoveAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
CDXUTDialogResourceManager::CDXUTDialogResourceManager()
|
CDXUTDialogResourceManager::CDXUTDialogResourceManager()
|
||||||
{
|
{
|
||||||
|
@ -89,6 +89,8 @@ class CDXUTDialog
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CDXUTDialog();
|
CDXUTDialog();
|
||||||
|
~CDXUTDialog();
|
||||||
|
|
||||||
|
|
||||||
bool m_bNonUserEvents;
|
bool m_bNonUserEvents;
|
||||||
bool m_bKeyboardInput;
|
bool m_bKeyboardInput;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user