Loading...
Searching...
No Matches
GraphicsGridLayout.hpp
1#pragma once
2
3#include <score/graphics/GraphicsLayout.hpp>
4
5namespace score
6{
7
8class SCORE_LIB_BASE_EXPORT GraphicsGridColumnsLayout : public GraphicsLayout
9{
10public:
11 using GraphicsLayout::GraphicsLayout;
13
14 void setColumns(int columns);
15
16 void layout() override;
17
18private:
19 int m_columns{5};
20};
21
22class SCORE_LIB_BASE_EXPORT GraphicsGridRowsLayout : public GraphicsLayout
23{
24public:
25 using GraphicsLayout::GraphicsLayout;
27
28 void setRows(int rows);
29
30 void layout() override;
31
32private:
33 int m_rows{5};
34};
35
36class SCORE_LIB_BASE_EXPORT GraphicsDefaultLayout : public GraphicsLayout
37{
38public:
39 using GraphicsLayout::GraphicsLayout;
41
42 void layout() override;
43};
44
45}
Definition GraphicsGridLayout.hpp:37
Definition GraphicsGridLayout.hpp:9
Definition GraphicsGridLayout.hpp:23
Definition GraphicsLayout.hpp:8
Base toolkit upon which the software is built.
Definition Application.cpp:90