KeyboardButton/JoystickButton use enum class instead of enum

This commit is contained in:
2021-09-15 19:15:08 +08:00
parent 7a5040224a
commit c1a4276533
4 changed files with 265 additions and 258 deletions

View File

@@ -19,7 +19,7 @@ namespace hgl
bool is_close;
bool is_min;
bool key_push[kbRangeSize];
bool key_push[size_t(KeyboardButton::RANGE_SIZE)];
protected: