mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 02:26:29 +03:00
Added Icon possibility to cUIPushButton. Added default fonts for ui themes and global default font for all ui themes. Changed how cUIGfx get shapes, now accept a new instance without shape. Fixed how padding works on cUITextBox and cUITextInput. Fixed font rendering in cTextCache when some text rendered with angle or/and scale ( it was breaking the model view matrix ). Fixed a miscounting of the number of vertex for the cached text. Fixed HaikuTTF destroy singleton ( now release fine the memory ).
24 lines
339 B
C++
24 lines
339 B
C++
#include "cuithememanager.hpp"
|
|
|
|
namespace EE { namespace UI {
|
|
|
|
cUIThemeManager::cUIThemeManager() :
|
|
tResourceManager<cUITheme>( true ),
|
|
mFont( NULL )
|
|
{
|
|
}
|
|
|
|
cUIThemeManager::~cUIThemeManager() {
|
|
|
|
}
|
|
|
|
void cUIThemeManager::DefaultFont( cFont * Font ) {
|
|
mFont = Font;
|
|
}
|
|
|
|
cFont * cUIThemeManager::DefaultFont() const {
|
|
return mFont;
|
|
}
|
|
|
|
}}
|