SuperSpaceInvaderTurboApoca.../headers/menu.h
2022-01-11 10:17:54 +01:00

43 lines
681 B
C

/*!
*
* @file menu.h
* @author SIMAILA Djalim
* @date January 2022
* @version 1.0
* @brief simple menu backend implementation
*
*/
#ifndef GUARD_MENU_H
#define GUARD_MENU_H
#include<vector>
#include<string>
/*!
* @struct Menu
* @brief menu stuct
*/
struct Menu{
/*!
* @brief list of all menu options
*/
vector<string> entries;
/*!
* @brief index of currently selected menu option
*/
unsigned selectedEntry = 0;
/*!
* @brief color of currently selected menu option
*/
nsGraphics::RGBAcolor selectedColor;
/*!
* @brief color of unelected menu option
*/
nsGraphics::RGBAcolor unSelectedColor;
};
#endif