faithui/faith/iconset.h

Go to the documentation of this file.
00001 #ifndef FAITH__ICONSET_H
00002 #define FAITH__ICONSET_H
00003 
00004 #include <faith/pixmap.h>
00005 #include <faith/ui.h>
00006 
00007 namespace Faith
00008 {
00009 
00010 class FAITH_UI_EXPORT IconSet
00011 {
00012         struct IconSetPrivate;
00013         mutable IconSetPrivate *d;
00014 
00015 public:
00016         enum Mode
00017         {
00018                 Normal,
00019                 Disabled,
00020                 Active
00021         };
00022         
00023         enum Size
00024         {
00025                 Small=16,
00026                 Medium=22,
00027                 Large=32
00028         };
00029 
00030         IconSet();
00031         IconSet(const Pixmap &generate);
00032         IconSet(const IconSet &copy);
00033         ~IconSet();
00034         
00035         IconSet &operator =(const IconSet &copy);
00036         
00041         Pixmap pixmap(Size size, Mode mode) const;
00042         
00047         Pixmap pixmap(Mode mode) const;
00048         
00053         Pixmap pixmap(Size size) const;
00054 
00055 };
00056 
00057 }
00058 
00059 #endif

Generated on Fri Sep 1 00:23:07 2006 for Faith by  doxygen 1.4.7