Home
last modified time | relevance | path

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

/dports/games/openttd/openttd-12.1/src/
H A Dbuild_vehicle_gui.cpp979 Dimension replace_icon = {0, 0}; in DrawEngineList() local
982 replace_icon = GetSpriteSize(SPR_GROUP_REPLACE_ACTIVE); in DrawEngineList()
987 …int text_left = l + (rtl ? WD_FRAMERECT_LEFT + replace_icon.width + 8 + count_width : sprite_widt… in DrawEngineList()
988 …int text_right = r - (rtl ? sprite_width + WD_FRAMETEXT_RIGHT : WD_FRAMERECT_RIGHT + replace_icon.… in DrawEngineList()
989 int replace_icon_left = rtl ? l + WD_FRAMERECT_LEFT : r - WD_FRAMERECT_RIGHT - replace_icon.width; in DrawEngineList()
991 int count_right = rtl ? text_left : r - WD_FRAMERECT_RIGHT - replace_icon.width - 8; in DrawEngineList()
995 int replace_icon_y_offset = (step_size - replace_icon.height) / 2 - 1; in DrawEngineList()