mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
More stuff, fix saved games
This commit is contained in:
22
PortabilityLayer/PLRadioButtonWidget.h
Normal file
22
PortabilityLayer/PLRadioButtonWidget.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "PascalStr.h"
|
||||
#include "PLWidgets.h"
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class RadioButtonWidget final : public WidgetSpec<RadioButtonWidget>
|
||||
{
|
||||
public:
|
||||
RadioButtonWidget(const WidgetBasicState &state);
|
||||
~RadioButtonWidget();
|
||||
|
||||
bool Init(const WidgetBasicState &state) override;
|
||||
|
||||
void DrawControl(DrawSurface *surface) override;
|
||||
void SetString(const PLPasStr &str) override;
|
||||
|
||||
private:
|
||||
PascalStr<255> m_text;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user