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

@@ -314,6 +314,11 @@ namespace API
if (restrict::wd_manager().available(iwd))
iwd->flags.space_click_enabled = enable;
}
void lazy_refresh()
{
restrict::bedrock.thread_context_lazy_refresh();
}
}//end namespace dev
@@ -824,13 +829,6 @@ namespace API
return (restrict::wd_manager().available(iwd) ? iwd->flags.enabled : false);
}
//lazy_refresh:
//@brief: A widget drawer draws the widget surface in answering an event. This function will tell the drawer to copy the graphics into window after event answering.
void lazy_refresh()
{
restrict::bedrock.thread_context_lazy_refresh();
}
//refresh_window
//@brief: Refresh the window and display it immediately.
void refresh_window(window wd)