Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members Related Pages

# Icon.h

Go to the documentation of this file.

    00001
    00002
    00003
    00004 #ifndef ICON_H
    00005 #define ICON_H
    00006
    00007 #include "Component.h"
    00008 #include "Types.h"
    00009
    00010 namespace wkgl {
    00011
    00012 #define ICO_SMALL 16
    00013 #define ICO_MED   32
    00014 #define ICO_LARGE 48
    00015
    00025 class Icon
    00026 {
    00027   protected:
    00028     HICON hicon;
    00029     String *fname;
    00030     SFLAG size;
    00031
    00032   public:
    00036     Icon( HICON hicon, SFLAG size );
    00037
    00041     Icon( String *fname, SFLAG size );
    00042
    00043     virtual ~Icon();
    00044
    00048     virtual HICON getHandle();
    00049
    00053     virtual String* getFileName();
    00054 };
    00055 }
    00056 #endif