12345678910111213141516171819202122232425262728 |
- #pragma once
-
- #include "../ovd_base.h"
- #include "ovdCAbstractSettingView.h"
-
- namespace OpenViBE {
- namespace Designer {
- namespace Setting {
- class CBooleanSettingView final : public CAbstractSettingView
- {
- public:
- CBooleanSettingView(Kernel::IBox& box, const size_t index, CString& builderName);
-
- void getValue(CString& value) const override;
- void setValue(const CString& value) override;
-
- void toggleButtonClick();
- void onChange();
-
-
- private:
- GtkToggleButton* m_toggle = nullptr;
- GtkEntry* m_entry = nullptr;
- bool m_onValueSetting = false;
- };
- } // namespace Setting
- } // namespace Designer
- } // namespace OpenViBE
|