Beispiel #1
0
CUnitPane::CUnitPane(wxWindow *parent, wxWindowID id)
          :CListPane(parent, id, wxLC_REPORT)
{
    m_pUnits   = NULL;
    m_pCurLand = NULL;
    m_ColClicked = -1;
    ApplyFonts();
}
void OguiButton::ResetData()
{
	ApplyImages();
	ApplyFonts();
	// SetFont(this->font);
}
void OguiButton::SetHighlightedFont( IOguiFont* font )
{
	fontHighlighted = font;
	ApplyFonts();
}
void OguiButton::SetDownFont( IOguiFont* font )
{
	fontDown = font;
	ApplyFonts();
}
void OguiButton::SetDisabledFont( IOguiFont* font )
{
	fontDisabled = font;
	ApplyFonts();
}
void OguiButton::SetFont(IOguiFont *font)
{
	this->font = font;
	ApplyFonts();
}