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.

ovdCFloatSettingView.h 668B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include "../ovd_base.h"
  3. #include "ovdCAbstractSettingView.h"
  4. namespace OpenViBE {
  5. namespace Designer {
  6. namespace Setting {
  7. class CFloatSettingView final : public CAbstractSettingView
  8. {
  9. public:
  10. CFloatSettingView(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 adjustValue(double amount);
  14. void onChange();
  15. private:
  16. GtkEntry* m_entry = nullptr;
  17. const Kernel::IKernelContext& m_kernelCtx;
  18. bool m_onValueSetting = false;
  19. };
  20. } // namespace Setting
  21. } // namespace Designer
  22. } // namespace OpenViBE