/dports/games/supertux2/SuperTux-v0.6.3-Source/src/gui/ |
H A D | item_textfield.cpp | 27 flickw(static_cast<int>(Resources::normal_font->get_text_width("_"))) in ItemTextField() 38 context.color().draw_text(Resources::normal_font, r_input, in draw() 40 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 42 context.color().draw_text(Resources::normal_font, get_text(), in draw() 44 … pos.y - static_cast<float>(Resources::normal_font->get_height()) / 2.0f), in draw() 50 …return static_cast<int>(Resources::normal_font->get_text_width(get_text()) + Resources::normal_fon… in get_width()
|
H A D | item_controlfield.cpp | 32 context.color().draw_text(Resources::normal_font, input, in draw() 34 … pos.y - static_cast<float>(int(Resources::normal_font->get_height()/2))), in draw() 36 context.color().draw_text(Resources::normal_font, get_text(), in draw() 38 … pos.y - static_cast<float>(int(Resources::normal_font->get_height()/2))), in draw() 44 …return static_cast<int>(Resources::normal_font->get_text_width(get_text()) + Resources::normal_fon… in get_width()
|
H A D | item_stringselect.cpp | 36 float sel_width = Resources::normal_font->get_text_width(list[*selected]); in draw() 38 context.color().draw_text(Resources::normal_font, get_text(), in draw() 40 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 52 context.color().draw_text(Resources::normal_font, list[*selected], in draw() 54 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 60 …return static_cast<int>(Resources::normal_font->get_text_width(get_text()) + Resources::normal_fon… in get_width()
|
H A D | item_intfield.cpp | 28 flickw(static_cast<int>(Resources::normal_font->get_text_width("_"))) in ItemIntField() 39 context.color().draw_text(Resources::normal_font, r_input, in draw() 41 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 43 context.color().draw_text(Resources::normal_font, get_text(), in draw() 45 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 51 …return static_cast<int>(Resources::normal_font->get_text_width(get_text()) + Resources::normal_fon… in get_width()
|
H A D | item_floatfield.cpp | 28 flickw(static_cast<int>(Resources::normal_font->get_text_width("_"))), in ItemFloatField() 52 context.color().draw_text(Resources::normal_font, r_input, in draw() 54 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 56 context.color().draw_text(Resources::normal_font, get_text(), in draw() 58 pos.y - Resources::normal_font->get_height() / 2.0f), in draw() 64 …return static_cast<int>(Resources::normal_font->get_text_width(get_text()) + Resources::normal_fon… in get_width()
|
H A D | menu_item.cpp | 41 m_help = Resources::normal_font->wrap_to_width(help_text, 600, &overflow); in set_help() 45 m_help += Resources::normal_font->wrap_to_width(overflow, 600, &overflow); in set_help() 52 context.color().draw_text(Resources::normal_font, m_text, in draw() 54 … pos.y - static_cast<float>(Resources::normal_font->get_height()) / 2.0f ), in draw() 65 return static_cast<int>(Resources::normal_font->get_text_width(m_text)) + 16; in get_width()
|
H A D | item_back.cpp | 33 float text_width = Resources::normal_font->get_text_width(get_text()); in draw() 34 context.color().draw_text(Resources::normal_font, get_text(), in draw() 36 … pos.y - static_cast<float>(int(Resources::normal_font->get_height()/2))), in draw() 46 …return static_cast<int>(Resources::normal_font->get_text_width(get_text())) + 32 + Resources::back… in get_width()
|
H A D | item_toggle.cpp | 44 context.color().draw_text(Resources::normal_font, get_text(), in draw() 45 Vector(pos.x + 16, pos.y - (Resources::normal_font->get_height()/2)), in draw() 64 …return static_cast<int>(Resources::normal_font->get_text_width(get_text())) + 16 + Resources::chec… in get_width()
|
H A D | dialog.cpp | 52 m_text_size = Sizef(Resources::normal_font->get_text_width(m_text), in set_text() 53 Resources::normal_font->get_text_height(m_text)); in set_text() 210 context.color().draw_text(Resources::normal_font, m_text, in draw() 249 context.color().draw_text(Resources::normal_font, m_buttons[i].text, in draw() 250 … Vector(pos.x, pos.y - static_cast<float>(int(Resources::normal_font->get_height() / 2))), in draw()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/supertux/ |
H A D | statistics.cpp | 238 …context.color().draw_text(Resources::normal_font, _("You"), Vector(col2_x, row1_y), ALIGN_LEFT, LA… in draw_endseq_panel() 298 …context.color().draw_text(Resources::normal_font, time_to_string(m_time), Vector(col2_x, row2_y), … in draw_endseq_panel() 315 float width = Resources::normal_font->get_text_width(text), in draw_ingame_stats() 316 height = Resources::normal_font->get_height(), in draw_ingame_stats() 329 context.color().draw_text(Resources::normal_font, text, pos, in draw_ingame_stats() 344 float width = Resources::normal_font->get_text_width(text), in draw_ingame_stats() 345 height = Resources::normal_font->get_height(), in draw_ingame_stats() 358 context.color().draw_text(Resources::normal_font, text, pos, in draw_ingame_stats() 373 float width = Resources::normal_font->get_text_width(text), in draw_ingame_stats() 374 height = Resources::normal_font->get_height(), in draw_ingame_stats() [all …]
|
H A D | levelintro.cpp | 110 …context.color().draw_center_text(Resources::normal_font, ss.str(), Vector(0, static_cast<float>(py… in draw_stats_line() 112 py += static_cast<int>(Resources::normal_font->get_height()); in draw_stats_line() 121 …cast<int>(static_cast<float>(context.get_height()) / 2.0f - Resources::normal_font->get_height() /… in draw() 130 …context.color().draw_center_text(Resources::normal_font, m_level.get_name(), Vector(0, static_cast… in draw() 131 py += static_cast<int>(Resources::normal_font->get_height()); in draw() 159 context.color().draw_center_text(Resources::normal_font, in draw() 164 py += static_cast<int>(Resources::normal_font->get_height()); in draw() 187 …context.color().draw_center_text(Resources::normal_font, m_level.m_note, Vector(0, py), LAYER_FORE… in draw()
|
H A D | resources.cpp | 35 FontPtr Resources::normal_font; member in Resources 60 normal_font.reset(new BitmapFont(BitmapFont::VARIABLE, "fonts/white.stf")); in load() 74 normal_font = fixed_font; in load() 121 normal_font.reset(); in unload()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/composite/ |
H A D | FontData.h | 12 namespace normal_font { 294 mozilla::Some(&normal_font::sGlyphWidths[0]), 300 normal_font::sFontPNG, 301 sizeof(normal_font::sFontPNG)};
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/composite/ |
H A D | FontData.h | 12 namespace normal_font { 294 mozilla::Some(&normal_font::sGlyphWidths[0]), 300 normal_font::sFontPNG, 301 sizeof(normal_font::sFontPNG)};
|
/dports/www/firefox/firefox-99.0/gfx/layers/composite/ |
H A D | FontData.h | 12 namespace normal_font { 294 mozilla::Some(&normal_font::sGlyphWidths[0]), 300 normal_font::sFontPNG, 301 sizeof(normal_font::sFontPNG)};
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/composite/ |
H A D | FontData.h | 12 namespace normal_font { 294 mozilla::Some(&normal_font::sGlyphWidths[0]), 300 normal_font::sFontPNG, 301 sizeof(normal_font::sFontPNG)};
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/composite/ |
H A D | FontData.h | 12 namespace normal_font { 294 mozilla::Some(&normal_font::sGlyphWidths[0]), 300 normal_font::sFontPNG, 301 sizeof(normal_font::sFontPNG)};
|
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Lua/dialogs/fullscreen/ |
H A D | progress_report.lua | 41 self.normal_font = gfx:loadFont("QData", "Font100V", false, palette) 153 …self.normal_font:drawWrapped(canvas, _S.progress_report.free_build, x + 265, y + 194, 150, "center… 162 self.normal_font:drawWrapped(canvas, _S.progress_report.too_cold, x + 285, y + 285, 285) 165 self.normal_font:drawWrapped(canvas, _S.progress_report.too_hot, x + 285, y + 285, 285) 168 …self.normal_font:drawWrapped(canvas, _S.progress_report.more_drinks_machines, x + 285, y + 285, 28… 171 self.normal_font:drawWrapped(canvas, _S.progress_report.quite_unhappy, x + 285, y + 285, 285) 174 self.normal_font:drawWrapped(canvas, _S.progress_report.very_unhappy, x + 285, y + 285, 285) 192 local font = (pnum == self.selected) and self.red_font or self.normal_font 228 self.normal_font:draw(canvas, _S.progress_report.header .. " " ..
|
/dports/games/julius/julius-1.7.0/src/graphics/ |
H A D | rich_text.c | 30 const font_definition *normal_font; member 69 void rich_text_set_fonts(font_t normal_font, font_t link_font, int line_spacing) in rich_text_set_fonts() argument 71 data.normal_font = font_definition_for(normal_font); in rich_text_set_fonts() 73 data.line_height = data.normal_font->line_height + line_spacing; in rich_text_set_fonts() 163 int letter_id = font_letter_id(data.normal_font, str, &num_bytes); in get_word_width() 201 const font_definition *def = data.normal_font; in draw_line()
|
/dports/games/augustus/augustus-3.1.0/src/graphics/ |
H A D | rich_text.c | 30 const font_definition *normal_font; member 69 void rich_text_set_fonts(font_t normal_font, font_t link_font, int line_spacing) in rich_text_set_fonts() argument 71 data.normal_font = font_definition_for(normal_font); in rich_text_set_fonts() 73 data.line_height = data.normal_font->line_height + line_spacing; in rich_text_set_fonts() 163 int letter_id = font_letter_id(data.normal_font, str, &num_bytes); in get_word_width() 201 const font_definition *def = data.normal_font; in draw_line()
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/ |
H A D | ptksh | 278 my $normal_font; 280 $normal_font = $t->fontCreate(%default_font, -family => "courier"); 281 $t->configure(-font => $normal_font); 283 $normal_font = $default_font; 285 my %normal_font = $t->fontActual($normal_font); 286 my $bold_font = $t->fontCreate(%normal_font, -weight => "bold");
|
/dports/graphics/dia/dia-0.97.3/objects/Database/ |
H A D | reference.c | 135 { "normal_font", PROP_TYPE_FONT, offsetof(TableReference, normal_font) }, 178 ref->normal_font = in reference_create() 236 renderer_ops->set_font (renderer, ref->normal_font, ref->normal_font_height); in reference_draw() 270 ref->normal_font, ref->normal_font_height); in reference_distance_from() 279 ref->normal_font, ref->normal_font_height); in reference_distance_from() 367 ref->normal_font, in reference_update_data() 376 ref->normal_font, ref->normal_font_height); in reference_update_data() 401 ref->normal_font, in reference_update_data() 410 ref->normal_font, ref->normal_font_height); in reference_update_data()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/viewer/ |
H A D | widgets.py | 75 …, after, rect, before_width, match_width, after_width, ellipsis_width, emphasis_font, normal_font): argument 84 nfm = QFontMetrics(normal_font) 88 painter.setFont(normal_font) 100 painter.setFont(normal_font) 106 painter.setFont(normal_font)
|
H A D | toc.py | 181 def __init__(self, toc, depth, all_items, normal_font, emphasis_font, depths, parent=None): argument 193 self.normal_font, self.emphasis_font = normal_font, emphasis_font 197 … self.appendRow(TOCItem(t, depth+1, all_items, normal_font, emphasis_font, depths, parent=self)) 205 self.setFont(self.emphasis_font if is_being_viewed else self.normal_font) 242 normal_font = QApplication.instance().font() 243 emphasis_font = QFont(normal_font) 248 self.appendRow(TOCItem(t, 0, depth_first, normal_font, emphasis_font, self.depths))
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/worldmap/ |
H A D | worldmap.cpp | 533 context.color().draw_text(Resources::normal_font, level.get_title(), in draw_status() 535 … static_cast<float>(context.get_height()) - Resources::normal_font->get_height() - 10), in draw_status() 541 … static_cast<float>(context.get_height()) - Resources::normal_font->get_height() - 25), in draw_status() 566 context.color().draw_text(Resources::normal_font, special_tile.get_map_message(), in draw_status() 568 …atic_cast<float>(context.get_height()) - static_cast<float>(Resources::normal_font->get_height()) … in draw_status() 578 … static_cast<float>(context.get_height()) - Resources::normal_font->get_height() - 30.0f); in draw_status() 579 …context.color().draw_text(Resources::normal_font, teleporter->get_message(), pos, ALIGN_CENTER, LA… in draw_status() 585 context.color().draw_text(Resources::normal_font, m_passive_message, in draw_status() 587 … static_cast<float>(context.get_height()) - Resources::normal_font->get_height() - 60.0f), in draw_status()
|