Class Menu represent window Menu inherit Window_Base. More...
#include <Menu.h>
Public Member Functions | |
Menu () | |
Defalut Constructor Menu. More... | |
Menu (String, int, int, String, int idUser) | |
Constructor Menu. More... | |
~Menu () | |
Destructor Menu. More... | |
void | Start () |
Function start showing a graphic interface. More... | |
![]() | |
Window_Base (String title, int width, int height, String backroundPath) | |
Constructor Class Window_Base. More... | |
Window_Base () | |
Default Constructor Class Window_Base. More... | |
~Window_Base () | |
Destructor Window_Base. More... | |
RenderWindow & | getWindows () |
Function to get make window. More... | |
Public Attributes | |
Sprite | backroundTable |
Object Sprite use to show table. More... | |
Texture | backgroundTab |
Object Texture use to load image. More... | |
Window_Base | window |
Object a base window class use to create window. More... | |
string | title |
Values use to keep name widow. More... | |
int | width |
Width windows. More... | |
int | height |
Height window. More... | |
Texture | background |
Texture use to load backround image. More... | |
Sprite | backroundImage |
Sprite use to showing a background. More... | |
Button | buttonStart |
Object buttton to create and show button. More... | |
Button | buttonExit |
Object buttton to create and show button. More... | |
DBcontroler | dbcontroler |
Object class DBController use to connect a database. More... | |
MYSQL_RES * | res |
Object use to hold a database get value. More... | |
MYSQL_ROW | row |
Object hold a row witch data get with database. More... | |
Font | arial |
Value Font to load a font. More... | |
Text ** | Text_Data |
Dynamic value Text to show a chammpion in table . More... | |
int | choose |
Value to hold a choose. More... | |
int | size |
Value hold count a champion get a database. More... | |
RectangleShape * | rectangle_choose |
Object use to check who row table is click. More... | |
RectangleShape | add_b |
Object use to check if button add is click. More... | |
RectangleShape | delete_b |
Object use to check if button delete is click. More... | |
![]() | |
Sprite | backroundImage |
Basic background image. More... | |
Additional Inherited Members | |
![]() | |
Texture | background |
RenderWindow | window |
string | title |
int | width |
int | height |
Class Menu represent window Menu inherit Window_Base.
Menu::Menu | ( | ) |
Defalut Constructor Menu.
Menu::Menu | ( | String | title, |
int | width, | ||
int | height, | ||
String | backroundPath, | ||
int | idUser | ||
) |
Constructor Menu.
String | - Title window |
int | - Wifth window |
int | - Height window |
String | - Path to backgrand image |
idUser | - Value hold in User a database |
Menu::~Menu | ( | ) |
Destructor Menu.
void Menu::Start | ( | ) |
Function start showing a graphic interface.
RectangleShape Menu::add_b |
Object use to check if button add is click.
Font Menu::arial |
Value Font to load a font.
Texture Menu::background |
Texture use to load backround image.
Texture Menu::backgroundTab |
Object Texture use to load image.
Sprite Menu::backroundImage |
Sprite use to showing a background.
Sprite Menu::backroundTable |
Object Sprite use to show table.
Button Menu::buttonExit |
Object buttton to create and show button.
Button Menu::buttonStart |
Object buttton to create and show button.
int Menu::choose |
Value to hold a choose.
DBcontroler Menu::dbcontroler |
Object class DBController use to connect a database.
RectangleShape Menu::delete_b |
Object use to check if button delete is click.
int Menu::height |
Height window.
RectangleShape* Menu::rectangle_choose |
Object use to check who row table is click.
MYSQL_RES* Menu::res |
Object use to hold a database get value.
MYSQL_ROW Menu::row |
Object hold a row witch data get with database.
int Menu::size |
Value hold count a champion get a database.
Text** Menu::Text_Data |
Dynamic value Text to show a chammpion in table .
string Menu::title |
Values use to keep name widow.
int Menu::width |
Width windows.
Window_Base Menu::window |
Object a base window class use to create window.