11 inline static constexpr uint16_t checkBoxWidth = 200;
12 inline static constexpr uint16_t checkBoxHeight = 20;
23 virtual LRESULT windowMessagesHandle(HWND handle, UINT message, WPARAM wparam, LPARAM lparam,
bool& isUsed)
final override;
26 BaseCheckBox(
const std::wstring& checkBoxName,
const std::wstring& checkBoxText,
const utility::ComponentSettings& settings,
BaseComposite* parent,
const std::function<
void()>& onCheck,
const std::function<
void()>& onClear,
const std::function<
void()>& onClick =
nullptr);
30 void setOnCheck(
const std::string& functionName,
const std::string& moduleName);
34 void setOnClear(
const std::string& functionName,
const std::string& moduleName);
36 const std::function<void()>& getOnCheck()
const;
38 const std::function<void()>& getOnClear()
const;
42 virtual size_t getHash()
const override = 0;
44 virtual json::JSONBuilder getStructure()
const override;