You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ovdCScriptSettingView.h 736B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "../ovd_base.h"
  3. #include "ovdCAbstractSettingView.h"
  4. namespace OpenViBE {
  5. namespace Designer {
  6. namespace Setting {
  7. class CScriptSettingView final : public CAbstractSettingView
  8. {
  9. public:
  10. CScriptSettingView(Kernel::IBox& box, const size_t index, CString& builderName, const Kernel::IKernelContext& ctx);
  11. void getValue(CString& value) const override;
  12. void setValue(const CString& value) override;
  13. void browse() const;
  14. void edit() const;
  15. void onChange();
  16. #if defined TARGET_OS_Windows
  17. void onFocusLost();
  18. #endif
  19. private:
  20. GtkEntry* m_entry = nullptr;
  21. const Kernel::IKernelContext& m_kernelCtx;
  22. bool m_onValueSetting = false;
  23. };
  24. } // namespace Setting
  25. } // namespace Designer
  26. } // namespace OpenViBE