Home
last modified time | relevance | path

Searched refs:DATE_TIME_GAP (Results 1 – 1 of 1) sorted by relevance

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/windows/
H A DLoadSave.cpp626 constexpr uint16_t DATE_TIME_GAP = 2; variable
646 maxDateWidth = gfx_get_string_width(date.c_str(), FontSpriteBase::MEDIUM) + DATE_TIME_GAP; in window_loadsave_compute_max_date_width()
655 …std::max(maxDateWidth, gfx_get_string_width(date.c_str(), FontSpriteBase::MEDIUM) + DATE_TIME_GAP); in window_loadsave_compute_max_date_width()
659 maxTimeWidth = gfx_get_string_width(time.c_str(), FontSpriteBase::MEDIUM) + DATE_TIME_GAP; in window_loadsave_compute_max_date_width()
677 …date_widget->left = date_widget->right - (maxDateWidth + maxTimeWidth + (4 * DATE_TIME_GAP) + (SCR… in window_loadsave_invalidate()
745 const int32_t dateAnchor = w->widgets[WIDX_SORT_DATE].left + maxDateWidth + DATE_TIME_GAP; in window_loadsave_scrollpaint()
785 …DrawTextEllipsised(dpi, { dateAnchor - DATE_TIME_GAP, y }, maxDateWidth, stringId, ft, { TextAlign… in window_loadsave_scrollpaint()
790 DrawTextEllipsised(dpi, { dateAnchor + DATE_TIME_GAP, y }, maxTimeWidth, stringId, ft); in window_loadsave_scrollpaint()