#ifndef __OOL_XSTEXT_H__
#define __OOL_XSTEXT_H__

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


#include "xstatic.h"

#define TX_TOP        DT_TOP
#define TX_VCENTER    DT_VCENTER
#define TX_BOTTOM     DT_BOTTOM
#define TX_LEFT       DT_LEFT
#define TX_CENTER     DT_CENTER
#define TX_RIGHT      DT_RIGHT
#define TX_WORDBREAK  DT_WORDBREAK

class _export_ XStaticText: public XStatic
{
     friend class XFrameWindow;
   private:
     LONG color;
     XStaticText( HWND hwnd);
   public:
     XStaticText( XWindow * w, const char * text = NULL, XRect * p=NULL, LONG style = TX_LEFT | ST_AUTOSIZE | TX_VCENTER);
     virtual ~XStaticText() {;}
};

#endif
