/dports/graphics/pastel/pastel-0.8.1/src/cli/ |
H A D | output.rs | 55 let mut text_y_offset = 0; in show_color_tty() localVariable 65 text_y_offset = 2; in show_color_tty() 81 text_position_y + 0 + text_y_offset, in show_color_tty() 86 text_position_y + 2 + text_y_offset, in show_color_tty() 91 text_position_y + 4 + text_y_offset, in show_color_tty() 97 text_position_y + 8 + text_y_offset, in show_color_tty()
|
/dports/games/wesnoth/wesnoth-1.14.17/data/gui/widget/ |
H A D | text_box_default.cfg | 42 y = "(text_y_offset)" 52 y = "(text_y_offset)" 75 y = "(text_y_offset)" 85 y = "(text_y_offset)" 116 y1 = "(text_y_offset + 2)" 118 y2 = "(text_y_offset + text_font_height - 2)" 125 y = "(text_y_offset + text_font_height - 2)" 149 text_y_offset = "(if(text_font_height <= height, (height - text_font_height) / 2, 0))"
|
/dports/japanese/im-ja/im-ja-1.5/src/im-ja-conf/ |
H A D | about-box.c | 76 int text_y_offset; member 123 if (priv->text_y_offset < TEXT_HEIGHT) { in timeout_callback() 124 y = TEXT_Y_OFFSET + (TEXT_HEIGHT - priv->text_y_offset); in timeout_callback() 127 y = TEXT_Y_OFFSET - ((priv->text_y_offset - TEXT_HEIGHT) % line_height); in timeout_callback() 128 first_line = (priv->text_y_offset - TEXT_HEIGHT) / line_height; in timeout_callback() 163 priv->text_y_offset ++; in timeout_callback() 164 if (priv->text_y_offset > (int) (line_height * NUM_TEXT_LINES + TEXT_HEIGHT)) { in timeout_callback() 165 priv->text_y_offset = 0; in timeout_callback() 349 priv->text_y_offset = 0; in init()
|
/dports/games/openttd/openttd-12.1/src/ |
H A D | train_gui.cpp | 369 int text_y_offset = (line_height - FONT_HEIGHT_NORMAL) / 2; in DrawTrainDetails() local 414 int py = y - line_height * vscroll_pos + text_y_offset; in DrawTrainDetails() 458 DrawString(left, right, y + text_y_offset, STR_VEHICLE_DETAILS_TRAIN_TOTAL_CAPACITY_TEXT); in DrawTrainDetails() 468 …DrawString(left, right, y + text_y_offset, FreightWagonMult(i) > 1 ? STR_VEHICLE_DETAILS_TRAIN_TOT… in DrawTrainDetails() 473 DrawString(left, right, y + text_y_offset, STR_VEHICLE_INFO_FEEDER_CARGO_VALUE); in DrawTrainDetails()
|
H A D | cheat_gui.cpp | 236 int text_y_offset = (this->line_height - FONT_HEIGHT_NORMAL) / 2; in DrawWidget() local 279 DrawString(text_left, text_right, y + text_y_offset, ce->str); in DrawWidget()
|
H A D | newgrf_gui.cpp | 268 int text_y_offset = (this->line_height - FONT_HEIGHT_NORMAL) / 2; in DrawWidget() local 304 …DrawString(text_left, text_right, y + text_y_offset, STR_NEWGRF_PARAMETERS_SETTING, selected ? TC_… in DrawWidget()
|
H A D | company_gui.cpp | 539 int text_y_offset = (height - FONT_HEIGHT_NORMAL) / 2 + 1; in Draw() local 545 top + text_y_offset, this->String(), sel ? TC_WHITE : TC_BLACK); in Draw()
|
/dports/www/netsurf/netsurf-3.10/desktop/ |
H A D | textarea.c | 588 ta->text_y_offset - ta->scroll_y); in textarea_select() 1185 ta->text_y_offset - ta->scroll_y)); in textarea_reflow_multiline() 1197 ta->text_y_offset - ta->scroll_y)); in textarea_reflow_multiline() 1804 int text_y_offset, text_y_offset_baseline; in textarea_setup_text_offsets() local 1813 text_y_offset += ta->pad_top; in textarea_setup_text_offsets() 1824 ta->text_y_offset = text_y_offset; in textarea_setup_text_offsets() 2135 int text_y_offset, text_y_offset_baseline; in textarea_redraw() local 2253 text_y_offset = ta->text_y_offset; in textarea_redraw() 2257 text_y_offset *= scale; in textarea_redraw() 2386 rect.y0 = y + line_y + text_y_offset; in textarea_redraw() [all …]
|
/dports/x11/workrave/workrave-1.10.44/frontend/gtkmm/src/ |
H A D | IconListCellRenderer.cc | 173 int text_y_offset; in get_size_vfunc() local 191 &text_x_offset, &text_y_offset, in get_size_vfunc()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/sgp/ |
H A D | Button_System.h | 76 void SpecifyTextOffsets(INT8 text_x_offset, INT8 text_y_offset, BOOLEAN shift_text); 77 void SpecifyTextSubOffsets(INT8 text_x_offset, INT8 text_y_offset, BOOLEAN shift_text);
|
H A D | Button_System.cc | 720 void GUI_BUTTON::SpecifyTextOffsets(INT8 const text_x_offset, INT8 const text_y_offset, BOOLEAN con… in SpecifyTextOffsets() argument 723 bTextYOffset = text_y_offset; in SpecifyTextOffsets() 728 void GUI_BUTTON::SpecifyTextSubOffsets(INT8 const text_x_offset, INT8 const text_y_offset, BOOLEAN … in SpecifyTextSubOffsets() argument 731 bTextYSubOffSet = text_y_offset; in SpecifyTextSubOffsets()
|
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/widgets/ |
H A D | text_box.cpp | 290 text_y_offset_ = conf->text_y_offset(variables); in update_offsets() 447 , text_y_offset(cfg["text_y_offset"]) in resolution()
|
H A D | text_box.hpp | 310 typed_formula<unsigned> text_y_offset; member
|
/dports/games/openttd/openttd-12.1/src/network/ |
H A D | network_gui.cpp | 403 int text_y_offset = (this->resize.step_height - FONT_HEIGHT_NORMAL) / 2 + 1; in DrawServerLine() local 407 …LEFT, nwi_name->pos_x + nwi_name->current_x - WD_FRAMERECT_RIGHT, y + text_y_offset, cur_item->inf… in DrawServerLine() 419 …_clients->pos_x, nwi_clients->pos_x + nwi_clients->current_x - 1, y + text_y_offset, STR_NETWORK_S… in DrawServerLine() 427 …_mapsize->pos_x, nwi_mapsize->pos_x + nwi_mapsize->current_x - 1, y + text_y_offset, STR_NETWORK_S… in DrawServerLine() 436 …DrawString(nwi_date->pos_x, nwi_date->pos_x + nwi_date->current_x - 1, y + text_y_offset, STR_JUST… in DrawServerLine() 446 …DrawString(nwi_years->pos_x, nwi_years->pos_x + nwi_years->current_x - 1, y + text_y_offset, STR_J… in DrawServerLine() 1997 …int text_y_offset = std::max(0, ((int)(this->line_height + 1) - (int)FONT_HEIGHT_NORMAL) / 2) + WD… in DrawCompany() local 2022 …DrawString(rtl ? x : text_left, rtl ? text_right : x, y + text_y_offset, STR_NETWORK_CLIENT_LIST_S… in DrawCompany() 2025 …DrawString(rtl ? x : text_left, rtl ? text_right : x, y + text_y_offset, STR_NETWORK_CLIENT_LIST_N… in DrawCompany() 2031 …DrawString(rtl ? x : text_left, rtl ? text_right : x, y + text_y_offset, STR_COMPANY_NAME, TC_SILV… in DrawCompany() [all …]
|
H A D | network_content_gui.cpp | 635 int text_y_offset = WD_MATRIX_TOP + (line_height - FONT_HEIGHT_NORMAL) / 2; in DrawMatrix() local 660 …DrawString(nwi_type->pos_x, nwi_type->pos_x + nwi_type->current_x - 1, y + text_y_offset, str, TC_… in DrawMatrix() 662 …LEFT, nwi_name->pos_x + nwi_name->current_x - WD_FRAMERECT_RIGHT, y + text_y_offset, ci->name, TC_… in DrawMatrix()
|
/dports/biology/py-ete3/ete3-3.1.2/ete3/treeview/ |
H A D | qt4_face_render.py | 262 text_y_offset = -obj.boundingRect().y() if f.type == "text" else 0 265 y + y_offset + f.margin_top + text_y_offset)
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | manufacture.c | 72 static int text_y_offset = 0; variable 793 draw_string_small_zoomed(win->small_font_max_len_x, manufacture_menu_y_len-text_y_offset, in display_manufacture_handler() 1213 if ((my > manufacture_menu_y_len-text_y_offset) && my < (manufacture_menu_y_len-recipe_y_offset)) { in click_manufacture_handler() 1333 …if (show_help_text && *inventory_item_string && (my > manufacture_menu_y_len-text_y_offset) && my … in mouseover_manufacture_slot_handler() 1534 text_y_offset = SLOT_SIZE + 4 + 4.5 * win->small_font_len_y; in ui_scale_manufacture_handler()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/ |
H A D | hudtarget.cpp | 6919 int text_y_offset = _entry_start_y; in render() local 6936 …renderPrintf(position[0] + _plink_offset_x, position[1] + text_y_offset, EG_NULL, "%c", Weapon_lin… in render() 6943 …renderPrintf(position[0] + _pname_offset_x, position[1] + text_y_offset, EG_WEAPON_P2, "%s", weapo… in render() 6954 renderString(position[0] + _pammo_offset_x - w, position[1] + text_y_offset, EG_NULL, ammo_str); in render() 6957 text_y_offset += _entry_h; in render() 6963 …renderString(position[0] + _pname_offset_x, position[1] + text_y_offset, EG_WEAPON_P1, XSTR( "<non… in render() 7027 int text_y_offset = _entry_start_y; in render() local 7053 renderBitmap(wip->hud_image_index, position[0] + _sname_offset_x, position[1] + text_y_offset); in render() 7076 renderString(position[0] + _sammo_offset_x - w, position[1] + text_y_offset, EG_NULL, ammo_str); in render() 7079 text_y_offset += _entry_h; in render() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/patches/ |
H A D | colonial_hud.patch | 2992 + int text_y_offset = _entry_start_y; 3013 + renderPrintf(position[0] + _plink_offset_x, position[1] + text_y_offset, EG_NULL, "%c", Lcl_spe… 3020 + renderPrintf(position[0] + _pname_offset_x, position[1] + text_y_offset, EG_WEAPON_P2, "%s", na… 3034 + renderString(position[0] + _pammo_offset_x - w, position[1] + text_y_offset, EG_NULL, ammo_str); 3037 + text_y_offset += _entry_h; 3043 + renderString(position[0] + _pname_offset_x, position[1] + text_y_offset, EG_WEAPON_P1, XSTR( "<n… 3111 + int text_y_offset = _entry_start_y; 3135 + renderBitmap(wip->hud_image_index, position[0] + _sname_offset_x, position[1] + text_y_offset); 3158 + renderString(position[0] + _sammo_offset_x - w, position[1] + text_y_offset, EG_NULL, ammo_str); 3161 + text_y_offset += _entry_h; [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/ |
H A D | hudtarget.cpp | 6867 int text_y_offset = _entry_start_y; in render() local 6888 …renderPrintf(position[0] + _plink_offset_x, position[1] + text_y_offset, EG_NULL, "%c", Lcl_specia… in render() 6895 …renderPrintf(position[0] + _pname_offset_x, position[1] + text_y_offset, EG_WEAPON_P2, "%s", name); in render() 6909 renderString(position[0] + _pammo_offset_x - w, position[1] + text_y_offset, EG_NULL, ammo_str); in render() 6912 text_y_offset += _entry_h; in render() 6918 …renderString(position[0] + _pname_offset_x, position[1] + text_y_offset, EG_WEAPON_P1, XSTR( "<non… in render() 6985 int text_y_offset = _entry_start_y; in render() local 7009 renderBitmap(wip->hud_image_index, position[0] + _sname_offset_x, position[1] + text_y_offset); in render() 7032 renderString(position[0] + _sammo_offset_x - w, position[1] + text_y_offset, EG_NULL, ammo_str); in render() 7035 text_y_offset += _entry_h; in render() [all …]
|
/dports/mail/hbiff/hbiff-1.2/ |
H A D | hbiff.c | 178 int pix_x_offset, pix_y_offset, text_x_offset, text_y_offset; variable 634 text_y_offset = pix_y_offset + 64 + ae_font->ascent; 984 local_y = text_y_offset;
|
/dports/games/openttd/openttd-12.1/src/ai/ |
H A D | ai_gui.cpp | 377 int text_y_offset = (this->line_height - FONT_HEIGHT_NORMAL) / 2; in DrawWidget() local 419 DrawString(text_left, text_right, y + text_y_offset, str, colour); in DrawWidget()
|
/dports/games/wesnoth/wesnoth-1.14.17/data/gui/ |
H A D | schema.cfg | 1309 name="text_y_offset"
|