[studio,turbine] Fix Turbine sleep logic, tweak Studio default sleep values

This commit is contained in:
2024-06-01 01:20:01 -05:00
parent 7499bd87da
commit 04bf815642
6 changed files with 18 additions and 12 deletions

View File

@ -43,6 +43,12 @@ ox::Bounds getWindowBounds(Context &ctx) noexcept;
ox::Error setWindowBounds(Context &ctx, ox::Bounds const&bnds) noexcept;
void setConstantRefresh(Context &ctx, bool r) noexcept;
/**
* Tells Turbine to refresh the screen within the specified period of time.
* If the requested value is greater than the current value, the call has no effect.
* @param ctx - Context
* @param ms - milliseconds
*/
void setRefreshWithin(Context &ctx, int ms) noexcept;
}