/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cursive_core-0.2.2/src/view/ |
H A D | scroll_base.rs | 23 pub content_height: usize, field 50 content_height: 0, in new() 79 self.content_height = content_height; in set_heights() 93 self.view_height < self.content_height in scrollable() 103 self.start_line + self.view_height < self.content_height in can_scroll_down() 123 self.start_line = self.content_height - self.view_height; in scroll_bottom() 134 self.content_height - self.view_height, in scroll_down() 146 (1 + self.content_height - self.view_height) * thumb_y, in scroll_to_thumb() 149 self.content_height - self.view_height, in scroll_to_thumb() 239 min(self.view_height, self.content_height - self.start_line); in draw() [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.17.0/src/views/ |
H A D | text_view.rs | 70 pub fn content_height(&self) -> usize { in content_height() method 82 self.content_height() as u16, in scrollbar() 133 self.scroll = if self.content_height() > area_height { in set_scroll() 134 scroll.min(self.content_height() - area_height) in set_scroll() 173 let content_height = self.content_height(); in line_down() localVariable 175 if self.scroll + page_height < content_height { in line_down() 197 let content_height = self.content_height(); in page_down() localVariable 199 if self.scroll + 2 * page_height < content_height { in page_down() 202 } else if self.scroll + page_height < content_height { in page_down() 203 self.scroll = content_height - page_height; in page_down()
|
/dports/textproc/xmlroff/xmlroff-0.6.3/xmlroff/libfo/property/ |
H A D | fo-property-content-height.c | 92 fo_property_content_height_init (FoPropertyContentHeight *content_height) in fo_property_content_height_init() argument 94 FO_PROPERTY (content_height)->value = in fo_property_content_height_init() 133 FoPropertyContentHeight *content_height; in fo_property_content_height_finalize() local 135 content_height = FO_PROPERTY_CONTENT_HEIGHT (object); in fo_property_content_height_finalize() 151 FoProperty* content_height; in fo_property_content_height_new() local 153 content_height = in fo_property_content_height_new() 157 return content_height; in fo_property_content_height_new() 320 static FoProperty *content_height = NULL; in fo_property_content_height_get_initial() local 322 if (content_height == NULL) in fo_property_content_height_get_initial() 324 content_height = in fo_property_content_height_get_initial() [all …]
|
/dports/textproc/libfo/xmlroff-0.6.3/xmlroff/libfo/property/ |
H A D | fo-property-content-height.c | 92 fo_property_content_height_init (FoPropertyContentHeight *content_height) in fo_property_content_height_init() argument 94 FO_PROPERTY (content_height)->value = in fo_property_content_height_init() 133 FoPropertyContentHeight *content_height; in fo_property_content_height_finalize() local 135 content_height = FO_PROPERTY_CONTENT_HEIGHT (object); in fo_property_content_height_finalize() 151 FoProperty* content_height; in fo_property_content_height_new() local 153 content_height = in fo_property_content_height_new() 157 return content_height; in fo_property_content_height_new() 320 static FoProperty *content_height = NULL; in fo_property_content_height_get_initial() local 322 if (content_height == NULL) in fo_property_content_height_get_initial() 324 content_height = in fo_property_content_height_get_initial() [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.17.0/src/ |
H A D | area.rs | 106 content_height: U, in scrollbar() 110 compute_scrollbar(scroll, content_height, self.height, self.top) in scrollbar() 122 content_height: U1, // number of lines of the content in compute_scrollbar() 132 let content_height: usize = content_height.into(); in compute_scrollbar() localVariable 135 if content_height <= available_height { in compute_scrollbar() 138 let mut track_before = scroll * available_height / content_height; in compute_scrollbar() 142 let thumb_height = available_height * available_height / content_height; in compute_scrollbar() 145 if scroll + available_height < content_height && available_height > 3 { in compute_scrollbar()
|
/dports/net-im/uTox/uTox/src/ui/ |
H A D | scrollable.c | 10 uint32_t c = s->content_height; in scroll_draw() 48 int c = s->content_height; in scroll_gety() 70 uint32_t c = s->content_height; in scroll_mmove() 110 uint32_t content_height = s->content_height; in scroll_mwheel() local 113 if (content_height > port_height) { in scroll_mwheel() 118 … s->d -= (delta * (32.0 * port_height / content_height) / content_height) * scroll_speed_multip; in scroll_mwheel() 120 uint32_t magic = (port_height * port_height) / content_height; in scroll_mwheel()
|
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.10.3/src/ |
H A D | area.rs | 93 content_height: i32, in scrollbar() 95 compute_scrollbar(scroll, content_height, i32::from(self.height), self.top) in scrollbar() 101 content_height: i32, // number of lines of the content in compute_scrollbar() 106 if content_height <= h { in compute_scrollbar() 109 let sc = div_ceil(scroll * h, content_height); in compute_scrollbar() 110 let hidden_tail = content_height - scroll - h; in compute_scrollbar() 111 let se = div_ceil(hidden_tail * h, content_height); in compute_scrollbar()
|
/dports/graphics/birdfont/birdfont-2.29.5/libbirdfont/ |
H A D | Expander.vala | 42 double content_height = 0; 72 return content_height; 115 content_height = 0; 147 content_height = 0; 171 content_height += t.h; 175 content_height += previous.h; 184 content_height += margin_small; 194 content_height += 7 * scale; 196 content_height += 10 * scale; 204 content_height += 5 * scale; [all …]
|
H A D | TableLayout.vala | 23 public double content_height = 1; 80 content_height = y + scroll; 228 if (scroll + allocation.height >= content_height) { 229 scroll = content_height - allocation.height; 260 double h = content_height - allocation.height; 261 MainWindow.set_scrollbar_size (allocation.height / content_height); 266 double h = content_height - allocation.height;
|
H A D | SettingsDisplay.vala | 23 double content_height = 1; 35 content_height = 200; 87 content_height = y + scroll; 259 if (scroll + allocation.height >= content_height) { 260 scroll = content_height - allocation.height; 278 double h = content_height - allocation.height; 279 MainWindow.set_scrollbar_size (allocation.height / content_height); 284 double h = content_height - allocation.height;
|
/dports/x11-toolkits/libdecor/libdecor-3ec3fadd59a21835079fbb3046d2bec6c649d6fa/src/ |
H A D | libdecor.c | 70 int content_height; member 117 int content_height; member 200 return state->content_height; in libdecor_state_get_content_height() 217 state->content_height = height; in libdecor_state_new() 269 int *content_height) in window_size_to_content_size() argument 293 int content_height; in libdecor_configuration_get_content_size() local 304 &content_height)) in libdecor_configuration_get_content_size() 308 *height = content_height; in libdecor_configuration_get_content_size() 867 int content_height) in libdecor_frame_set_max_content_size() argument 878 int content_height) in libdecor_frame_set_min_content_size() argument [all …]
|
/dports/emulators/mess/mame-mame0226/plugins/autofire/ |
H A D | autofire_menu.lua | 13 local content_height = 0 28 elseif index <= content_height then 31 return MENU_SECTIONS.FOOTER, index - content_height 69 content_height = #menu 182 content_height = #menu 209 content_height = #menu 257 content_height = #menu 276 content_height = 0
|
/dports/emulators/mame/mame-mame0226/plugins/autofire/ |
H A D | autofire_menu.lua | 13 local content_height = 0 28 elseif index <= content_height then 31 return MENU_SECTIONS.FOOTER, index - content_height 69 content_height = #menu 182 content_height = #menu 209 content_height = #menu 257 content_height = #menu 276 content_height = 0
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/enterprise/e2e/policy/fullscreen_allowed/ |
H A D | is_fullscreen_allowed.py | 31 content_height = driver.execute_script("return window.innerHeight") 38 print("content_height: %s" % content_height) 40 fs = window_width == content_width and window_height == content_height
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkdrawingarea.c | 37 int content_height; member 186 g_value_set_int (value, priv->content_height); in gtk_drawing_area_get_property() 228 *minimum = *natural = priv->content_height; in gtk_drawing_area_measure() 426 if (priv->content_height == height) in gtk_drawing_area_set_content_height() 429 priv->content_height = height; in gtk_drawing_area_set_content_height() 450 return priv->content_height; in gtk_drawing_area_get_content_height()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimpdisplayshell-scroll.c | 426 gint content_height; in gimp_display_shell_scroll_center_content() local 445 &content_height); in gimp_display_shell_scroll_center_content() 453 &content_height); in gimp_display_shell_scroll_center_content() 462 if (shell->disp_height > content_height) in gimp_display_shell_scroll_center_content() 464 content_y -= (shell->disp_height - content_height) / 2; in gimp_display_shell_scroll_center_content() 465 content_height = shell->disp_height; in gimp_display_shell_scroll_center_content() 469 center_y = content_y + content_height / 2; in gimp_display_shell_scroll_center_content()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | safemode_ui.cpp | 54 int content_height = 0; in show() local 80 content_height = FULL_SCREEN_HEIGHT - 2 - header_height; in show() 88 w = catacurses::newwin( content_height, FULL_SCREEN_WIDTH - 2, in show() 194 for( int i = 0; i < content_height; i++ ) { in show() 218 calcStartPos( start_pos, line, content_height, current_tab.size() ); in show() 527 int content_height = 0; in test_pattern() local 539 content_height = FULL_SCREEN_HEIGHT - 8; in test_pattern() 542 w_test_rule_border = catacurses::newwin( content_height + 2, content_width, in test_pattern() 544 w_test_rule_content = catacurses::newwin( content_height, content_width - 2, in test_pattern() 574 for( int i = 0; i < content_height; i++ ) { in test_pattern() [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | safemode_ui.cpp | 54 int content_height = 0; in show() local 80 content_height = FULL_SCREEN_HEIGHT - 2 - header_height; in show() 88 w = catacurses::newwin( content_height, FULL_SCREEN_WIDTH - 2, in show() 194 for( int i = 0; i < content_height; i++ ) { in show() 218 calcStartPos( start_pos, line, content_height, current_tab.size() ); in show() 527 int content_height = 0; in test_pattern() local 539 content_height = FULL_SCREEN_HEIGHT - 8; in test_pattern() 542 w_test_rule_border = catacurses::newwin( content_height + 2, content_width, in test_pattern() 544 w_test_rule_content = catacurses::newwin( content_height, content_width - 2, in test_pattern() 574 for( int i = 0; i < content_height; i++ ) { in test_pattern() [all …]
|
/dports/net/rssguard/rssguard-4.0.4/src/librssguard/gui/reusable/ |
H A D | helpspoiler.cpp | 72 auto content_height = m_content->layout()->sizeHint().height(); in setHelpText() local 79 spoiler_animation->setEndValue(collapsed_height + content_height); in setHelpText() 86 content_animation->setEndValue(content_height); in setHelpText()
|
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/prompt_toolkit/layout/ |
H A D | margins.py | 160 content_height = window_render_info.content_height 168 fraction_visible = len(window_render_info.displayed_lines) / float(content_height) 169 fraction_above = window_render_info.vertical_scroll / float(content_height)
|
/dports/devel/py-lineedit/lineedit-0.1.6/lineedit/deps/prompt_toolkit/layout/ |
H A D | margins.py | 160 content_height = window_render_info.content_height 168 fraction_visible = len(window_render_info.displayed_lines) / float(content_height) 169 fraction_above = window_render_info.vertical_scroll / float(content_height)
|
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/prompt_toolkit/layout/ |
H A D | margins.py | 183 content_height = window_render_info.content_height 192 content_height 194 fraction_above = window_render_info.vertical_scroll / float(content_height)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/html/ |
H A D | html_marquee_element.cc | 349 metrics.content_height = 0; in GetMetrics() 369 metrics.content_height = mover_style->getPropertyValue("height").ToDouble(); in GetMetrics() 388 double total_height = metrics.marquee_height + metrics.content_height; in GetAnimationParameters() 391 double inner_height = metrics.marquee_height - metrics.content_height; in GetAnimationParameters() 442 parameters.transform_begin = CreateTransform(-metrics.content_height); in GetAnimationParameters() 463 parameters.transform_end = CreateTransform(-metrics.content_height); in GetAnimationParameters() 467 parameters.transform_begin = CreateTransform(-metrics.content_height); in GetAnimationParameters()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/html/ |
H A D | html_marquee_element.cc | 349 metrics.content_height = 0; in GetMetrics() 369 metrics.content_height = mover_style->getPropertyValue("height").ToDouble(); in GetMetrics() 388 double total_height = metrics.marquee_height + metrics.content_height; in GetAnimationParameters() 391 double inner_height = metrics.marquee_height - metrics.content_height; in GetAnimationParameters() 442 parameters.transform_begin = CreateTransform(-metrics.content_height); in GetAnimationParameters() 463 parameters.transform_end = CreateTransform(-metrics.content_height); in GetAnimationParameters() 467 parameters.transform_begin = CreateTransform(-metrics.content_height); in GetAnimationParameters()
|
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.10.3/src/views/ |
H A D | text_view.rs | 58 pub fn content_height(&self) -> i32 { in content_height() method 69 self.area.scrollbar(self.scroll, self.content_height()) in scrollbar() 116 .min(self.content_height() - i32::from(self.area.height) + 1) in set_scroll()
|