launcher: make editable/not optional on dropdown text and numbers (+minor fixes)

This commit is contained in:
somewhatlurker
2019-08-30 00:16:34 +10:00
parent 956fb8698f
commit 5a5cc70c90
6 changed files with 29 additions and 14 deletions
@@ -2,7 +2,6 @@
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h>
#include <vector>
#include "framework.h"
// resolution class to store and sort the width and height easily
class resolution
@@ -108,6 +107,7 @@ namespace PluginConfig
LPCWSTR description;
LPCWSTR defaultVal;
std::vector<LPCWSTR> valueStrings;
bool editable;
bool useUtf8;
};
@@ -119,6 +119,7 @@ namespace PluginConfig
LPCWSTR description;
int defaultVal;
std::vector<int> valueInts;
bool editable;
};
struct PluginConfigResolutionData {