move lazy_refresh() from namespace API to API::dev

This commit is contained in:
Jinhao
2016-04-17 17:46:19 +08:00
parent afa253f924
commit 42990b8670
19 changed files with 121 additions and 120 deletions

View File

@@ -85,7 +85,7 @@ namespace nana{ namespace drawerbase
void drawer::mouse_down(graph_reference graph, const arg_mouse&)
{
refresh(graph);
API::lazy_refresh();
API::dev::lazy_refresh();
}
void drawer::mouse_up(graph_reference graph, const arg_mouse&)
@@ -97,19 +97,19 @@ namespace nana{ namespace drawerbase
API::events<nana::checkbox>(impl_->widget_ptr->handle()).checked.emit(arg, impl_->widget_ptr->handle());
}
refresh(graph);
API::lazy_refresh();
API::dev::lazy_refresh();
}
void drawer::mouse_enter(graph_reference graph, const arg_mouse&)
{
refresh(graph);
API::lazy_refresh();
API::dev::lazy_refresh();
}
void drawer::mouse_leave(graph_reference graph, const arg_mouse&)
{
refresh(graph);
API::lazy_refresh();
API::dev::lazy_refresh();
}
drawer::implement * drawer::impl() const