Home
last modified time | relevance | path

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

/dports/games/openclonk/openclonk-release-8.1-src/src/gui/
H A DC4StartupAboutDlg.cpp241 CStdFont &rUseFont = ::GraphicsResource.TextFont; in C4StartupAboutDlg() local
257 caButtons.GetFromBottom(rUseFont.GetLineHeight()))); in C4StartupAboutDlg()
283 CStdFont &rUseFont = ::GraphicsResource.TextFont; in DrawPersonList() local
285 …int height = 2*rUseFont.GetFontHeight(), width = std::min(image.GetWidthByHeight(height), rect.Wdt… in DrawPersonList()
293 persons.WriteTo(textbox, rUseFont); in DrawPersonList()
H A DC4GuiButton.cpp103 CStdFont &rUseFont = in DrawElement() local
109 iTextHgt = rUseFont.GetLineHeight(); in DrawElement()
110 …pDraw->TextOut(sText.getData(), rUseFont, 1.0f, cgo.Surface, (x0+x1)/2 + iTxtOff, (y0+y1-iTextHgt)… in DrawElement()
233 CStdFont &rUseFont = pCustomFont ? *pCustomFont : ::GraphicsResource.TextFont; in DrawElement() local
234 …pDraw->TextOut(sText.getData(), rUseFont, 1.0f, cgo.Surface, x0+rcBounds.Wdt/2, y0+rcBounds.Hgt, p… in DrawElement()
H A DC4GameOptions.cpp50 …CStdFont &rUseFont = fIsPreGame ? C4Startup::Get()->Graphics.BookFont : ::GraphicsResource.TextFon… in OptionDropdown() local
58 rUseFont.GetTextExtent(LoadResStr("IDS_NET_RUNTIMEJOIN"), iCaptWidth, iCaptHeight, true); in OptionDropdown()
70 rUseFont.GetTextExtent(szCaption, iCaptWidth, iCaptHeight, true); in OptionDropdown()
80 …iCaptWidth, iCaptHeight) : ca.GetFromTop(iCaptHeight), ALeft, dwFontClr, &rUseFont, false, false)); in OptionDropdown()
88 pDropdownList->SetFont(&rUseFont); in OptionDropdown()
H A DC4GuiTabular.cpp53 …CStdFont &rUseFont = pUseFont ? *pUseFont : (fLarge ? ::GraphicsResource.CaptionFont : ::GraphicsR… in DrawCaption() local
60 int32_t iLabelHgt = rUseFont.GetLineHeight(); int32_t iIconLabelSpacing = 2; in DrawCaption()
63 …pDraw->TextOut(sTitle.getData(), rUseFont, 1.0f, cgo.Surface, xCenter, yTop + pfctIcon->Hgt+iIconL… in DrawCaption()
98 …pDraw->TextOut(sTitle.getData(), rUseFont, fLarge ? 1.2f : 1.0f, cgo.Surface, x, y, dwClr, fLarge … in DrawCaption()
122 …CStdFont &rUseFont = pUseFont ? *pUseFont : (fLarge ? ::GraphicsResource.CaptionFont : ::GraphicsR… in GetCaptionSize() local
123 if (!rUseFont.GetTextExtent(sTitle.getData(), iWdt, iHgt, fTitleMarkup)) in GetCaptionSize()
125 iWdt=70; iHgt=rUseFont.GetLineHeight(); in GetCaptionSize()
H A DC4GuiDialogs.cpp848 CStdFont &rUseFont = ::GraphicsResource.TextFont; in MessageDialog() local
861 rUseFont.GetTextExtent(szMessage, iMsgWdt, iMsgHgt); in MessageDialog()
862 …Main.GetInnerWidth() - C4GUI_IconWdt - C4GUI_DefDlgIndent*2) && iMsgHgt<=rUseFont.GetLineHeight()); in MessageDialog()
869 int iMsgHeight = rUseFont.BreakMessage(szMessage, caMain.GetInnerWidth(), &sMsgBroken, true); in MessageDialog()
870 …n.GetFromTop(iMsgHeight), fTextCentered ? ACenter : ALeft, C4GUI_MessageFontClr, &rUseFont, false); in MessageDialog()
H A DC4StartupOptionsDlg.cpp39 CStdFont &rUseFont = C4Startup::Get()->Graphics.BookFont; in DrawElement() local
42 int32_t iTextHgt = rUseFont.GetLineHeight(); in DrawElement()
65 …pDraw->TextOut(sText.getData(), rUseFont, 1.0f, cgo.Surface, (x0+x1)/2 + iTxtOff, (y0+y1-iTextHgt)… in DrawElement()
H A DC4StartupPlrSelDlg.cpp67 CStdFont &rUseFont = GraphicsResource.FontRegular; in ListItem() local
69 int32_t iHeight = rUseFont.GetLineHeight() + 2 * IconLabelSpacing; in ListItem()
76 …, (iHeight + IconLabelSpacing)*2, IconLabelSpacing, ALeft, ClrPlayerItem, &rUseFont, false, false); in ListItem()
H A DC4StartupScenSelDlg.cpp1309 CStdFont &rUseFont = C4Startup::Get()->Graphics.BookFont; in ScenListItem() local
1313 int32_t iHeight = rUseFont.GetLineHeight() + 2 * IconLabelSpacing; in ScenListItem()
1317 …abelSpacing, ALeft, fEnabled ? ClrScenarioItem : ClrScenarioItemDisabled, &rUseFont, false, false); in ScenListItem()
/dports/games/openclonk/openclonk-release-8.1-src/src/network/
H A DC4Network2Dialogs.cpp317 CStdFont &rUseFont = ::GraphicsResource.TextFont; in ConnectionListItem() local
318 int iIconSize = rUseFont.GetLineHeight(); in ConnectionListItem()
336 rUseFont.GetTextExtent("???? ms", sx,sy, true); in ConnectionListItem()