home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xpie.h < prev    next >
C/C++ Source or Header  |  1997-08-12  |  1KB  |  28 lines

  1. #ifndef __OOL_XPIE_H__
  2. #define __OOL_XPIE_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XPie                                  */
  8. /*                       derived from: XChart                                */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "XChart.h"
  14. #include "XArc.h"
  15.  
  16. class _export_ XPie: public XChart
  17. {
  18.       XArc ** arc;
  19.    public:
  20.       XPie( const XWindow * w, const XRect& rec=XRect(), const LONG id=0, const LONG st = 0, const char* t = NULL);
  21.       void Calculate( void );
  22.       void GetItemColor( const USHORT index, XColor * );
  23.       void SetItemColor( const USHORT index, const XColor *);
  24.       void SetItemCount( const USHORT count );
  25. };
  26.  
  27. #endif
  28.