35 #ifndef ANA_COLOR_WOBJPALETTE_H 36 #define ANA_COLOR_WOBJPALETTE_H 67 typedef APaletteWin* (*PaletteWinCreator)(
const std::set<AObject *> & );
72 static APaletteWin* newPaletteWin(
const std::set<AObject *> & obj );
74 { _thePalWinCreator = func; }
APaletteWin(const std::set< AObject *> &obj)
A class can implement the Observer interface when it wants to be informed of changes in observable ob...
const std::set< AObject * > & objects() const
Object color palette window.
std::set< AObject * > _parents
singleton "factory": always use this trick instead of "new APaletteWin"
static void setCreator(PaletteWinCreator func)
static PaletteWinCreator _thePalWinCreator