diff --git a/src/gui/lua/lua_api_version.h b/src/gui/lua/lua_api_version.h index 4b66a34c7..6fad87af7 100644 --- a/src/gui/lua/lua_api_version.h +++ b/src/gui/lua/lua_api_version.h @@ -4,4 +4,4 @@ * to luainstance.h changes */ #define LUA_API_VERSION_MAJOR 1 -#define LUA_API_VERSION_MINOR 85 +#define LUA_API_VERSION_MINOR 86 diff --git a/src/gui/lua/luainstance.cpp b/src/gui/lua/luainstance.cpp index 822d87da9..87c5895b3 100644 --- a/src/gui/lua/luainstance.cpp +++ b/src/gui/lua/luainstance.cpp @@ -239,28 +239,40 @@ static void set_lua_variables(lua_State *L) /* font list, the _TYPE_ is redundant, exported e.g. as FONT['MENU'] */ static table_key fontlist[] = { - { "MENU", SNeutrinoSettings::FONT_TYPE_MENU }, - { "MENU_TITLE", SNeutrinoSettings::FONT_TYPE_MENU_TITLE }, - { "MENU_INFO", SNeutrinoSettings::FONT_TYPE_MENU_INFO }, - { "EPG_TITLE", SNeutrinoSettings::FONT_TYPE_EPG_TITLE }, - { "EPG_INFO1", SNeutrinoSettings::FONT_TYPE_EPG_INFO1 }, - { "EPG_INFO2", SNeutrinoSettings::FONT_TYPE_EPG_INFO2 }, - { "EPG_DATE", SNeutrinoSettings::FONT_TYPE_EPG_DATE }, - { "EVENTLIST_TITLE", SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE }, - { "EVENTLIST_ITEMLARGE",SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE }, - { "EVENTLIST_ITEMSMALL",SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL }, - { "EVENTLIST_DATETIME", SNeutrinoSettings::FONT_TYPE_EVENTLIST_DATETIME }, - { "CHANNELLIST", SNeutrinoSettings::FONT_TYPE_CHANNELLIST }, - { "CHANNELLIST_DESCR", SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR }, - { "CHANNELLIST_NUMBER", SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER }, - { "CHANNELLIST_EVENT", SNeutrinoSettings::FONT_TYPE_CHANNELLIST_EVENT }, - { "CHANNEL_NUM_ZAP", SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP }, - { "INFOBAR_NUMBER", SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER }, - { "INFOBAR_CHANNAME", SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME }, - { "INFOBAR_INFO", SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO }, - { "INFOBAR_SMALL", SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL }, - { "FILEBROWSER_ITEM", SNeutrinoSettings::FONT_TYPE_FILEBROWSER_ITEM }, - { "MENU_HINT", SNeutrinoSettings::FONT_TYPE_MENU_HINT }, + { "MENU", SNeutrinoSettings::FONT_TYPE_MENU }, + { "MENU_TITLE", SNeutrinoSettings::FONT_TYPE_MENU_TITLE }, + { "MENU_INFO", SNeutrinoSettings::FONT_TYPE_MENU_INFO }, + { "MENU_FOOT", SNeutrinoSettings::FONT_TYPE_MENU_FOOT }, + { "EPG_TITLE", SNeutrinoSettings::FONT_TYPE_EPG_TITLE }, + { "EPG_INFO1", SNeutrinoSettings::FONT_TYPE_EPG_INFO1 }, + { "EPG_INFO2", SNeutrinoSettings::FONT_TYPE_EPG_INFO2 }, + { "EPG_DATE", SNeutrinoSettings::FONT_TYPE_EPG_DATE }, + { "EPGPLUS_ITEM", SNeutrinoSettings::FONT_TYPE_EPGPLUS_ITEM }, + { "EVENTLIST_TITLE", SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE }, + { "EVENTLIST_ITEMLARGE", SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE }, + { "EVENTLIST_ITEMSMALL", SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL }, + { "EVENTLIST_DATETIME", SNeutrinoSettings::FONT_TYPE_EVENTLIST_DATETIME }, + { "EVENTLIST_EVENT", SNeutrinoSettings::FONT_TYPE_EVENTLIST_EVENT }, + { "CHANNELLIST", SNeutrinoSettings::FONT_TYPE_CHANNELLIST }, + { "CHANNELLIST_DESCR", SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR }, + { "CHANNELLIST_NUMBER", SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER }, + { "CHANNELLIST_EVENT", SNeutrinoSettings::FONT_TYPE_CHANNELLIST_EVENT }, + { "CHANNEL_NUM_ZAP", SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP }, + { "INFOBAR_NUMBER", SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER }, + { "INFOBAR_CHANNAME", SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME }, + { "INFOBAR_INFO", SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO }, + { "INFOBAR_SMALL", SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL }, + { "FILEBROWSER_ITEM", SNeutrinoSettings::FONT_TYPE_FILEBROWSER_ITEM }, + { "MENU_HINT", SNeutrinoSettings::FONT_TYPE_MENU_HINT }, + { "MOVIEBROWSER_HEAD", SNeutrinoSettings::FONT_TYPE_MOVIEBROWSER_HEAD }, + { "MOVIEBROWSER_LIST", SNeutrinoSettings::FONT_TYPE_MOVIEBROWSER_LIST }, + { "MOVIEBROWSER_INFO", SNeutrinoSettings::FONT_TYPE_MOVIEBROWSER_INFO }, + { "SUBTITLES", SNeutrinoSettings::FONT_TYPE_SUBTITLES }, + { "MESSAGE_TEXT", SNeutrinoSettings::FONT_TYPE_MESSAGE_TEXT }, + { "BUTTON_TEXT", SNeutrinoSettings::FONT_TYPE_BUTTON_TEXT }, + { "WINDOW_GENERAL", SNeutrinoSettings::FONT_TYPE_WINDOW_GENERAL }, + { "RADIOTEXT_TITLE", SNeutrinoSettings::FONT_TYPE_WINDOW_RADIOTEXT_TITLE }, + { "WINDOW_RADIOTEXT_DESC", SNeutrinoSettings::FONT_TYPE_WINDOW_RADIOTEXT_DESC }, { NULL, 0 } };