buttons shows when ever the cursor is in the button

This commit is contained in:
Remco
2016-06-20 12:50:51 +02:00
parent 8dcee70324
commit 1ec3c8f346
3 changed files with 17 additions and 5 deletions
+2
View File
@@ -7,6 +7,8 @@ private:
float width, height;
Vec3f background;
Vec2f planePosition;
bool cursorOnButton;
float alfa;
public:
Button(const std::string &text, Vec2f position, float width, float height);
~Button();