diff --git a/src/GUI/puList.cxx b/src/GUI/puList.cxx index b99ccd405..4654084ad 100644 --- a/src/GUI/puList.cxx +++ b/src/GUI/puList.cxx @@ -116,4 +116,18 @@ puList::init (int w, int h) close(); } +void +puList::setColourScheme (float r, float g, float b, float a) +{ + puObject::setColourScheme(r, g, b, a); + _list_box->setColourScheme(r, g, b, a); +} + +void +puList::setColour (int which, float r, float g, float b, float a) +{ + puObject::setColour(which, r, g, b, a); + _list_box->setColour(which, r, g, b, a); +} + // end of puList.cxx diff --git a/src/GUI/puList.hxx b/src/GUI/puList.hxx index 2b4946a00..414a097a5 100644 --- a/src/GUI/puList.hxx +++ b/src/GUI/puList.hxx @@ -27,6 +27,9 @@ class puList : public puGroup // TODO: other string value funcs virtual char * getListStringValue (); virtual int getListIntegerValue(); + virtual void setColourScheme (float r, float g, float b, float a); + virtual void setColour (int which, float r, float g, float b, float a); + protected: virtual void init (int w, int h);