123456789101112131415161718192021222324252627282930313233 |
- #pragma once
-
- #include "../ovd_base.h"
- #include "ovdCAbstractSettingView.h"
-
- namespace OpenViBE {
- namespace Designer {
- namespace Setting {
- class CScriptSettingView final : public CAbstractSettingView
- {
- public:
- CScriptSettingView(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 browse() const;
- void edit() const;
-
- void onChange();
- #if defined TARGET_OS_Windows
- void onFocusLost();
- #endif
-
- private:
- GtkEntry* m_entry = nullptr;
-
- const Kernel::IKernelContext& m_kernelCtx;
- bool m_onValueSetting = false;
- };
- } // namespace Setting
- } // namespace Designer
- } // namespace OpenViBE
|