mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 19:45:35 -04:00
[qrvthtool] ConfigDefaults: Make ValidationType a uint8_t.
This doesn't reduce any struct sizes, yet...
This commit is contained in:
parent
5c45800816
commit
1cf87bc6fa
@ -70,7 +70,7 @@ public:
|
||||
uint8_t flags;
|
||||
|
||||
// Parameter validation
|
||||
enum class ValidationType {
|
||||
enum class ValidationType : uint8_t {
|
||||
None, // No validation
|
||||
Boolean, // Boolean (normalize to true/false)
|
||||
Color, // QColor
|
||||
@ -79,6 +79,7 @@ public:
|
||||
Max
|
||||
};
|
||||
ValidationType validation;
|
||||
|
||||
int range_min;
|
||||
int range_max;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user