29#ifndef Pt_Forms_Icon_h
30#define Pt_Forms_Icon_h
32#include <Pt/Forms/Api.h>
33#include <Pt/Gfx/Size.h>
34#include <Pt/Gfx/Image.h>
35#include <Pt/System/Path.h>
60 friend class IconImpl;
81 virtual void addImage(
const Gfx::SizeF& size,
const Gfx::Image& image) = 0;
99 virtual const Gfx::Image&
getImage(
const Gfx::SizeF& area) = 0;
102 void attachIcon(IconImpl* parent);
104 void detachIcon(IconImpl* parent);
107 std::vector<IconImpl*> _icons;
190 void addImage(
const Gfx::SizeF& size,
const Gfx::Image& image);
207 const Gfx::Image&
getImage(
const Gfx::SizeF& area)
const;
221 mutable class IconImpl* _impl;
Represents a path in the file-system.
Definition Path.h:48
Core module.
Definition Allocator.h:33