Cleaned up some compile warnings (double to float/ int to float conversions).

This commit is contained in:
wrenczes@gmail.com
2010-10-13 23:34:36 +00:00
parent e8ecd74361
commit 25cb9dde54
3 changed files with 26 additions and 21 deletions

View File

@@ -301,12 +301,12 @@ void SimplePad::Render(){
//This could use some cleaning up to make margins more explicit
WFont * mFont = resources.GetWFont("f3");
int offX = 0, offY = 0;
int kH = mFont->GetHeight();
int hSpacing = mFont->GetStringWidth("W");
int rowLen = mFont->GetStringWidth("JKLMNOPQR") + 14*7;
int vSpacing = 0;
int kW = hSpacing;
float offX = 0, offY = 0;
float kH = mFont->GetHeight();
float hSpacing = mFont->GetStringWidth("W");
float rowLen = mFont->GetStringWidth("JKLMNOPQR") + 14*7;
float vSpacing = 0;
float kW = hSpacing;
JRenderer * renderer = JRenderer::GetInstance();