19 #ifndef OST_COLOR_OPS_BY_CHAIN_COLOR_OP_HH
20 #define OST_COLOR_OPS_BY_CHAIN_COLOR_OP_HH
33 namespace ost {
namespace gfx {
57 unsigned int chain_count_;
59 mutable std::map<String,Color> colors_;
static gfx::ByChainColorOp FromInfo(info::InfoGroup &group)
void SetChainCount(unsigned int chain_count)
virtual void ApplyTo(GfxObjP &obj) const
virtual bool CanApplyTo(const GfxObjP &obj) const
unsigned int GetChainCount() const
ByChainColorOp(const String &selection, int mask=DETAIL_COLOR|MAIN_COLOR)
ByChainColorOp(const mol::QueryViewWrapper &query_view, int mask=DETAIL_COLOR|MAIN_COLOR)
Color GetColor(const String &ident) const
#define DLLEXPORT_OST_GFX
boost::shared_ptr< GfxObj > GfxObjP