29#ifndef Pt_Forms_TabView_H
30#define Pt_Forms_TabView_H
32#include <Pt/Forms/Control.h>
33#include <Pt/Forms/TabViewStyler.h>
34#include <Pt/Forms/StackLayout.h>
88 {
return _measuredSize; }
93 { _measuredSize = s; }
108 {
return _isPressed; }
117 Gfx::SizeF _measuredSize;
118 Gfx::RectF _geometry;
119 Gfx::PointF _textPos;
275 const Gfx::RectF& contentRect,
281 const Gfx::RectF& contentRect,
282 const Gfx::RectF& activeTabRect,
286 std::size_t hitTab(
const Gfx::PointF& pos)
const;
303 const Gfx::RectF& tabRect,
305 const Gfx::PointF& textPos,
308 const Gfx::RectF& currentTabRect()
const;
310 void onControlRemoved(std::size_t n);
314 std::vector<TabViewItem> _tabs;
315 std::size_t _current;
316 Gfx::RectF _tabBarRect;
Active painting session on a Forms paint surface.
Definition PaintContext.h:51
Fill color, gradient or texture.
Definition Brush.h:151
8-bit ARGB color.
Definition Color.h:65
Font family, size and style.
Definition Font.h:63
Slant
Describes the requested font slant.
Definition Font.h:83
Weight
Describes the requested font weight.
Definition Font.h:68
Outline color, width and style.
Definition Pen.h:59
Unicode capable basic_string.
Definition Api-String.h:67
Core module.
Definition Allocator.h:33