mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
auto-enumerate FONT_TYPE_COUNT instead of defining it
This commit is contained in:
committed by
svenhoefer
parent
057f3a8964
commit
1f1aa08562
@@ -467,33 +467,33 @@ struct SNeutrinoSettings
|
||||
|
||||
|
||||
// Font sizes
|
||||
#define FONT_TYPE_COUNT 25
|
||||
enum FONT_TYPES {
|
||||
FONT_TYPE_MENU = 0,
|
||||
FONT_TYPE_MENU_TITLE = 1,
|
||||
FONT_TYPE_MENU_INFO = 2,
|
||||
FONT_TYPE_EPG_TITLE = 3,
|
||||
FONT_TYPE_EPG_INFO1 = 4,
|
||||
FONT_TYPE_EPG_INFO2 = 5,
|
||||
FONT_TYPE_EPG_DATE = 6,
|
||||
FONT_TYPE_EVENTLIST_TITLE = 7,
|
||||
FONT_TYPE_EVENTLIST_ITEMLARGE = 8,
|
||||
FONT_TYPE_EVENTLIST_ITEMSMALL = 9,
|
||||
FONT_TYPE_EVENTLIST_DATETIME = 10,
|
||||
FONT_TYPE_EVENTLIST_EVENT = 11,
|
||||
FONT_TYPE_GAMELIST_ITEMLARGE = 12,
|
||||
FONT_TYPE_GAMELIST_ITEMSMALL = 13,
|
||||
FONT_TYPE_CHANNELLIST = 14,
|
||||
FONT_TYPE_CHANNELLIST_DESCR = 15,
|
||||
FONT_TYPE_CHANNELLIST_NUMBER = 16,
|
||||
FONT_TYPE_CHANNELLIST_EVENT = 17,
|
||||
FONT_TYPE_CHANNEL_NUM_ZAP = 18,
|
||||
FONT_TYPE_INFOBAR_NUMBER = 19,
|
||||
FONT_TYPE_INFOBAR_CHANNAME = 20,
|
||||
FONT_TYPE_INFOBAR_INFO = 21,
|
||||
FONT_TYPE_INFOBAR_SMALL = 22,
|
||||
FONT_TYPE_FILEBROWSER_ITEM = 23,
|
||||
FONT_TYPE_MENU_HINT = 24
|
||||
FONT_TYPE_MENU = 0,
|
||||
FONT_TYPE_MENU_TITLE,
|
||||
FONT_TYPE_MENU_INFO,
|
||||
FONT_TYPE_EPG_TITLE,
|
||||
FONT_TYPE_EPG_INFO1,
|
||||
FONT_TYPE_EPG_INFO2,
|
||||
FONT_TYPE_EPG_DATE,
|
||||
FONT_TYPE_EVENTLIST_TITLE,
|
||||
FONT_TYPE_EVENTLIST_ITEMLARGE,
|
||||
FONT_TYPE_EVENTLIST_ITEMSMALL,
|
||||
FONT_TYPE_EVENTLIST_DATETIME,
|
||||
FONT_TYPE_EVENTLIST_EVENT,
|
||||
FONT_TYPE_GAMELIST_ITEMLARGE,
|
||||
FONT_TYPE_GAMELIST_ITEMSMALL,
|
||||
FONT_TYPE_CHANNELLIST,
|
||||
FONT_TYPE_CHANNELLIST_DESCR,
|
||||
FONT_TYPE_CHANNELLIST_NUMBER,
|
||||
FONT_TYPE_CHANNELLIST_EVENT,
|
||||
FONT_TYPE_CHANNEL_NUM_ZAP,
|
||||
FONT_TYPE_INFOBAR_NUMBER,
|
||||
FONT_TYPE_INFOBAR_CHANNAME,
|
||||
FONT_TYPE_INFOBAR_INFO,
|
||||
FONT_TYPE_INFOBAR_SMALL,
|
||||
FONT_TYPE_FILEBROWSER_ITEM,
|
||||
FONT_TYPE_MENU_HINT,
|
||||
FONT_TYPE_COUNT
|
||||
};
|
||||
|
||||
// lcdd
|
||||
|
Reference in New Issue
Block a user