auto-enumerate FONT_TYPE_COUNT instead of defining it

This commit is contained in:
Stefan Seyfried
2013-04-13 17:27:21 +02:00
parent 61bf95f552
commit ee3580214f
5 changed files with 32 additions and 32 deletions

View File

@@ -146,7 +146,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},