-
Notifications
You must be signed in to change notification settings - Fork 0
/
Eda_Menu_Main.h
34 lines (26 loc) · 877 Bytes
/
Eda_Menu_Main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* File: Eda_Menu_Main.h
* Author: r2d2
*
* Created on January 21, 2017, 11:32 PM
*/
#ifndef EDA_MENU_MAIN_H
#define EDA_MENU_MAIN_H
#include <queue>
#include "allegro5/allegro5.h"
#include "Eda_Button.h"
#include "Eda_Menu.h"
#include "Hanabi_Skin.h"
class Eda_Menu_Main : public Eda_Menu{
public:
Eda_Menu_Main(std::string theme);
virtual ~Eda_Menu_Main();
void draw(ALLEGRO_DISPLAY *display, Hanabi_Skin *theme, Hanabi_Board *game_board, bool mem_help);
void update_buttons(ALLEGRO_DISPLAY * display, float x_mouse, float y_mouse);
bool check_for_click(ALLEGRO_DISPLAY * display, float x_mouse, float y_mouse, std::queue<hanabi_game_event_t> &button_event_queue);
private:
#warning "Eda menu has Eda_button rest Eda_button * make them match"
Eda_Menu_Main(const Eda_Menu_Main& orig);
Eda_Button play,settings,quit;
};
#endif /* EDA_MENU_MAIN_H */