15 if (message == WM_COMMAND &&
id == LOWORD(wparam))
34 ITextOperations::setText(localizedText);
40 standard_classes::button,
46 ITextOperations(handle, buttonText),
52 BaseButton::BaseButton(
const wstring& buttonName,
const wstring& buttonText,
const utility::ComponentSettings& settings,
const styles::ButtonStyles& styles, BaseComposite* parent,
const string& functionName,
const string& moduleName) :
55 wstring(standard_classes::button),
61 ITextOperations(handle)
63 ITextOperations::setText(buttonText);
79 const HMODULE& module = instance.getModules().at(
moduleName);
85 throw exceptions::CantFindFunctionFromModuleException(
functionName,
moduleName, __FILE__, __FUNCTION__, __LINE__);
116 using json::utility::jsonObject;
126 current.data.push_back({
"functionName"s,
functionName });
128 current.data.push_back({
"moduleName"s,
moduleName });
139 ITextOperations::setText(localizationKey);
Base class for all windows, controls, etc.
virtual json::JSONBuilder getStructure() const override
const std::wstring windowName
Base class for all windows that has children windows.
const std::unordered_map< std::string, std::string > & getModulesPaths() const
Get all loaded modules paths.
static GUIFramework & get()
Singleton instance access.
virtual void setLocalizationKey(std::string_view localizationKey) final
void throwNotImplementedException(string_view methodName, string_view className)
string to_string(wstring_view stringToConvert, uint32_t codepage)
void(*)() onClickSignature
Default on click signature.
All settings for windows.