16 AdditionalCreationData<Button>::AdditionalCreationData(
const wstring text,
const string& onClickFunctionName,
const string& onClickFunctionModule) :
18 onClickFunctionName(onClickFunctionName),
19 onClickFunctionModule(onClickFunctionModule)
26 return make_any<tuple<wstring, function<void()>, string,
string>>(text, onClick, onClickFunctionName, onClickFunctionModule);
38 AdditionalCreationData<CheckBox>::AdditionalCreationData(
const wstring text,
const string& onCheckFunctionName,
const string& onCheckFunctionModule,
const string& onClearFunctionName,
const string& onClearFunctionModule,
const string& onClickFunctionName,
const string& onClickFunctionModule) :
40 onCheckFunctionName(onCheckFunctionName),
41 onCheckFunctionModule(onCheckFunctionModule),
42 onClearFunctionName(onCheckFunctionName),
43 onClearFunctionModule(onCheckFunctionModule),
44 onClickFunctionName(onCheckFunctionName),
45 onClickFunctionModule(onCheckFunctionModule)
52 return make_any<tuple<wstring, function<void()>, function<void()>, function<void()>, string, string, string, string, string,
string>>(text, onCheck, onClear, onClick, onCheckFunctionName, onCheckFunctionModule, onClearFunctionName, onClearFunctionModule, onClickFunctionName, onClickFunctionModule);
57 pathToImage(pathToImage),
59 imageWidth(imageWidth),
60 imageHeight(imageHeight),
70 pathToImage(pathToImage),
72 imageWidth(imageWidth),
73 imageHeight(imageHeight),
76 onClickFunctionName(onClickFunctionName),
77 onClickFunctionModule(onClickFunctionModule)
84 resourceModuleName(resourceModuleName),
85 imageResource(imageResource),
86 imageWidth(imageWidth),
87 imageHeight(imageHeight),
97 resourceModuleName(resourceModuleName),
98 imageResource(imageResource),
99 imageWidth(imageWidth),
100 imageHeight(imageHeight),
103 onClickFunctionName(onClickFunctionName),
104 onClickFunctionModule(onClickFunctionModule)
112 <tuple<wstring, filesystem::path, uint32_t, string, uint16_t, uint16_t,
ImageButton::drawingType,
ImageButton::imageType, function<void()>, string,
string>>
113 (text, pathToImage, imageResource, resourceModuleName, imageWidth, imageHeight, dType, iType, onClick, onClickFunctionName, onClickFunctionModule);
Base templated class for component creators.
virtual std::any getData() const
AdditionalCreationData()=default