GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
Button.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace gui_framework
7{
10 public BaseButton,
12 {
13 public:
14 Button(const std::wstring& buttonName, const std::wstring& buttonText, const utility::ComponentSettings& settings, BaseComposite* parent, const std::function<void()>& onClick = nullptr);
15
16 Button(const std::wstring& buttonName, const std::wstring& buttonText, const utility::ComponentSettings& settings, BaseComposite* parent, const std::string& functionName, const std::string& moduleName);
17
18 size_t getHash() const override;
19
20 ~Button() = default;
21 };
22}
#define GUI_FRAMEWORK_API
Base class for all buttons.
Definition BaseButton.h:15
Base class for all windows that has children windows.
Standard button.
Definition Button.h:12
Button(const std::wstring &buttonName, const std::wstring &buttonText, const utility::ComponentSettings &settings, BaseComposite *parent, const std::function< void()> &onClick=nullptr)
Button(const std::wstring &buttonName, const std::wstring &buttonText, const utility::ComponentSettings &settings, BaseComposite *parent, const std::string &functionName, const std::string &moduleName)
Provides resize, setBlockResize, getBlockResize methods.