00001
00002
00003
00004
00005 #ifndef __GCOLOUR_H
00006 #define __GCOLOUR_H
00007
00008 #include "GPopup.h"
00009
00010 class GColour :
00011 public GDropDown,
00012 public ResObject
00013 {
00014 friend class GColourPopup;
00015
00016 COLOUR c;
00017 int Items;
00018 COLOUR *List;
00019
00020 public:
00021 GColour(COLOUR *list = 0, int items = 0);
00022 ~GColour();
00023
00024
00025 void SetColourList(COLOUR *list, int items);
00026
00027
00028 int Value();
00029 void Value(int i);
00030 void OnPaint(GSurface *pDC);
00031 };
00032
00033 #endif