home *** CD-ROM | disk | FTP | other *** search
- // ObjectWindows - (C) Copyright 1991 by Borland International
-
- #ifndef __BDIVIDER_H
- #define __BDIVIDER_H
-
- #ifndef __CONTROL_H
- #include <control.h>
- #endif
-
- _CLASSDEF(TBDivider)
-
- /* --------------------------------------------------------
- TBDivider object
- -------------------------------------------------------- */
- class _EXPORT TBDivider : public TControl
- {
- public:
- TBDivider(PTWindowsObject AParent, int AnId, LPSTR AText,
- int X, int Y, int W, int H, BOOL IsVertical,
- BOOL IsBump, PTModule AModule = NULL);
- TBDivider(PTWindowsObject AParent, int ResourceId,
- PTModule AModule = NULL);
- static PTStreamable build();
-
- protected:
- virtual LPSTR GetClassName()
- {return "BORSHADE";}
- TBDivider(StreamableInit) : TControl(streamableInit) {};
-
- private:
- virtual const Pchar StreamableName() const
- { return "TBDivider"; }
- };
-
- inline Ripstream operator >> ( Ripstream is, RTBDivider cl )
- { return is >> (RTStreamable)cl; }
- inline Ripstream operator >> ( Ripstream is, RPTBDivider cl )
- { return is >> (RPvoid)cl; }
-
- inline Ropstream operator << ( Ropstream os, RTBDivider cl )
- { return os << (RTStreamable)cl; }
- inline Ropstream operator << ( Ropstream os, PTBDivider cl )
- { return os << (PTStreamable)cl; }
-
- #endif
-