31#ifndef Pt_Forms_ButtonStyler_h
32#define Pt_Forms_ButtonStyler_h
34#include <Pt/Forms/Styler.h>
146 const Gfx::SizeF& iconSize,
147 const Gfx::SizeF& textSize);
152 const Gfx::SizeF& contentSize);
157 const Gfx::RectF& frameRect);
163 const Gfx::PointF& textPos,
165 String::size_type mnemonicIndex);
177 const Gfx::RectF& contentRect,
179 const Gfx::SizeF& iconSize,
180 const Gfx::SizeF& textSize,
181 Gfx::RectF& iconRect,
182 Gfx::RectF& textRect);
196 const Gfx::RectF& rect,
202 const Gfx::RectF& rect,
208 const Gfx::RectF& rect,
210 const Gfx::PointF& pos,
216 const Gfx::RectF& rect,
217 const Gfx::RectF& mnemonic,
223 const Gfx::RectF& rect,
225 const Gfx::PointF& pos,
240 const Gfx::SizeF& contentSize) = 0;
246 const Gfx::SizeF& iconSize,
247 const Gfx::SizeF& textSize) = 0;
252 const Gfx::RectF& frameRect) = 0;
258 const Gfx::PointF& textPos,
260 String::size_type mnemonicIndex) = 0;
269 const Gfx::RectF& contentRect,
271 const Gfx::SizeF& iconSize,
272 const Gfx::SizeF& textSize,
273 Gfx::RectF& iconRect,
274 Gfx::RectF& textRect) = 0;
279 const Gfx::RectF& rect,
291 const Gfx::RectF& rect,
297 const Gfx::RectF& rect,
299 const Gfx::PointF& pos,
305 const Gfx::RectF& rect,
306 const Gfx::RectF& mnemonic,
312 const Gfx::RectF& rect,
314 const Gfx::PointF& pos,
419 const Gfx::SizeF& iconSize,
420 const Gfx::SizeF& textSize)
const;
425 const Gfx::SizeF& contentSize)
const;
430 const Gfx::RectF& frameRect)
const;
435 const Gfx::RectF& contentRect,
437 const Gfx::SizeF& iconSize,
438 const Gfx::SizeF& textSize,
439 Gfx::RectF& iconRect,
440 Gfx::RectF& textRect)
const;
446 const Gfx::PointF& textPos,
448 String::size_type mnemonicIndex)
const;
453 const Gfx::RectF& rect,
459 const Gfx::RectF& rect,
465 const Gfx::RectF& rect,
467 const Gfx::PointF& pos,
473 const Gfx::RectF& rect,
474 const Gfx::RectF& mnemonic,
480 const Gfx::RectF& rect,
482 const Gfx::PointF& pos,
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
Ascent, descent and line height of a font.
Definition FontMetrics.h:50
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
Width and bounds of a text run.
Definition TextMetrics.h:49
Unicode capable basic_string.
Definition Api-String.h:67
Core module.
Definition Allocator.h:33