mirror of https://github.com/bsnes-emu/bsnes.git
30 lines
742 B
C++
30 lines
742 B
C++
#if defined(Hiro_AboutDialog)
|
|
|
|
struct AboutDialog {
|
|
using type = AboutDialog;
|
|
|
|
auto setAuthor(const string& author = "") -> type&;
|
|
auto setDescription(const string& description = "") -> type&;
|
|
auto setLicense(const string& license = "") -> type&;
|
|
auto setLogo(const image& logo = {}) -> type&;
|
|
auto setName(const string& name = "") -> type&;
|
|
auto setParent(sWindow parent = {}) -> type&;
|
|
auto setVersion(const string& version = "") -> type&;
|
|
auto setWebsite(const string& website = "") -> type&;
|
|
auto show() -> void;
|
|
|
|
private:
|
|
struct State {
|
|
string author;
|
|
string description;
|
|
string license;
|
|
image logo;
|
|
string name;
|
|
sWindow parent;
|
|
string version;
|
|
string website;
|
|
} state;
|
|
};
|
|
|
|
#endif
|