Attempt implement menu (unresolved symbol error)

This commit is contained in:
2016-06-09 17:56:37 +02:00
parent 0209c8b4e2
commit ced3ff4462
21 changed files with 370 additions and 64 deletions
+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include "MenuElement.h"
class Button : public MenuElement
{
private:
std::string text;
float width, height;
Vec3f foreground;
Vec3f background;
public:
Button(std::string &text, Vec2f position, float width, float height);
~Button();
void draw(void);
void update(int x, int y);
void setForeground(Vec3f color);
void setBackground(Vec3f color);
};