Home
last modified time | relevance | path

Searched refs:border_y (Results 1 – 25 of 170) sorted by path

1234567

/dports/audio/calf-lv2/calf-648f05e85287cf08af198bdd9e52baba95b502ec/src/
H A Dctl_vumeter.cpp43 int border_y = widget->style->ythickness; in calf_vumeter_expose() local
68 text_y = border_y + led_y - extents.y_bearing; in calf_vumeter_expose()
79 text_y = height - border_y - led_y - text_h - extents.y_bearing; in calf_vumeter_expose()
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Gui/Plugins/Engine/
H A DGUI_LevelPainter.cpp200 int border_y = style.ver_spacing; in paintEvent() local
258 y += h_rect + border_y; in paintEvent()
H A DGUI_Spectrum.cpp241 int border_y = style.ver_spacing;
258 int colored_rects = h / (h_rect + border_y) - 1; in showEvent()
296 rect.translate(0, -(h_rect + border_y)); in mouseMoveEvent()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/mac/
H A DDragImageMac.mm111 //Keep border_y in synch with DragController::LinkDragBorderInset
/dports/editors/imhex/ImHex-1.7.0/external/ImGui/source/
H A Dimgui_tables.cpp2469 const float border_y = table->RowPosY2; in TableDrawBorders() local
2470 if (border_y >= table->BgClipRect.Min.y && border_y < table->BgClipRect.Max.y) in TableDrawBorders()
2471 …inner_drawlist->AddLine(ImVec2(table->BorderX1, border_y), ImVec2(table->BorderX2, border_y), tabl… in TableDrawBorders()
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/X11/
H A Dx_window.cpp391 int border_x= attrs.x, border_y= attrs.y; in move_event() local
393 if (border_x >= 0 && border_x <= 5 && border_y >= 0 && border_y <= 30) { in move_event()
395 notify_window_move (orig_name, (x-border_x)*PIXEL, (border_y-y)*PIXEL); in move_event()
/dports/emulators/jzintv/jzintv-20200712-src/src/gfx/
H A Dgfx_null.c62 int border_x, int border_y, int pal_mode, in gfx_init() argument
73 UNUSED(border_y); in gfx_init()
H A Dgfx_sdl1.c47 int border_x, border_y; /* X/Y border padding. */ member
120 int border_y = gfx->pvt->border_y; in gfx_setup_sdl_surface() local
124 int desire_y = scaler_y + border_y; in gfx_setup_sdl_surface()
445 int border_x, int border_y, int pal_mode, in gfx_init() argument
514 gfx->pvt->border_y = border_y; in gfx_init()
H A Dgfx_sdl2.c56 int border_x, border_y; /* X/Y border padding. */ member
140 const int bord_y = gfx->pvt->border_y; in gfx_setup_sdl_display()
524 int border_x, int border_y, int pal_mode, in gfx_init() argument
593 gfx->pvt->border_y = border_y; in gfx_init()
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dwx-sdl2-display-win.c491 int border_x, border_y = 0; variable
666 get_border_size(&border_y, &border_x, 0, 0); in window_close()
668 rect.y -= border_y; in window_close()
756 get_border_size(&border_y, &border_x, 0, 0); in render()
758 window_y = event.window.data2-border_y; in render()
804 get_border_size(&border_y, &border_x, 0, 0); in render()
806 window_y -= border_y; in render()
834 get_border_size(&border_y, &border_x, 0, 0); in render()
836 remembered_rect.y -= border_y; in render()
H A Dwx-sdl2-display.c275 int border_x, border_y = 0; variable
420 get_border_size(&border_y, &border_x, 0, 0); in window_close()
422 rect.y -= border_y; in window_close()
507 get_border_size(&border_y, &border_x, 0, 0); in render()
509 window_y = event.window.data2-border_y; in render()
576 get_border_size(&border_y, &border_x, 0, 0); in render()
578 window_y -= border_y; in render()
607 get_border_size(&border_y, &border_x, 0, 0); in render()
609 remembered_rect.y -= border_y; in render()
/dports/games/SpaceCadetPinball/SpaceCadetPinball-Release_2.0/SpaceCadetPinball/
H A Dimgui_tables.cpp2576 const float border_y = table->RowPosY2; in TableDrawBorders() local
2577 if (border_y >= table->BgClipRect.Min.y && border_y < table->BgClipRect.Max.y) in TableDrawBorders()
2578 …inner_drawlist->AddLine(ImVec2(table->BorderX1, border_y), ImVec2(table->BorderX2, border_y), tabl… in TableDrawBorders()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmutation_ui.cpp27 static void draw_exam_window( const catacurses::window &win, const int border_y ) in draw_exam_window() argument
30 mvwputch( win, point( 0, border_y ), BORDER_COLOR, LINE_XXXO ); in draw_exam_window()
31 mvwhline( win, point( 1, border_y ), LINE_OXOX, width - 2 ); in draw_exam_window()
32 mvwputch( win, point( width - 1, border_y ), BORDER_COLOR, LINE_XOXX ); in draw_exam_window()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmutation_ui.cpp27 static void draw_exam_window( const catacurses::window &win, const int border_y ) in draw_exam_window() argument
30 mvwputch( win, point( 0, border_y ), BORDER_COLOR, LINE_XXXO ); in draw_exam_window()
31 mvwhline( win, point( 1, border_y ), LINE_OXOX, width - 2 ); in draw_exam_window()
32 mvwputch( win, point( width - 1, border_y ), BORDER_COLOR, LINE_XOXX ); in draw_exam_window()
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/d2x-rebirth/main/
H A Descort.cpp1867 const unsigned border_x, border_y; member
1881 …_bitmap.bm_h - text_size.height) / 2) - border_y, text_size.width + (border_x * 2), text_size.heig… in escort_menu()
1953 gr_ustring(w_canv, *GAME_FONT, border_x, border_y, msg.data()); in show_escort_menu()
2026 border_x(get_border_x(src)), border_y(get_border_y(src)) in escort_menu_items()
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/
H A Dscores.cpp559 const auto border_y = BORDERY; in event_handler() local
560 gr_string(canvas, medium3_font, 0x8000, border_y, TXT_HIGH_SCORES); in event_handler()
563 …gr_printf(canvas, game_font, 0x8000, fspacy(16) + border_y, "\"%s\" - %s", cool_saying.data(), st… in event_handler()
568 const auto fspacy_column_labels = fspacy(35) + border_y; in event_handler()
584 const font_y_scaled_float fspacy_y(fspacy(y) + border_y); in event_handler()
623 const auto border_y = get_border_y(canvas); in scores_view() local
624 …x, ((canvas.cv_bitmap.bm_h - fspacy170) / 2) - border_y, fspacx290 + (border_x * 2), fspacy170 + ( in scores_view()
/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dwindow.cpp112 -min(cursor_rect.y + border_y, 0), in Draw()
114 min(cursor_rect.height, height - cursor_rect.y + border_y) in Draw()
118 dst.Blit(x + cursor_rect.x + border_x, y + cursor_rect.y + border_y, *cursor1, src_rect, 255); in Draw()
120 dst.Blit(x + cursor_rect.x + border_x, y + cursor_rect.y + border_y, *cursor2, src_rect, 255); in Draw()
125 if (width > 2 * border_x && height > 2 * border_y && in Draw()
126 -ox < width - 2 * border_x && -oy < height - 2 * border_y && in Draw()
130 min(height - 2 * border_y, height - 2 * border_y + oy)); in Draw()
133 max(y + border_y, y + border_y - oy), in Draw()
H A Dwindow.h105 int border_y = 8; variable
261 return border_y; in GetBorderY()
265 border_y = y; in SetBorderY()
H A Dwindow_battlestatus.cpp55 border_y = 0; in Window_BattleStatus()
H A Dwindow_keyboard.cpp245 row * row_spacing + border_y, in GetItemRect()
H A Dwindow_keyboard.h80 static const int border_y = 4; variable
H A Dwindow_selectable.cpp32 …SetContents(Bitmap::Create(width - 16, max(height - border_y * 2, GetRowMax() * menu_item_height))… in CreateContents()
59 return (height - border_y * 2) / menu_item_height; in GetPageRowMax()
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Dpassword_manager.cpp253 int border_x, border_y, username_sep_y; member in Password_Manaager::Window
265 border_x = border_y = username_sep_y = (int)(0.5 + win->current_scale * 10); in ui_scale()
266 …size_t max_available = static_cast<size_t>(0.8 * window_height - 2 * border_y + username_sep_y) / … in ui_scale()
268 …int height = 2 * border_y + max_displayed * win->default_font_len_y + (max_displayed - 1) * userna… in ui_scale()
294 height += std::max(win->box_size, win->default_font_len_y) + border_y; in ui_scale()
330 if ((my > border_y) && (my < win->len_y - border_y)) in mouseover()
334 mouse_over_line = (my - border_y) / (username_sep_y + win->default_font_len_y); in mouseover()
355 …& ELW_LEFT_MOUSE) || (flags & ELW_RIGHT_MOUSE)) && (my > border_y) && (my < win->len_y - border_y)) in click()
359 …size_t over_item = vscrollbar_get_pos(win->window_id, scroll_id) + (my - border_y) / (username_sep… in click()
395 …draw_string_zoomed (border_x, border_y + y, (const unsigned char*)curr->get_name().c_str(), 1, win… in display()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dmapview_common.c1239 const int border_y = (tileset_is_isometric(tileset) ? tileset_tile_height(tileset) / 2 * map_zoom in tile_visible_and_not_on_border_mapcanvas() local
1259 if (canvas_y < border_y in tile_visible_and_not_on_border_mapcanvas()
1267 if (canvas_y + tileset_tile_height(tileset) * map_zoom > mapview.height - border_y in tile_visible_and_not_on_border_mapcanvas()
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dmapview_common.c1239 const int border_y = (tileset_is_isometric(tileset) ? tileset_tile_height(tileset) / 2 * map_zoom in tile_visible_and_not_on_border_mapcanvas() local
1259 if (canvas_y < border_y in tile_visible_and_not_on_border_mapcanvas()
1267 if (canvas_y + tileset_tile_height(tileset) * map_zoom > mapview.height - border_y in tile_visible_and_not_on_border_mapcanvas()

1234567