auto-enumerate FONT_TYPE_COUNT instead of defining it

This commit is contained in:
Stefan Seyfried
2013-04-15 21:37:43 +02:00
committed by svenhoefer
parent 057f3a8964
commit 1f1aa08562
3 changed files with 28 additions and 28 deletions

View File

@@ -145,7 +145,7 @@ font_sizes_groups font_sizes_groups[6] =
#define FONT_STYLE_BOLD 1
#define FONT_STYLE_ITALIC 2
font_sizes_struct neutrino_font[FONT_TYPE_COUNT] =
font_sizes_struct neutrino_font[SNeutrinoSettings::FONT_TYPE_COUNT] =
{
{LOCALE_FONTSIZE_MENU , 20, FONT_STYLE_BOLD , 0},
{LOCALE_FONTSIZE_MENU_TITLE , 30, FONT_STYLE_BOLD , 0},