17 inline static constexpr uint16_t buttonWidth = 200;
18 inline static constexpr uint16_t buttonHeight = 20;
26 virtual LRESULT windowMessagesHandle(HWND handle, UINT message, WPARAM wparam, LPARAM lparam,
bool& isUsed)
override;
28 virtual void updateLocalization(std::wstring_view localizedText)
override;
47 virtual void setOnClick(
const std::string& functionName,
const std::string& moduleName);
49 const std::function<void()>& getOnClick()
const;
53 const std::string& getFunctionName()
const;
57 const std::string& getModuleName()
const;
64 virtual void setTextColor(uint8_t red, uint8_t green, uint8_t blue)
final override;
68 virtual size_t getHash()
const override = 0;
70 virtual json::JSONBuilder getStructure()
const override;
72 virtual void setText(std::string_view localizationKey)
final override;
76 using interfaces::ITextOperations::setText;
Change localization of buttons, edit controls, etc.
Provides setText and getText methods.