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

  1. #ifndef __OOL_XBAR_H__
  2. #define __OOL_XBAR_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XBar                                  */
  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 "XBox.h"
  15.  
  16. class _export_ XBar: public XChart
  17. {
  18.       XBox ** box;
  19.    public:
  20.       XBar( 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.