forked from rosebudai/OpenRCT2-Web
* Issue #11565, created overload for gfx_draw_string_left_clipped Co-authored-by: Tushar <tushar.97@hotmail.com> Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
26 files changed
+72
-74
No files matched your search
@@ -668,7 +668,7 @@ void CustomListView::PaintCell(
|
||||
auto ft = Formatter::Common();
|
||||
ft.Add<rct_string_id>(STR_STRING);
|
||||
ft.Add<const char*>(text);
|
||||
gfx_draw_string_left_clipped(dpi, stringId, gCommonFormatArgs, COLOUR_BLACK, pos.x, pos.y, size.width);
|
||||
gfx_draw_string_left_clipped(dpi, stringId, gCommonFormatArgs, COLOUR_BLACK, pos, size.width);
|
||||
}
|
||||
|
||||
std::optional<RowColumn> CustomListView::GetItemIndexAt(const ScreenCoordsXY& pos)
|
||||
|
||||
Reference in new issue
Block a user