Set item type features when setting type

This commit is contained in:
Jan
2021-11-20 14:29:24 +01:00
parent ef1ad18332
commit dd8a9bf374
20 changed files with 224 additions and 151 deletions

View File

@ -9,6 +9,16 @@
namespace menu
{
enum class CommonItemFeatureType
{
NONE,
LISTBOX,
EDIT_FIELD,
MULTI_VALUE,
ENUM_DVAR,
NEWS_TICKER
};
class CommonItemDef
{
public:
@ -33,6 +43,7 @@ namespace menu
bool m_auto_wrapped;
bool m_horizontal_scroll;
int m_type;
CommonItemFeatureType m_feature_type;
int m_border;
double m_border_size;
int m_owner_draw;