Day 50/100 100 Days of Code
Rebuild Back Better

AKA Chris, is a software developer from Athens, Greece. He started programming with basic when he was very young. He lost interest in programming during school years but after an unsuccessful career in audio, he decided focus on what he really loves which is technology.
He loves working with older languages like C and wants to start programming electronics and microcontrollers because he wants to get into embedded systems programming.
I worked on creating a structure for the menu elements. This has been a little more complicated than I wanted and made many mistakes. I wanted to do more today but I am a bit tired. More Tomorrow!
template<typename S, typename T, typename C, typename F, typename R>
struct MenuElement
{
enum state
{
DEACTIVATED = 0,
ACTIVATED,
HOVERED
};
float x, y;
int currentState;
std::string content;
F *font;
R *renderer;
MenuElement(float inputX, float inputY, F *inputFont, R *inputRender);
void CreateOption(std::string content, float getMouseX, float getMouseY, C inputColor);
};




