#ifndef __OOL_XBUTTON_H__
#define __OOL_XBUTTON_H__

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



#include "xcontrol.h"

#define BU_3STATE         5
#define BU_AUTO3STATE     6
#define BU_USERBUTTON     7

#define BU_PRIMARYSTYLES  0x000f
#define BU_TEXT           0x0010
#define BU_MINIICON       0x0020
#define BU_BITMAP         0x0040
#define BU_ICON           0x0080
#define BU_HELP           0x0100
#define BU_DEFAULT        0x0400
#define BU_NOPOINTERFOCUS 0x0800
#define BU_NOBORDER       0x1000
#define BU_NOCURSORSELECT 0x2000
#define BU_AUTOSIZE       0x4000


class _export_ XButton: public XControl
{
   protected:
       XButton(  XWindow * owner, XRect * rec, USHORT id, ULONG style, const char * s , unsigned char *classStyle);
       XButton( HWND hwnd );
       virtual ~XButton() {;}
};


#endif
