00001 /* 00002 * Copyright (c) 2006 by Kirill Kolodyazhniy. 00003 * See the file "license.terms" for information on usage and redistribution 00004 * of this file, and for a DISCLAIMER OF ALL WARRANTIES. 00005 */ 00006 00007 #ifndef M_IMAGE_H 00008 #define M_IMAGE_H 00009 00010 namespace MWidgets 00011 { 00013 class Image 00014 { 00015 protected: 00016 HBITMAP m_hBitamp; 00017 public: 00019 Image(); 00022 void Load(std::string fileName); 00024 void Free(); 00026 ~Image(); 00028 HBITMAP GetHBITMAP(); 00029 }; 00030 }; 00031 00032 #endif