home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dho.zip / DHO / SRC / SOURCE.ZIP / static.h < prev    next >
C/C++ Source or Header  |  1995-08-27  |  2KB  |  90 lines

  1. /****************************************/
  2. /*    Developer Helper Object Set       */
  3. /*  (C) 1994-95 Thomas E. Bednarz, Jr.  */
  4. /*     All rights reserved              */
  5. /***************************************/
  6.  
  7. /* $Id: static.h 1.2 1995/08/13 03:21:12 teb Exp $ */
  8.  
  9.  
  10. #ifndef __STATIC_H__
  11. #define __STATIC_H__
  12.  
  13.  
  14. #include<winbase.h>
  15. #include<control.h>
  16.  
  17. //-------------------------------------------------------------------
  18. //  TStaticBase
  19. class TStaticBase :  public TControl
  20. {
  21.    protected:
  22.       ULONG classStyle;
  23.       ULONG fx, fy, cx, cy;
  24.       char *text;
  25.  
  26.       void initC();
  27.       TStaticBase(TWinBase *parent, ULONG resource);
  28.       TStaticBase(TWinBase *parent);
  29. };
  30.  
  31.  
  32. //-------------------------------------------------------------------
  33. //  TStaticText
  34. class TStaticText : public TStaticBase
  35. {
  36.    public:
  37.       TStaticText(TWinBase *Parent, char *text, 
  38.                    ULONG x, ULONG y, ULONG width, ULONG height);
  39.       TStaticText(TWinBase *parent, ULONG resource);
  40.       virtual const char *getClassName();
  41.       void setText(char *text);
  42. };
  43.  
  44.  
  45.  
  46. //-------------------------------------------------------------------
  47. //  TBitmap
  48. class TBitmap : public TStaticBase
  49. {
  50.    public:
  51.       TBitmap(TWinBase *Parent, ULONG id, ULONG x, ULONG y,
  52.                   ULONG width, ULONG height);
  53.       TBitmap(TWinBase *parent, ULONG resource);
  54.       virtual const char *getClassName();
  55. };
  56.  
  57.  
  58.  
  59.  
  60. //-------------------------------------------------------------------
  61. //  TGroupBox
  62. class TGroupBox : public TStaticBase
  63. {
  64.    public:
  65.       TGroupBox(TWinBase *Parent, ULONG x, ULONG y,
  66.                      ULONG width, ULONG height);
  67.       TGroupBox(TWinBase *parent, ULONG resource);
  68.       virtual const char *getClassName();
  69. };
  70.  
  71.  
  72.  
  73. //-------------------------------------------------------------------
  74. //  TIcon 
  75. class TIcon : public TStaticBase
  76. {
  77.     public:
  78.       TIcon(TWinBase *Parent, ULONG id, ULONG x, ULONG y,
  79.                 ULONG width, ULONG height);
  80.       TIcon(TWinBase *parent, ULONG resource);
  81.       virtual const char *getClassName();
  82. };
  83.  
  84.  
  85.  
  86.  
  87.  
  88. #endif /* static.h */
  89.  
  90.