Pure geometry for the sample grid. Values are logical pixels in the pane. More...
#include "donner/editor/SamplePickerPresenter.h"
Public Attributes | |
| SamplePickerLayoutMode | mode = SamplePickerLayoutMode::Narrow |
| Responsive arrangement used for the sample cards. | |
| std::size_t | columns = 1 |
| Number of card columns. | |
| std::size_t | rows = 0 |
| Number of card rows. | |
| float | cardWidth = 0.0f |
| Width of each sample card in logical UI pixels. | |
| float | cardHeight = kSamplePickerMinTouchTarget |
| Height of each sample card in logical UI pixels. | |
Pure geometry for the sample grid. Values are logical pixels in the pane.
| float donner::editor::SamplePickerLayout::cardHeight = kSamplePickerMinTouchTarget |
Height of each sample card in logical UI pixels.
| float donner::editor::SamplePickerLayout::cardWidth = 0.0f |
Width of each sample card in logical UI pixels.
| std::size_t donner::editor::SamplePickerLayout::columns = 1 |
Number of card columns.
| SamplePickerLayoutMode donner::editor::SamplePickerLayout::mode = SamplePickerLayoutMode::Narrow |
Responsive arrangement used for the sample cards.
| std::size_t donner::editor::SamplePickerLayout::rows = 0 |
Number of card rows.