Trophies icon usable by click/touch
This commit is contained in:
@@ -14,7 +14,7 @@ class hgeParticleSystem;
|
||||
|
||||
class MenuItem: public JGuiObject
|
||||
{
|
||||
private:
|
||||
protected:
|
||||
bool mHasFocus;
|
||||
WFont *mFont;
|
||||
string mText;
|
||||
@@ -49,5 +49,17 @@ public:
|
||||
virtual ostream& toString(ostream& out) const;
|
||||
};
|
||||
|
||||
class OtherMenuItem: public MenuItem
|
||||
{
|
||||
private:
|
||||
JButton mKey;
|
||||
int mTimeIndex;
|
||||
public:
|
||||
OtherMenuItem(int id, WFont *font, string text, float x, float y, JQuad * _off, JQuad * _on, JButton _key, bool hasFocus = false);
|
||||
~OtherMenuItem();
|
||||
virtual void Render();
|
||||
virtual void Update(float dt);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user