added render backend selection to the new IWAD picker.
Unlike VkDoom we still need this.
This commit is contained in:
parent
15e9c95419
commit
a2a7667442
5 changed files with 78 additions and 135 deletions
|
|
@ -16,6 +16,8 @@ public:
|
|||
void Toggle();
|
||||
|
||||
double GetPreferredHeight() const;
|
||||
std::function<void(bool)> FuncChanged;
|
||||
void SetRadioStyle(bool on) { radiostyle = on; }
|
||||
|
||||
protected:
|
||||
void OnPaint(Canvas* canvas) override;
|
||||
|
|
@ -27,5 +29,7 @@ protected:
|
|||
private:
|
||||
std::string text;
|
||||
bool checked = false;
|
||||
bool radiostyle = false;
|
||||
bool mouseDownActive = false;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue