PopUp Menu now response on Mouse Up instead on Click.

Renamed singleton.hpp to tsingleton.hpp for consistency.
Fixed GLES rendering.
This commit is contained in:
spartanj
2010-12-13 23:13:05 -03:00
parent fae20a1e0e
commit 2ab8e3eedd
20 changed files with 253 additions and 121 deletions

View File

@@ -52,7 +52,7 @@ std::wstring& cTextCache::Text() {
}
void cTextCache::UpdateCoords() {
Uint32 size = (Uint32)mText.size() * 4;
Uint32 size = (Uint32)mText.size() * EE_QUAD_VERTEX;
mRenderCoords.resize( size );
mColors.resize( size, mFontColor );
@@ -80,7 +80,7 @@ void cTextCache::Color(const eeColorA& Color) {
if ( mFontColor != Color ) {
mFontColor = Color;
mColors.assign( mText.size() * 4, mFontColor );
mColors.assign( mText.size() * EE_QUAD_VERTEX, mFontColor );
}
}