move lazy_refresh() from namespace API to API::dev
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user