/dports/games/openttd/openttd-12.1/src/ |
H A D | fios_gui.cpp | 84 NWidget(NWID_HORIZONTAL), SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, 0), 139 NWidget(NWID_HORIZONTAL), SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, 0), 184 NWidget(NWID_HORIZONTAL), SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, 0), 464 …FRAMERECT_RIGHT, r.top + FONT_HEIGHT_NORMAL * 2 + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM, PC_GREY); in DrawWidget() 469 …t y = r.top + FONT_HEIGHT_NORMAL * 2 + WD_PAR_VSEP_NORMAL + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in DrawWidget() 470 uint y_max = r.bottom - FONT_HEIGHT_NORMAL - WD_FRAMERECT_BOTTOM; in DrawWidget() 481 y, r.bottom - WD_FRAMERECT_BOTTOM, _load_check_data.error, TC_RED); in DrawWidget() 561 size->height = 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 566 size->height = resize->height * 10 + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
H A D | town_gui.cpp | 51 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 102 …<NWidgetBase>(WID_TA_COMMAND_LIST)->current_y - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM) / FONT_HEI… in TownAuthorityWindow() 179 y = y + WD_FRAMERECT_BOTTOM - nwid->pos_y; // Compute needed size of the widget. in DrawRatings() 197 …ERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, r.top + WD_FRAMERECT_TOP, r.bottom - WD_FRAMERECT_BOTTOM, in DrawWidget() 232 size->height -= WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 240 size->height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 245 size->height = WD_FRAMERECT_TOP + 5 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 255 size->height = WD_FRAMERECT_TOP + 9 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 502 uint aimed_height = 3 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in GetDesiredInfoHeight() 870 d.height += padding.height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
H A D | misc_gui.cpp | 721 size->height += 2 + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 733 …r.right - WD_FRAMERECT_RIGHT, r.top + WD_FRAMERECT_TOP, r.bottom - WD_FRAMERECT_BOTTOM, this->stri… in DrawWidget() 814 …+ WD_FRAMERECT_TOP, right - left - WD_FRAMERECT_RIGHT, bottom - top - WD_FRAMERECT_BOTTOM)) return; in DrawEditBox() 889 int bottom = wi->pos_y + wi->current_y - 1 - WD_FRAMERECT_BOTTOM; in GetBoundingRect() 926 int bottom = wi->pos_y + wi->current_y - 1 - WD_FRAMERECT_BOTTOM; in GetCharAtPosition() 1011 …ing_size.height += WD_FRAMETEXT_TOP + WD_FRAMETEXT_BOTTOM + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWarningStringSize() 1039 … r.top + WD_FRAMERECT_TOP + WD_FRAMETEXT_TOP, r.bottom - WD_FRAMERECT_BOTTOM - WD_FRAMETEXT_BOTTOM, in DrawWidget() 1183 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 1191 …ETEXT_LEFT, r.right - WD_FRAMETEXT_RIGHT, r.top + WD_FRAMERECT_TOP, r.bottom - WD_FRAMERECT_BOTTOM, in DrawWidget()
|
H A D | graph_gui.cpp | 119 panel->SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM, FS_NORMAL); in MakeNWidgetCompanyLines() 642 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 693 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 742 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 797 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 798 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 847 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 932 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 1244 size->height = WD_FRAMERECT_TOP + this->line_height * MAX_COMPANIES + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 1278 …CKGROUND), SetMinimalSize(400, 0), SetMinimalTextLines(15, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM),
|
H A D | error_gui.cpp | 209 uint panel_height = WD_FRAMERECT_TOP + this->height_summary + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 285 …ETEXT_LEFT, r.right - WD_FRAMETEXT_RIGHT, r.top + WD_FRAMERECT_TOP, r.bottom - WD_FRAMERECT_BOTTOM, in DrawWidget() 295 bottom = r.bottom - WD_FRAMERECT_BOTTOM; in DrawWidget()
|
H A D | goal_gui.cpp | 180 d.height += padding.height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 291 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa… 292 …, SetMinimalSize(50, 0), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetDa…
|
H A D | smallmap_gui.h | 136 return WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + in GetLegendHeight()
|
H A D | timetable_gui.cpp | 203 size->height = WD_FRAMERECT_TOP + 8 * resize->height + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 207 size->height = WD_FRAMERECT_TOP + 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 638 …croll->SetCapacityFromWidget(this, WID_VT_TIMETABLE_PANEL, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); in OnResize()
|
H A D | vehicle_gui.cpp | 883 r.top + WD_FRAMERECT_TOP, r.bottom - WD_FRAMERECT_BOTTOM, string); in DrawWidget() 1098 …LOUR_GREY, WID_VR_INFO), SetMinimalTextLines(2, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM), SetResize… 1543 …DrawString(text_left, text_right, y + line_height - FONT_HEIGHT_SMALL - WD_FRAMERECT_BOTTOM - 1, S… in DrawVehicleListItems() 2169 …ed_height = WD_FRAMERECT_TOP + ScaleGUITrad(15) + 3 * FONT_HEIGHT_NORMAL + 2 + WD_FRAMERECT_BOTTOM; in GetRoadVehDetailsHeight() 2175 desired_height = WD_FRAMERECT_TOP + 4 * FONT_HEIGHT_NORMAL + 3 + WD_FRAMERECT_BOTTOM; in GetRoadVehDetailsHeight() 2185 size->height = WD_FRAMERECT_TOP + 4 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2212 size->height = WD_FRAMERECT_TOP + 4 * FONT_HEIGHT_NORMAL + 3 + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2216 size->height = WD_FRAMERECT_TOP + 5 * FONT_HEIGHT_NORMAL + 4 + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2247 size->height = WD_FRAMERECT_TOP + FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2540 …REY, WID_VV_START_STOP), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetRe… [all …]
|
H A D | signs_gui.cpp | 260 this->vscroll->SetCapacityFromWidget(this, WID_SIL_LIST, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); in OnResize() 270 …s->text_offset + WD_FRAMETEXT_RIGHT), WD_FRAMERECT_TOP + 5 * resize->height + WD_FRAMERECT_BOTTOM}; in UpdateWidgetSize()
|
H A D | subsidy_gui.cpp | 137 d.height += padding.height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
H A D | station_gui.cpp | 394 size->height = WD_FRAMERECT_TOP + 5 * resize->height + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 669 this->vscroll->SetCapacityFromWidget(this, WID_STL_LIST, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); in OnResize() 1396 size->height = WD_FRAMERECT_TOP + 4 * resize->height + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 1401 …NGS_BUTTON) ? this->accepts_lines : this->rating_lines) * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2092 …this->vscroll->SetCapacityFromWidget(this, WID_SV_WAITING, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); in OnResize() 2309 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2365 this->vscroll->SetCapacityFromWidget(this, WID_JS_PANEL, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); in OnResize()
|
H A D | group_gui.cpp | 57 …GL_INFO), SetFill(1, 1), SetMinimalTextLines(3, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM), EndContai… 232 this->tiny_step_height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in ComputeGroupInfoSize() 258 …_TOP + 1, right - WD_FRAMERECT_RIGHT, y + this->tiny_step_height - WD_FRAMERECT_BOTTOM - 1, _colou… in DrawGroupInfo() 398 max_icon_height += (FONT_HEIGHT_NORMAL * 3) + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
H A D | bootstrap_gui.cpp | 127 …ACER), SetMinimalSize(350, 0), SetMinimalTextLines(3, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 30),
|
H A D | tree_gui.cpp | 162 …size->height = d.height + WD_FRAMERECT_RIGHT + WD_FRAMERECT_BOTTOM + ScaleGUITrad(BUTTON_BOTTOM_OF… in UpdateWidgetSize()
|
H A D | music_gui.cpp | 685 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 697 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
H A D | cheat_gui.cpp | 328 …size->height = WD_FRAMERECT_TOP + WD_PAR_VSEP_NORMAL + WD_FRAMERECT_BOTTOM + this->line_height * l… in UpdateWidgetSize()
|
H A D | industry_gui.cpp | 475 size->height = height * FONT_HEIGHT_NORMAL + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 553 int bottom = r.bottom - WD_FRAMERECT_BOTTOM; in DrawWidget() 831 …this->info_height = WD_FRAMERECT_TOP + 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM + 1; // Info p… in IndustryViewWindow() 981 return y + WD_FRAMERECT_BOTTOM; in DrawInfo() 1714 d.height += padding.height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 2924 int height = r.bottom - r.top + 1 - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM; in DrawWidget()
|
H A D | train_gui.cpp | 76 …drag_hlight_right - WD_FRAMERECT_RIGHT, ScaleGUITrad(13) - WD_FRAMERECT_BOTTOM, _colour_gradient[C… in HighlightDragPosition()
|
H A D | newgrf_gui.cpp | 735 …size->height = std::max(size->height, WD_FRAMERECT_TOP + 6 * resize->height + WD_FRAMERECT_BOTTOM); in UpdateWidgetSize() 741 …size->height = std::max(size->height, WD_FRAMERECT_TOP + 8 * resize->height + WD_FRAMERECT_BOTTOM); in UpdateWidgetSize() 752 …td::max(size->height, WD_FRAMERECT_TOP + 10 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM + padding.h… in UpdateWidgetSize() 914 …r.top + WD_FRAMERECT_TOP, r.right - WD_FRAMERECT_RIGHT, r.bottom - WD_FRAMERECT_BOTTOM, this->show… in DrawWidget()
|
H A D | window_gui.h | 65 WD_FRAMERECT_BOTTOM = 1, ///< Offset at bottom to draw the frame rectangular area enumerator
|
H A D | airport_gui.cpp | 348 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
/dports/games/openttd/openttd-12.1/src/linkgraph/ |
H A D | linkgraph_gui.cpp | 435 SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, WD_CAPTIONTEXT_LEFT), 439 SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, WD_CAPTIONTEXT_LEFT), 447 SetPadding(WD_FRAMERECT_TOP, WD_FRAMERECT_RIGHT, WD_FRAMERECT_BOTTOM, WD_CAPTIONTEXT_LEFT), 517 dim.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize() 526 dim.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
|
/dports/games/openttd/openttd-12.1/src/network/ |
H A D | network_gui.cpp | 1435 this->height = d.height + ScaleGUITrad(WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); in ButtonCommon() 1736 height += ScaleGUITrad(WD_FRAMERECT_TOP) + ScaleGUITrad(WD_FRAMERECT_BOTTOM); in UpdateWidgetSize() 2204 size->width = width + WD_FRAMERECT_LEFT + WD_FRAMERECT_BOTTOM + 10; in UpdateWidgetSize() 2294 …ing_size.height += WD_FRAMETEXT_TOP + WD_FRAMETEXT_BOTTOM + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWarningStringSize() 2311 r.top + WD_FRAMERECT_TOP, r.bottom - WD_FRAMERECT_BOTTOM, in DrawWidget()
|
/dports/games/openttd/openttd-12.1/src/ai/ |
H A D | ai_gui.cpp | 164 …t + WD_FRAMETEXT_LEFT, r.right - WD_FRAMETEXT_RIGHT, y, r.bottom - WD_FRAMERECT_BOTTOM, STR_JUST_R… in DrawWidget() 254 …MAUVE, WID_AIL_INFO_BG), SetMinimalTextLines(8, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM), SetResize… 1426 const int AIDebugWindow::bottom_offset = WD_FRAMERECT_BOTTOM;
|