Exemplo n.º 1
0
		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);
		}
Exemplo n.º 2
0
		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);
		}