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.

ovdCBitMaskSettingView.h 750B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "../ovd_base.h"
  3. #include "ovdCAbstractSettingView.h"
  4. #include <vector>
  5. namespace OpenViBE {
  6. namespace Designer {
  7. namespace Setting {
  8. class CBitMaskSettingView final : public CAbstractSettingView
  9. {
  10. public:
  11. CBitMaskSettingView(Kernel::IBox& box, const size_t index, CString& builderName, const Kernel::IKernelContext& ctx, const CIdentifier& typeID);
  12. void getValue(CString& value) const override;
  13. void setValue(const CString& value) override;
  14. void onChange();
  15. private:
  16. CIdentifier m_typeID = CIdentifier::undefined();
  17. const Kernel::IKernelContext& m_kernelCtx;
  18. std::vector<GtkToggleButton*> m_toggleButton;
  19. bool m_onValueSetting = false;
  20. };
  21. } // namespace Setting
  22. } // namespace Designer
  23. } // namespace OpenViBE