J :
* Clean carriage returns.
This commit is contained in:
+6
-10
@@ -26,7 +26,7 @@
|
||||
|
||||
class JGuiListener
|
||||
{
|
||||
public:
|
||||
public:
|
||||
virtual ~JGuiListener() {}
|
||||
virtual void ButtonPressed(int controllerId, int controlId) = 0;
|
||||
};
|
||||
@@ -34,14 +34,14 @@ public:
|
||||
|
||||
class JGuiObject
|
||||
{
|
||||
protected:
|
||||
protected:
|
||||
static JGE* mEngine;
|
||||
|
||||
private:
|
||||
private:
|
||||
int mId;
|
||||
|
||||
|
||||
public:
|
||||
public:
|
||||
JGuiObject(int id);
|
||||
virtual ~JGuiObject();
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
class JGuiController
|
||||
{
|
||||
protected:
|
||||
protected:
|
||||
static JGE* mEngine;
|
||||
|
||||
int mId;
|
||||
@@ -81,13 +81,9 @@ protected:
|
||||
Rect* mShadingBg;
|
||||
|
||||
JGuiListener* mListener;
|
||||
u32 mLastKey;
|
||||
//int mKeyHoldTime;
|
||||
float mKeyRepeatDelay;
|
||||
|
||||
bool KeyRepeated(u32 key, float dt);
|
||||
|
||||
public:
|
||||
public:
|
||||
JGuiObject* mObjects[MAX_GUIOBJECT];
|
||||
int mCount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user