void drawer::attached(widget& wd, drawer_trigger& realizer) { for (auto i = std::begin(mth_state_), end = std::end(mth_state_); i != end; ++i) *i = method_state::pending; realizer_ = &realizer; realizer._m_reset_overrided(); realizer.attached(wd, graphics); }
void drawer::attached(widget& wd, drawer_trigger& realizer) { for (auto i = std::begin(data_impl_->mth_state), end = std::end(data_impl_->mth_state); i != end; ++i) *i = method_state::pending; data_impl_->realizer = &realizer; realizer._m_reset_overrided(); realizer.attached(wd, graphics); realizer.typeface_changed(graphics); }