home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xmarker.h < prev    next >
Text File  |  1998-01-18  |  1KB  |  36 lines

  1. #ifndef __OOL_XMARKER_H__
  2. #define __OOL_XMARKER_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XMarker                               */
  8. /*                       derived from: XGraphicObject                        */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14.  
  15. #include "xgraphob.h"
  16. #include "xpoint.h"
  17. #include "xsize.h"
  18.  
  19. class _export_ XMarker: public XGraphicObject
  20. {
  21.    private:
  22.       char type;
  23.       //SHORT cx, cy;
  24.       XSize size;
  25.    public:
  26.       XMarker( const XPoint * point, const SHORT t = MARKSYM_SOLIDSQUARE);
  27.       virtual ~XMarker() {;}
  28.       void Draw( XGraphicDevice * dev );
  29.       void GetSize( XSize * s) { *s = size; }
  30.       void SetSize( const XSize * s) { size = *s; }
  31.       void SetupDevice( XGraphicDevice * dev);
  32. };
  33.  
  34.  
  35. #endif
  36.