Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CModelChannelIndicatorPanel.hpp
Go to the documentation of this file.
1#ifndef LIBS_PANELS_DIAMAR_CMODELCHANNELINDICATORPANEL_HPP_
2#define LIBS_PANELS_DIAMAR_CMODELCHANNELINDICATORPANEL_HPP_
3
6#include "ui/gui/CList.hpp"
8
9#include <cstdint>
10#include <memory>
11#include <vector>
12
14{
15public:
17 std::shared_ptr<std::vector<std::weak_ptr<iv::channels::AbstractChannel>>> channelsRef);
18
19private:
20 void addColumns(CList *list) override;
21 [[nodiscard]] uint64_t numRows() const override;
22 [[nodiscard]] std::shared_ptr<CDataList> getDataCell(uint64_t indRow, uint64_t indColumn) const override;
23 bool hasForeground(uint64_t indRow, uint64_t indColumn, iv::types::color *rgbForeground) const override;
24
25 std::shared_ptr<std::vector<std::weak_ptr<iv::channels::AbstractChannel>>> m_channelsRef;
26};
27
28#endif//LIBS_PANELS_DIAMAR_CMODELCHANNELINDICATORPANEL_HPP_
Definition CList.hpp:15
Definition CModelChannelIndicatorPanel.hpp:14
CModelChannelIndicatorPanel(std::shared_ptr< std::vector< std::weak_ptr< iv::channels::AbstractChannel > > > channelsRef)
Definition CModelChannelIndicatorPanel.cpp:14
void addColumns(CList *list) override
Definition CModelChannelIndicatorPanel.cpp:20
uint64_t numRows() const override
Definition CModelChannelIndicatorPanel.cpp:41
std::shared_ptr< CDataList > getDataCell(uint64_t indRow, uint64_t indColumn) const override
Definition CModelChannelIndicatorPanel.cpp:46
std::shared_ptr< std::vector< std::weak_ptr< iv::channels::AbstractChannel > > > m_channelsRef
Definition CModelChannelIndicatorPanel.hpp:25
bool hasForeground(uint64_t indRow, uint64_t indColumn, iv::types::color *rgbForeground) const override
Definition CModelChannelIndicatorPanel.cpp:86
Definition IModelList.hpp:14
uint32_t color
Definition types.hpp:12