removed extra "." from TextScroller text as reported in forums

following up on wrenczes cleanup,
   changing ints to floats
   fixing calculations such as ( 16.0 / <some float>) to ( 16.0f / <some float>) to remove compiler warnings.
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-04 09:18:12 +00:00
parent ab49a0c6e1
commit 2d9c2b3341
7 changed files with 29 additions and 29 deletions

View File

@@ -24,13 +24,13 @@ class SimpleMenuItem: public JGuiObject
public:
string desc;
SimpleMenuItem(SimpleMenu* _parent, int id, int fontId, string text, int x, int y, bool hasFocus = false, bool autoTranslate = false);
SimpleMenuItem(SimpleMenu* _parent, int id, int fontId, string text, float x, float y, bool hasFocus = false, bool autoTranslate = false);
int mX;
int mY;
float mX;
float mY;
void Relocate(int x, int y);
int GetWidth();
void Relocate(float x, float y);
float GetWidth();
bool hasFocus();
void RenderWithOffset(float yOffset);