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