1 | #ifndef FASTUIDRAW_DEMO_CELL_GROUP_HPP |
---|---|
2 | #define FASTUIDRAW_DEMO_CELL_GROUP_HPP |
3 | |
4 | #include "ostream_utility.hpp" |
5 | #include "PainterWidget.hpp" |
6 | |
7 | using namespace fastuidraw; |
8 | class CellGroup:public PainterWidget |
9 | { |
10 | public: |
11 | CellGroup(CellGroup *qparent): |
12 | PainterWidget(qparent) |
13 | { |
14 | m_clipped = false; |
15 | } |
16 | |
17 | virtual |
18 | ~CellGroup(void) |
19 | {} |
20 | |
21 | vec2 m_bb_min, m_bb_max; |
22 | |
23 | protected: |
24 | |
25 | vec2 m_bb_against_parent_min, m_bb_against_parent_max; |
26 | |
27 | virtual |
28 | void |
29 | pre_paint(void); |
30 | |
31 | }; |
32 | |
33 | #endif |
34 |