add scheme to slider
rename widget_colors to widget_geometrics
This commit is contained in:
@@ -353,12 +353,12 @@ namespace nana
|
||||
return pi_data_->shortkey_occurred;
|
||||
}
|
||||
|
||||
widget_colors& bedrock::get_scheme_template(scheme_factory_interface&& factory)
|
||||
widget_geometrics& bedrock::get_scheme_template(scheme_factory_interface&& factory)
|
||||
{
|
||||
return pi_data_->scheme.scheme_template(std::move(factory));
|
||||
}
|
||||
|
||||
widget_colors* bedrock::make_scheme(scheme_factory_interface&& factory)
|
||||
widget_geometrics* bedrock::make_scheme(scheme_factory_interface&& factory)
|
||||
{
|
||||
return pi_data_->scheme.create(std::move(factory));
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace nana
|
||||
return *tmpl_scheme.get();
|
||||
}
|
||||
|
||||
widget_colors* color_schemes::create(scheme_factory_interface&& factory)
|
||||
widget_geometrics* color_schemes::create(scheme_factory_interface&& factory)
|
||||
{
|
||||
return factory.create(scheme_template(std::move(factory)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user