home *** CD-ROM | disk | FTP | other *** search
- #ifndef __OOL_XPIE_H__
- #define __OOL_XPIE_H__
-
- /*===========================================================================*/
- /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
- /*===========================================================================*/
- /* class: XPie */
- /* derived from: XChart */
- /* last update: 12/96 */
- /* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
- /*===========================================================================*/
-
- #include "XChart.h"
- #include "XArc.h"
-
- class _export_ XPie: public XChart
- {
- XArc ** arc;
- public:
- XPie( const XWindow * w, const XRect& rec=XRect(), const LONG id=0, const LONG st = 0, const char* t = NULL);
- void Calculate( void );
- void GetItemColor( const USHORT index, XColor * );
- void SetItemColor( const USHORT index, const XColor *);
- void SetItemCount( const USHORT count );
- };
-
- #endif
-