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.

ovdCColorSettingView.h 698B

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