Home
last modified time | relevance | path

Searched refs:WD_FRAMERECT_BOTTOM (Results 1 – 25 of 33) sorted by relevance

12

/dports/games/openttd/openttd-12.1/src/
H A Dfios_gui.cpp84 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 Dtown_gui.cpp51 …, 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 Dmisc_gui.cpp721 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 Dgraph_gui.cpp119 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 Derror_gui.cpp209 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 Dgoal_gui.cpp180 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 Dsmallmap_gui.h136 return WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + in GetLegendHeight()
H A Dtimetable_gui.cpp203 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 Dvehicle_gui.cpp883 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 Dsigns_gui.cpp260 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 Dsubsidy_gui.cpp137 d.height += padding.height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
H A Dstation_gui.cpp394 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 Dgroup_gui.cpp57 …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 Dbootstrap_gui.cpp127 …ACER), SetMinimalSize(350, 0), SetMinimalTextLines(3, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 30),
H A Dtree_gui.cpp162 …size->height = d.height + WD_FRAMERECT_RIGHT + WD_FRAMERECT_BOTTOM + ScaleGUITrad(BUTTON_BOTTOM_OF… in UpdateWidgetSize()
H A Dmusic_gui.cpp685 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
697 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
H A Dcheat_gui.cpp328 …size->height = WD_FRAMERECT_TOP + WD_PAR_VSEP_NORMAL + WD_FRAMERECT_BOTTOM + this->line_height * l… in UpdateWidgetSize()
H A Dindustry_gui.cpp475 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 Dtrain_gui.cpp76 …drag_hlight_right - WD_FRAMERECT_RIGHT, ScaleGUITrad(13) - WD_FRAMERECT_BOTTOM, _colour_gradient[C… in HighlightDragPosition()
H A Dnewgrf_gui.cpp735 …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 Dwindow_gui.h65 WD_FRAMERECT_BOTTOM = 1, ///< Offset at bottom to draw the frame rectangular area enumerator
H A Dairport_gui.cpp348 d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; in UpdateWidgetSize()
/dports/games/openttd/openttd-12.1/src/linkgraph/
H A Dlinkgraph_gui.cpp435 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 Dnetwork_gui.cpp1435 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 Dai_gui.cpp164 …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;

12