project64/Source/Project64/UserInterface/WTLControls/ModifiedEditBox.h

35 lines
578 B
C
Raw Normal View History

2016-01-27 09:11:59 +00:00
#pragma once
class CModifiedEditBox :
public CEdit
{
bool m_Changed;
bool m_Reset;
HFONT m_BoldFont;
HFONT m_OriginalFont;
HWND m_TextField;
bool m_bString;
public:
// Constructors
2021-04-12 11:35:39 +00:00
CModifiedEditBox(bool bString = true, HWND hWnd = nullptr);
2016-01-27 09:11:59 +00:00
~CModifiedEditBox();
void SetReset ( bool Reset );
void SetChanged (bool Changed);
void SetTextField (HWND hWnd);
inline bool IsChanged ( void ) const
{
return m_Changed;
}
inline bool IsReset ( void ) const
{
return m_Reset;
}
inline bool IsbString ( void ) const
{
return m_bString;
}
};