/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ui/ |
H A D | scroll.cpp | 95 bar_position = 0; in create() 108 bar_position *= h - bar_size; in create() 109 bar_position /= stop - start; in create() 136 ui_draw_box_out( 0, bar_position, w - 1, bar_position + bar_size - 1 ); in draw() 148 ui_draw_box_out( 0, bar_position, w - 1, bar_position + bar_size - 1 ); in draw() 170 bar_position = 0; in process() 182 bar_position *= h - bar_size; in process() 183 bar_position /= stop - start; in process() 240 if (bar_position < 0) { in process() 241 bar_position = 0; in process() [all …]
|
H A D | listbox.cpp | 373 scrollbar.bar_position *= scrollbar.h - scrollbar.bar_size; in process() 374 scrollbar.bar_position /= scrollbar.stop - scrollbar.start; in process() 376 if (scrollbar.bar_position < 0) { in process() 377 scrollbar.bar_position = 0; in process() 381 scrollbar.bar_position = scrollbar.h - scrollbar.bar_size; in process() 428 scrollbar.bar_position = scrollbar.position - scrollbar.start; in process() 429 scrollbar.bar_position *= scrollbar.h - scrollbar.bar_size; in process() 430 scrollbar.bar_position /= scrollbar.stop - scrollbar.start; in process() 432 if (scrollbar.bar_position < 0) { in process() 433 scrollbar.bar_position = 0; in process() [all …]
|
H A D | ui.h | 404 int bar_position; variable
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ui/ |
H A D | scroll.cpp | 100 bar_position = 0; in create() 113 bar_position *= h - bar_size; in create() 114 bar_position /= stop - start; in create() 141 ui_draw_box_out( 0, bar_position, w - 1, bar_position + bar_size - 1 ); in draw() 153 ui_draw_box_out( 0, bar_position, w - 1, bar_position + bar_size - 1 ); in draw() 175 bar_position = 0; in process() 187 bar_position *= h - bar_size; in process() 188 bar_position /= stop - start; in process() 245 if (bar_position < 0) { in process() 246 bar_position = 0; in process() [all …]
|
H A D | listbox.cpp | 374 scrollbar.bar_position *= scrollbar.h - scrollbar.bar_size; in process() 375 scrollbar.bar_position /= scrollbar.stop - scrollbar.start; in process() 377 if (scrollbar.bar_position < 0) { in process() 378 scrollbar.bar_position = 0; in process() 382 scrollbar.bar_position = scrollbar.h - scrollbar.bar_size; in process() 429 scrollbar.bar_position = scrollbar.position - scrollbar.start; in process() 430 scrollbar.bar_position *= scrollbar.h - scrollbar.bar_size; in process() 431 scrollbar.bar_position /= scrollbar.stop - scrollbar.start; in process() 433 if (scrollbar.bar_position < 0) { in process() 434 scrollbar.bar_position = 0; in process() [all …]
|
H A D | ui.h | 403 int bar_position; variable
|
/dports/devel/allegro5/allegro5-5.2.7.0/examples/ |
H A D | ex_vsync.c | 83 int bar_position = 0; in main() local 166 bar_position += step_size; in main() 169 bar_position -= step_size; in main() 172 if (right && bar_position >= display_width - bar_width) { in main() 173 bar_position = display_width - bar_width; in main() 176 else if (!right && bar_position <= 0) { in main() 177 bar_position = 0; in main() 182 …al_draw_filled_rectangle(bar_position, 0, bar_position + bar_width - 1, display_height - 1, al_map… in main()
|
/dports/games/py-fife/fifengine-0.4.2/engine/python/fife/extensions/pychan/widgets/ |
H A D | bargraph.py | 85 bar_position = None, 122 if bar_position is not None: self.bar_position = bar_position 163 …def _setBarPosition(self, bar_position): self.real_widget.setBarPosition(bar_position[0], bar_posi… argument 165 bar_position = property(_getBarPosition, _setBarPosition) variable in BarGraph
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtkcellrendererprogress.c | 570 bar_position = get_bar_position (start, full_size, bar_size, in gtk_cell_renderer_progress_render() 577 clip.x = bar_position; in gtk_cell_renderer_progress_render() 597 clip.y = bar_position; in gtk_cell_renderer_progress_render() 631 if (bar_position > start) in gtk_cell_renderer_progress_render() 637 clip.width = bar_position - x; in gtk_cell_renderer_progress_render() 642 clip.height = bar_position - y; in gtk_cell_renderer_progress_render() 652 if (bar_position + bar_size < start + full_size) in gtk_cell_renderer_progress_render() 657 clip.x = bar_position + bar_size; in gtk_cell_renderer_progress_render() 658 clip.width = x + w - (bar_position + bar_size); in gtk_cell_renderer_progress_render() 662 clip.y = bar_position + bar_size; in gtk_cell_renderer_progress_render() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/ |
H A D | ElementScroll.cpp | 105 float bar_position; in UpdateScrollbar() local 109 bar_position = element->GetScrollTop(); in UpdateScrollbar() 114 bar_position = element->GetScrollLeft(); in UpdateScrollbar() 119 bar_position = 0; in UpdateScrollbar() 121 bar_position /= traversable_track; in UpdateScrollbar() 125 bar_position = Math::Clamp(bar_position, 0.0f, 1.0f); in UpdateScrollbar() 127 if (scrollbars[orientation].widget->GetBarPosition() != bar_position) in UpdateScrollbar() 128 scrollbars[orientation].widget->SetBarPosition(bar_position); in UpdateScrollbar()
|
H A D | WidgetSlider.h | 65 void SetBarPosition(float bar_position); 98 virtual float OnBarChange(float bar_position) = 0; 133 float bar_position; variable
|
H A D | WidgetSlider.cpp | 54 bar_position = 0; in WidgetSlider() 191 if (Math::AreEqual(_bar_position, bar_position)) { in SetBarPosition() 195 bar_position = Math::Clamp(_bar_position, 0.0f, 1.0f); in SetBarPosition() 199 parameters.Set("value", bar_position); in SetBarPosition() 206 return bar_position; in GetBarPosition() 437 …SetBarPosition(click_position <= bar_position ? OnPageDecrement(click_position) : OnPageIncrement(… in ProcessEvent() 444 …SetBarPosition(click_position <= bar_position ? OnPageDecrement(click_position) : OnPageIncrement(… in ProcessEvent() 482 …RGIN, Box::LEFT), track->GetRelativeOffset().y + traversable_track_length * bar_position), parent); in PositionBar() 487 …bar->SetOffset(Vector2f(track->GetRelativeOffset().x + traversable_track_length * bar_position, ba… in PositionBar()
|
H A D | WidgetSliderScroll.cpp | 91 float WidgetSliderScroll::OnBarChange(float bar_position) in OnBarChange() argument 93 return bar_position; in OnBarChange()
|
H A D | WidgetSliderScroll.h | 71 virtual float OnBarChange(float bar_position);
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkcellrendererprogress.c | 600 bar_position = get_bar_position (start, full_size, bar_size, in gtk_cell_renderer_progress_render() 607 clip.x = bar_position; in gtk_cell_renderer_progress_render() 627 clip.y = bar_position; in gtk_cell_renderer_progress_render() 676 if (bar_position > start) in gtk_cell_renderer_progress_render() 681 clip.width = bar_position - x; in gtk_cell_renderer_progress_render() 686 clip.height = bar_position - y; in gtk_cell_renderer_progress_render() 700 if (bar_position + bar_size < start + full_size) in gtk_cell_renderer_progress_render() 704 clip.x = bar_position + bar_size; in gtk_cell_renderer_progress_render() 705 clip.width = x + w - (bar_position + bar_size); in gtk_cell_renderer_progress_render() 709 clip.y = bar_position + bar_size; in gtk_cell_renderer_progress_render() [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkcellrendererprogress.c | 463 bar_position = get_bar_position (start, full_size, bar_size, in gtk_cell_renderer_progress_snapshot() 470 clip.x = bar_position; in gtk_cell_renderer_progress_snapshot() 490 clip.y = bar_position; in gtk_cell_renderer_progress_snapshot() 541 if (bar_position > start) in gtk_cell_renderer_progress_snapshot() 546 clip.width = bar_position - x; in gtk_cell_renderer_progress_snapshot() 551 clip.height = bar_position - y; in gtk_cell_renderer_progress_snapshot() 567 if (bar_position + bar_size < start + full_size) in gtk_cell_renderer_progress_snapshot() 571 clip.x = bar_position + bar_size; in gtk_cell_renderer_progress_snapshot() 572 clip.width = x + w - (bar_position + bar_size); in gtk_cell_renderer_progress_snapshot() 576 clip.y = bar_position + bar_size; in gtk_cell_renderer_progress_snapshot() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Controls/ |
H A D | WidgetSlider.h | 64 void SetBarPosition(float bar_position); 99 virtual float OnBarChange(float bar_position) = 0; 134 float bar_position; variable
|
H A D | WidgetSlider.cpp | 49 bar_position = 0; in WidgetSlider() 181 bar_position = Rocket::Core::Math::Clamp(_bar_position, 0.0f, 1.0f); in SetBarPosition() 185 parameters.Set("value", bar_position); in SetBarPosition() 192 return bar_position; in GetBarPosition() 432 …SetBarPosition(click_position <= bar_position ? OnPageDecrement(click_position) : OnPageIncrement(… in ProcessEvent() 439 …SetBarPosition(click_position <= bar_position ? OnPageDecrement(click_position) : OnPageIncrement(… in ProcessEvent() 512 …Core::Box::LEFT), track->GetRelativeOffset().y + traversable_track_length * bar_position), parent); in PositionBar() 517 …e::Vector2f(track->GetRelativeOffset().x + traversable_track_length * bar_position, bar->GetBox().… in PositionBar()
|
H A D | WidgetSliderInput.cpp | 90 float WidgetSliderInput::OnBarChange(float bar_position) in OnBarChange() argument 92 float new_value = min_value + bar_position * (max_value - min_value); in OnBarChange()
|
H A D | WidgetSliderInput.h | 72 virtual float OnBarChange(float bar_position);
|
/dports/devel/efl/efl-1.25.1/src/lib/elementary/ |
H A D | efl_ui_scroll_manager.eo | 41 Efl.Ui.Scrollbar.bar_position { get; set; }
|
/dports/x11-wm/i3/i3-4.20.1/include/ |
H A D | config_directives.h | 91 CFGFUN(bar_position, const char *position);
|
/dports/x11-wm/i3-gaps/i3-4.20.1/include/ |
H A D | config_directives.h | 95 CFGFUN(bar_position, const char *position);
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | output.cc | 660 int bar_position; in _print_stats_noise() local 664 bar_position = 10; in _print_stats_noise() 670 CGOTOXY(x + bar_position - 3, y, GOTO_STAT); in _print_stats_noise() 677 bar_position = 7; in _print_stats_noise() 682 CGOTOXY(x + bar_position, y, GOTO_STAT); in _print_stats_noise() 710 Noise_Bar.draw(x + bar_position, y, in _print_stats_noise()
|
/dports/devel/efl/efl-1.25.1/src/lib/efl/interfaces/ |
H A D | efl_ui_scrollbar.eo | 48 @property bar_position {
|