#ifndef __OOL_XUSERBUTTON_H__
#define __OOL_XUSERBUTTON_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XUserButton                           */
/*                       derived from: XSettingButton                        */
/*                        last update: 7/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/



#include "xsetbtn.h"

class XBitmap;

class _export_ XUserButton: public XSettingButton
{
      friend XBitmap;
      //for internal use only:
      friend class userbtnhandler;
      char isPressed;
   protected:
      XBitmap * bmp;
      void Draw( void );
   public:
      XUserButton( XWindow * w, XRect * r, LONG id);
};

#endif
