* Implemented Theme Menu. * Minor adjustments. * added two new theming attributes, borderColor, borderTextcolor, allows users to modify the boxes that surrounds the menu entries * added theme info to config file, users can now add theme author, theme name, and theme version to a theme config file. * tested building on mac osx, added to .gitignore and make clean for files generated on osx * The path for the theme is now stored in a config string in settings.cfg, instead of a hard-coded theme.cfg path. * added functions to create/modify settings config for hbmenu theme * added Default theme entry that will always insert itself at the front of the list of themes * added code for + and - button, using - button for theme menu now (button display for this is disabled).
54 lines
964 B
C
54 lines
964 B
C
#pragma once
|
|
#ifdef __SWITCH__
|
|
#include <switch.h>
|
|
#endif
|
|
|
|
typedef enum
|
|
{
|
|
StrId_Loading = 0,
|
|
StrId_Directory,
|
|
StrId_DefaultPublisher,
|
|
StrId_IOError,
|
|
StrId_CouldNotOpenFile,
|
|
|
|
StrId_NoAppsFound_Title,
|
|
StrId_NoAppsFound_Msg,
|
|
|
|
StrId_LastLoadResult,
|
|
|
|
StrId_AppInfo_Author,
|
|
StrId_AppInfo_Version,
|
|
StrId_Actions_Launch,
|
|
StrId_Actions_Open,
|
|
StrId_Actions_Back,
|
|
StrId_Actions_Apply,
|
|
|
|
StrId_MsgBox_OK,
|
|
|
|
StrId_Reboot,
|
|
StrId_ReturnToHome,
|
|
|
|
StrId_TitleSelector,
|
|
StrId_ErrorReadingTitleMetadata,
|
|
StrId_NoTitlesFound,
|
|
StrId_SelectTitle,
|
|
|
|
StrId_NoTargetTitleSupport,
|
|
StrId_MissingTargetTitle,
|
|
|
|
StrId_NetLoader,
|
|
StrId_NetLoaderUnavailable,
|
|
StrId_NetLoaderOffline,
|
|
StrId_NetLoaderError,
|
|
StrId_NetLoaderActive,
|
|
StrId_NetLoaderTransferring,
|
|
|
|
StrId_ThemeMenu,
|
|
StrId_ThemeNotApplied,
|
|
|
|
StrId_Max,
|
|
} StrId;
|
|
|
|
extern const char* const g_strings[StrId_Max][16];
|
|
|