/dports/net-im/uTox/uTox/src/ui/ |
H A D | scrollable.c | 12 uint32_t scroll_width = 0; in scroll_draw() local 14 scroll_width = SCROLL_WIDTH / 2; in scroll_draw() 16 scroll_width = SCROLL_WIDTH; in scroll_draw() 32 x += width - scroll_width; in scroll_draw() 35 …ha(s->small ? BM_SCROLLHALFTOP_SMALL : BM_SCROLLHALFTOP, x, y, scroll_width, scroll_width / 2, s->… in scroll_draw() 37 y += scroll_width / 2; in scroll_draw() 38 int y2 = y + m - scroll_width; in scroll_draw() 39 if (scroll_width > m) { in scroll_draw() 42 drawrect(x, y, x + scroll_width, y2, s->color); in scroll_draw() 44 …a(s->small ? BM_SCROLLHALFBOT_SMALL : BM_SCROLLHALFBOT, x, y2, scroll_width, scroll_width / 2, s->… in scroll_draw()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/gui/widgets/ |
H A D | msg_scroll_new_ui.cpp | 73 scroll_width = c; in MsgScrollNewUI() 96 if (msg_line->get_display_width() + token->getDisplayWidth() > scroll_width * 7 - 8) { in can_fit_token_on_msgline() 208 …screen->fill(bg_color, area.left, y + (i == 0 ? -4 : 4), scroll_width * 7 + 8, (i == 0 ? 18 : 10)); in Display() 210 …screen->stipple_8bit(bg_color, area.left, y + (i == 0 ? -4 : 4), scroll_width * 7 + 8, (i == 0 ? 1… in Display() 215 …screen->fill(border_color, area.left + scroll_width * 7 + 7, y + (i == 0 ? -4 : 4), 1, (i == 0 ? 1… in Display() 230 screen->fill(border_color, area.left, y + 4, scroll_width * 7 + 8, 1); //draw bottom border in Display() 239 screen->update(area.left, area.top, scroll_width * 7 + 8, scroll_height * 10 + 8); in Display()
|
H A D | msg_scroll.cpp | 198 scroll_width = MSGSCROLL_MD_WIDTH; in MsgScroll() 205 scroll_width = MSGSCROLL_SE_WIDTH; in MsgScroll() 212 scroll_width = MSGSCROLL_U6_WIDTH; in MsgScroll() 225 GUI_Widget::Init(NULL, x + x_off, y + y_off, scroll_width * 8, scroll_height * 8); in MsgScroll() 278 scroll_width = w; in set_scroll_dimensions() 444 if (msg_line->total_length + token->length() > scroll_width) { in can_fit_token_on_msgline() 508 if (msg_line->total_length == scroll_width // add another line for cursor. in parse_token() 922 if (buf_x < 0 || buf_x >= scroll_width || // click not in MsgScroll area. in get_token_string_at_pos() 974 if (cursor_x == scroll_width) { // don't draw the cursor outside the scroll (SB-X) in Display()
|
H A D | msg_scroll.h | 102 uint16 scroll_width; variable 179 scroll_width = 0; in MsgScroll()
|
/dports/www/netsurf/netsurf-3.10/frontends/riscos/ |
H A D | dialog.c | 432 int scroll_width; in ro_gui_dialog_open_top() local 441 scroll_width = ro_get_vscroll_width(w); in ro_gui_dialog_open_top() 442 state.visible.x0 = (screen_width - (dimension + scroll_width)) / 2; in ro_gui_dialog_open_top() 536 int dimension, scroll_width; in ro_gui_dialog_open_centre_parent() local 550 scroll_width = ro_get_vscroll_width(parent); in ro_gui_dialog_open_centre_parent() 551 mid_x = (state.visible.x0 + state.visible.x1 + scroll_width); in ro_gui_dialog_open_centre_parent() 571 scroll_width = ro_get_vscroll_width(parent); in ro_gui_dialog_open_centre_parent() 572 state.visible.x0 = mid_x - (dimension + scroll_width) / 2; in ro_gui_dialog_open_centre_parent()
|
/dports/archivers/advancecomp/advancecomp-2.1-6-g7b08f7a/ |
H A D | mngex.h | 42 unsigned scroll_width; /**< Extra scroll buffer size in pixel. */ member 67 …gned height, unsigned frequency, int scroll_x, int scroll_y, unsigned scroll_width, unsigned scrol…
|
H A D | mngex.cc | 147 …gned height, unsigned frequency, int scroll_x, int scroll_y, unsigned scroll_width, unsigned scrol… in mng_write_header() argument 203 mng->scroll_width = scroll_width; in mng_write_header() 332 be_uint32_write(ihdr + 0, mng->width + mng->scroll_width); in mng_write_first() 355 …size, mng->scroll_ptr, mng->line, mng->pixel, 0, 0, mng->width + mng->scroll_width, mng->height + … in mng_write_first() 436 if (dx == mng->width && dy == mng->height && mng->scroll_width == 0 && mng->scroll_height == 0) { in mng_write_delta_image() 572 mng->line = mng->pixel * (mng->width + mng->scroll_width); in mng_write_image_setup()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | string_input_popup.cpp | 346 const size_t scroll_width = std::min( 10, scrmax / 5 ); in query_string() local 347 if( width_to_cursor_start < static_cast<size_t>( shift ) + scroll_width ) { in query_string() 348 shift = std::max( width_to_cursor_start, scroll_width ) - scroll_width; in query_string() 349 } else if( width_to_cursor_end > static_cast<size_t>( shift + scrmax ) - scroll_width ) { in query_string() 350 shift = std::min( width_to_cursor_end + scroll_width, ret.display_width() ) - scrmax; in query_string()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | string_input_popup.cpp | 346 const size_t scroll_width = std::min( 10, scrmax / 5 ); in query_string() local 347 if( width_to_cursor_start < static_cast<size_t>( shift ) + scroll_width ) { in query_string() 348 shift = std::max( width_to_cursor_start, scroll_width ) - scroll_width; in query_string() 349 } else if( width_to_cursor_end > static_cast<size_t>( shift + scrmax ) - scroll_width ) { in query_string() 350 shift = std::min( width_to_cursor_end + scroll_width, ret.display_width() ) - scrmax; in query_string()
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | langselwin.c | 389 static int scroll_width = 0; in display_langsel_handler() local 431 scroll_width = ELW_BOX_SIZE * text_zoom; in display_langsel_handler() 454 winwidth += scroll_width; in display_langsel_handler() 511 …langsel_scroll_id = vscrollbar_add_extended(langsel_win, 102, NULL, winwidth - scroll_width, wins… in display_langsel_handler() 512 scroll_width, line_step * max_lang_lines, 0, 1.0, in display_langsel_handler()
|
/dports/x11-toolkits/tk87/tk8.7a5/library/ |
H A D | fontchooser.tcl | 194 set scroll_width [winfo reqwidth $S(W).tmpvs] 199 [expr {[font measure TkDefaultFont "Helvetica"] + $scroll_width}] 201 [expr {[font measure TkDefaultFont "Bold Italic"] + $scroll_width}] 203 [expr {[font measure TkDefaultFont "-99"] + $scroll_width}]
|
/dports/x11-toolkits/tk86/tk8.6.12/library/ |
H A D | fontchooser.tcl | 194 set scroll_width [winfo reqwidth $S(W).tmpvs] 199 [expr {[font measure TkDefaultFont "Helvetica"] + $scroll_width}] 201 [expr {[font measure TkDefaultFont "Bold Italic"] + $scroll_width}] 203 [expr {[font measure TkDefaultFont "-99"] + $scroll_width}]
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/windows/ |
H A D | ViewClipping.cpp | 167 const int16_t scroll_width = widget.width() - 1; in OnUpdate() local 169 (static_cast<float>(scroll->h_left) / (scroll->h_right - scroll_width)) * 255); in OnUpdate()
|
/dports/x11-themes/Kvantum/Kvantum-0.20.2/Kvantum/style/themeconfig/ |
H A D | specs.h | 155 int scroll_width; member 519 tspec.scroll_width = 12; in default_theme_spec()
|
/dports/x11-themes/Kvantum/Kvantum-0.20.2/Kvantum/style/qt4/ |
H A D | specs4.h | 150 int scroll_width; member 512 tspec.scroll_width = 12; in default_theme_spec()
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cursive_core-0.2.2/src/views/ |
H A D | text_area.rs | 477 let scroll_width = if self.rows.len() > constraint.y { 1 } else { 0 }; in required_size() localVariable 481 constraint.x.saturating_sub(1 + scroll_width) in required_size() 486 Vec2::new(scroll_width + 1 + content_width, self.rows.len()) in required_size()
|
/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/ |
H A D | panel.c | 664 x %= d->scroll_width; 666 x -= d->scroll_width; 800 x %= d->scroll_width; 804 d->scroll_width - x, -y, 808 && (w = d->scroll_width + x) < d->w
|
H A D | krell.c | 598 *w = d->scroll_width; 624 d->scroll_width = logical.width + ts->effect; /* incl trailing spaces */ 745 d->scroll_width, d->scroll_height, -1); 756 dx = d->w - d->scroll_width; 761 0, 0, d->scroll_width, d->h); 776 d->scroll_width, d->scroll_height); 784 d->scroll_width + b->left + b->right,
|
/dports/cad/tkgate/tkgate-2.1/images/ |
H A D | scroll.b | 1 #define scroll_width 26
|
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/libs/gcr/ |
H A D | grid.cc | 49 line_offset, scroll_width, *min_widths, cols_min_width; member 217 gtk_render_background (ctxt, cr, pos, 0, grid->scroll_width, grid->row_height + 1); in gcr_grid_draw() 218 gtk_render_frame (ctxt, cr, pos, 0, grid->scroll_width, grid->row_height + 1); in gcr_grid_draw() 388 …gtk_layout_move (GTK_LAYOUT (grid), grid->scroll, alloc->width - grid->scroll_width, grid->row_hei… in gcr_grid_size_allocate() 401 grid->actual_width = alloc->width - grid->header_width - grid->scroll_width; in gcr_grid_size_allocate() 1191 gtk_widget_get_preferred_width (grid->scroll, &grid->scroll_width, NULL); in gcr_grid_new() 1192 grid->width += grid->scroll_width + 1; in gcr_grid_new() 1416 grid->width = grid->header_width + grid->cols_min_width + grid->scroll_width; in gcr_grid_customize_column()
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkviewport.c | 243 gint scroll_width; in viewport_set_vadjustment_values() local 246 gtk_widget_get_preferred_width (child, &scroll_width, NULL); in viewport_set_vadjustment_values() 248 gtk_widget_get_preferred_width (child, NULL, &scroll_width); in viewport_set_vadjustment_values() 251 MAX (view_allocation.width, scroll_width), in viewport_set_vadjustment_values()
|
/dports/devel/py-orange-canvas-core/orange-canvas-core-0.1.20/orangecanvas/application/ |
H A D | outputview.py | 41 scroll_width = self.verticalScrollBar().width() 42 size = QSize(width + scroll_width, height * 25)
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/views/ |
H A D | scroll_widget_gump.cpp | 61 scroll_width = 40; in ScrollWidgetGump()
|
/dports/multimedia/openshot/openshot-qt-2.6.1/src/windows/views/ |
H A D | zoom_slider.py | 149 … scroll_width = (self.scrollbar_position[1] - self.scrollbar_position[0]) * event.rect().width() 183 self.scroll_bar_rect = QRectF(scroll_x, 0.0, scroll_width, event.rect().height())
|
/dports/mail/evolution/evolution-3.42.1/src/libgnomecanvas/ |
H A D | gnome-canvas.c | 2214 gint scroll_width, scroll_height; in scroll_to() local 2231 scroll_width = in scroll_to() 2236 right_limit = scroll_width - canvas_width; in scroll_to() 2244 canvas->zoom_xofs = (canvas_width - scroll_width) / 2; in scroll_to() 2245 scroll_width = canvas_width; in scroll_to() 2291 if ((scroll_width != (gint) layout_width) in scroll_to() 2293 gtk_layout_set_size (GTK_LAYOUT (canvas), scroll_width, scroll_height); in scroll_to()
|