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