home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xsbitmap.h < prev    next >
C/C++ Source or Header  |  1998-01-01  |  1KB  |  33 lines

  1. #ifndef __OOL_XSBITMAP_H__
  2. #define __OOL_XSBITMAP_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XStaticBitmap                         */
  8. /*                       derived from: XStatic                               */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14. #include "xstatic.h"
  15.  
  16. class XBitmap;
  17. class XResource;
  18.  
  19. class _export_ XStaticBitmap: public XStatic
  20. {
  21.       friend void BuildChilds( HWND );
  22.    private:
  23.       XStaticBitmap( const OOL_WINDOWHANDLE hwnd):XStatic(hwnd) {;}
  24.       XBitmap * bmp;
  25.    public:
  26.       XStaticBitmap( const XWindow * w, const char * , const XRect& p=XRect(), const LONG id = 0, const LONG style=ST_AUTOSIZE);
  27.       virtual ~XStaticBitmap();
  28.       void Load(char * path);
  29.       void Load(XResource*);
  30.       void Load(ULONG id);
  31. };
  32.  
  33. #endif