HostDisplay: Calculate draw rectangle in terms of horizontal scale

This commit is contained in:
Albert Liu
2020-06-24 05:32:55 -07:00
parent b824844043
commit e0f3a4f17b
2 changed files with 16 additions and 16 deletions

View File

@ -215,7 +215,7 @@ protected:
void CalculateDrawRect(s32 window_width, s32 window_height, s32* out_left, s32* out_top, s32* out_width,
s32* out_height, s32* out_left_padding, s32* out_top_padding, float* out_scale,
float* out_y_scale, bool apply_aspect_ratio = true) const;
float* out_x_scale, bool apply_aspect_ratio = true) const;
std::tuple<s32, s32, s32, s32> CalculateSoftwareCursorDrawRect() const;
std::tuple<s32, s32, s32, s32> CalculateSoftwareCursorDrawRect(s32 cursor_x, s32 cursor_y) const;