launcher: add custom button and spacer plugin config options

This commit is contained in:
somewhatlurker
2019-08-30 00:16:35 +10:00
parent f5989b74ac
commit b70fd18dd3
5 changed files with 119 additions and 2 deletions
@@ -56,7 +56,9 @@ namespace PluginConfig
CONFIG_DROPDOWN_NUMBER,
CONFIG_RESOLUTION,
CONFIG_GROUP_START,
CONFIG_GROUP_END
CONFIG_GROUP_END,
CONFIG_BUTTON,
CONFIG_SPACER
};
struct PluginConfigBooleanData {
@@ -141,6 +143,16 @@ namespace PluginConfig
int height;
};
struct PluginConfigButtonData {
LPCWSTR friendlyName;
LPCWSTR description;
void(*func)();
};
struct PluginConfigSpacerData {
int height;
};
struct PluginConfigOption
{
ConfigType cfgType;