/dports/editors/micro/micro-2.0.10/internal/display/ |
H A D | tabwindow.go | 16 hscroll int member 31 x := -w.hscroll 49 w.hscroll += amt 51 w.hscroll = util.Clamp(w.hscroll, 0, s-w.Width) 54 w.hscroll = 0 78 if x+c >= w.hscroll+w.Width { 80 } else if x < w.hscroll { 81 w.hscroll = util.Clamp(x-4, 0, s-w.Width) 89 w.hscroll = 0 94 x := -w.hscroll [all …]
|
/dports/x11-toolkits/fltk/fltk-1.3.8/src/ |
H A D | Fl_Scroll.cxx | 174 si.hscroll.x = si.innerchild.x; in recalc_scrollbars() 178 si.hscroll.w = si.innerchild.w; in recalc_scrollbars() 179 si.hscroll.h = si.scrollsize; in recalc_scrollbars() 190 si.hscroll.pos = si.innerchild.x - si.child.l; in recalc_scrollbars() 191 si.hscroll.size = si.innerchild.w; in recalc_scrollbars() 192 si.hscroll.first = 0; in recalc_scrollbars() 193 si.hscroll.total = si.child.r - si.child.l; in recalc_scrollbars() 194 …if ( si.hscroll.pos < 0 ) { si.hscroll.total += (-si.hscroll.pos); si.hscroll.first = si.hscroll.p… in recalc_scrollbars() 301 draw_clip(this, si.hscroll.x, si.hscroll.y, si.hscroll.w, si.hscroll.h); in draw() 313 hscrollbar.resize(si.hscroll.x, si.hscroll.y, si.hscroll.w, si.hscroll.h); in draw() [all …]
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/contrib/samples/gizmos/dynsash_switch/ |
H A D | dynsash_switch.cpp | 106 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in IMPLEMENT_APP() local 109 hscroll->SetEventHandler(this); in IMPLEMENT_APP() 168 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSize() local 171 if (hscroll && vscroll) { in OnSize() 172 int hpos = hscroll->GetThumbPosition(); in OnSize() 189 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnPaint() local 215 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSplit() local 218 hscroll->SetEventHandler(this); in OnSplit() 223 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnUnify() local 226 hscroll->SetEventHandler(this); in OnUnify() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/contrib/samples/gizmos/dynsash_switch/ |
H A D | dynsash_switch.cpp | 106 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in IMPLEMENT_APP() local 109 hscroll->SetEventHandler(this); in IMPLEMENT_APP() 168 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSize() local 171 if (hscroll && vscroll) { in OnSize() 172 int hpos = hscroll->GetThumbPosition(); in OnSize() 189 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnPaint() local 215 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSplit() local 218 hscroll->SetEventHandler(this); in OnSplit() 223 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnUnify() local 226 hscroll->SetEventHandler(this); in OnUnify() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/contrib/samples/gizmos/dynsash_switch/ |
H A D | dynsash_switch.cpp | 106 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in IMPLEMENT_APP() local 109 hscroll->SetEventHandler(this); in IMPLEMENT_APP() 168 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSize() local 171 if (hscroll && vscroll) { in OnSize() 172 int hpos = hscroll->GetThumbPosition(); in OnSize() 189 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnPaint() local 215 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSplit() local 218 hscroll->SetEventHandler(this); in OnSplit() 223 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnUnify() local 226 hscroll->SetEventHandler(this); in OnUnify() [all …]
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/contrib/samples/gizmos/dynsash_switch/ |
H A D | dynsash_switch.cpp | 106 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in IMPLEMENT_APP() local 109 hscroll->SetEventHandler(this); in IMPLEMENT_APP() 168 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSize() local 171 if (hscroll && vscroll) { in OnSize() 172 int hpos = hscroll->GetThumbPosition(); in OnSize() 189 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnPaint() local 215 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnSplit() local 218 hscroll->SetEventHandler(this); in OnSplit() 223 wxScrollBar *hscroll = m_dyn_sash->GetHScrollBar(this); in OnUnify() local 226 hscroll->SetEventHandler(this); in OnUnify() [all …]
|
/dports/audio/ncmpc/ncmpc-0.41/test/ |
H A D | run_hscroll.cxx | 28 BasicMarquee hscroll(argv[2]); in main() local 29 hscroll.Set(width, argv[1]); in main() 32 const auto s = hscroll.ScrollString(); in main() 35 hscroll.Step(); in main() 38 hscroll.Clear(); in main()
|
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/master/ |
H A D | masteredit.cpp | 224 hscroll = new MusEGui::ScrollScale( in MasterEdit() 263 mainGrid->addWidget(hscroll, 8, 1); in MasterEdit() 281 connect(hscroll, SIGNAL(scaleChanged(int)), time1, SLOT(setXMag(int))); in MasterEdit() 282 connect(hscroll, SIGNAL(scaleChanged(int)), sign, SLOT(setXMag(int))); in MasterEdit() 283 connect(hscroll, SIGNAL(scaleChanged(int)), canvas, SLOT(setXMag(int))); in MasterEdit() 284 connect(hscroll, SIGNAL(scaleChanged(int)), time2, SLOT(setXMag(int))); in MasterEdit() 331 hscroll->setPos(xml.parseInt()); in readStatus() 333 hscroll->setMag(xml.parseInt()); in readStatus() 360 xml.intTag(level, "xmag", hscroll->mag()); in writeStatus() 361 xml.intTag(level, "xpos", hscroll->pos()); in writeStatus() [all …]
|
/dports/graphics/gliv/gliv-1.9.7/src/ |
H A D | scrollbars.c | 39 static GtkHScrollbar *hscroll; variable 48 widgets[0] = GTK_WIDGET(hscroll); in toggle_scrollbars() 59 gtk_adjustment_changed(gtk_range_get_adjustment(GTK_RANGE(hscroll))); in changed_scrollbars() 105 update_scroll(GTK_SCROLLBAR(hscroll), min_x, max_x, in update_scrollbars() 118 if (range == GTK_RANGE(hscroll)) in scroll_val() 136 hscroll = GTK_HSCROLLBAR(range); in get_new_scrollbar() 151 gtk_widget_hide(GTK_WIDGET(hscroll)); in hide_scrollbars()
|
/dports/editors/emacs/emacs-27.2/lisp/ |
H A D | tab-line.el | 437 (setq hscroll (nth 1 hscroll-data)) 440 (when hscroll 441 (setq hscroll nil) 444 (when (and (numberp hscroll) (not (zerop hscroll))) 446 (when (if (numberp hscroll) 450 (if hscroll (nthcdr (truncate hscroll) strings) strings) 511 (not (integerp hscroll))) 519 ((or (not (numberp hscroll)) (< selected (truncate hscroll))) 538 (setq hscroll nil) 565 (list show-arrows hscroll)))) [all …]
|
/dports/audio/ncmpc/ncmpc-0.41/src/ |
H A D | SongRowPaint.cxx | 35 gcc_unused class hscroll *hscroll, const char *format) in paint_song_row() argument 54 if (hscroll != nullptr && width > 3 && in paint_song_row() 56 hscroll->Set(0, y, width, buffer, in paint_song_row() 59 hscroll->Paint(); in paint_song_row()
|
H A D | StatusBar.cxx | 38 , hscroll(event_loop, window.w, options.scroll_sep.c_str()) 54 hscroll.Clear(); in ~StatusBar() 205 hscroll.Set(left_width, 0, width, in Update() 209 hscroll.Clear(); in Update() 219 hscroll.Clear(); in Update() 260 if (hscroll.IsDefined()) in Paint() 261 hscroll.Paint(); in Paint() 287 hscroll.Clear(); in SetMessage()
|
/dports/lang/racket/racket-8.3/share/pkgs/gui-doc/scribblings/gui/ |
H A D | panel-class.scrbl | 27 'hscroll 'auto-hscroll 'hide-hscroll 46 If the @racket['hscroll] or @racket['vscroll] style is specified, then 49 constrained by the size of its children subareas. The @racket['auto-hscroll] 50 and @racket['auto-vscroll] styles imply @racket['hscroll] and 53 the @racket['auto-vscroll] and @racket['auto-hscroll] modes assume that 55 @racket[vertical-panel%], or @racket[horizontal-panel%]. The @racket['hide-hscroll] 56 and @racket['hide-vscroll] styles imply @racket['auto-hscroll] and 62 @history[#:changed "1.25" @elem{Added @racket['hide-vscroll] and @racket['hide-hscroll].}]}}
|
/dports/editors/emacs-devel/emacs-4d1968b/lisp/ |
H A D | tab-line.el | 526 (setq hscroll (nth 1 hscroll-data)) 529 (when hscroll 530 (setq hscroll nil) 533 (when (and (numberp hscroll) (not (zerop hscroll))) 535 (when (if (numberp hscroll) 539 (if hscroll (nthcdr (truncate hscroll) strings) strings) 638 (not (integerp hscroll))) 646 ((or (not (numberp hscroll)) (< selected (truncate hscroll))) 665 (setq hscroll nil) 692 (list show-arrows hscroll)))) [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/ |
H A D | TextBoxBase.cs | 138 hscroll.Enabled = false; in TextBoxBase() 139 hscroll.Visible = false; in TextBoxBase() 1894 if (hscroll.Visible) { in SizeControls() 1926 int vmod = hscroll.Visible ? hscroll.Height : 0; in PositionControls() 1932 hscroll.Height); in PositionControls() 1942 hscroll.Height); in PositionControls() 2073 hscroll.Visible = hscroll.Enabled; in CalculateScrollBars() 2310 if ((hscroll.Value - document.ViewPortWidth / 3) >= hscroll.Minimum) { in CaretMoved() 2311 hscroll.SafeValueSet (hscroll.Value - document.ViewPortWidth / 3); in CaretMoved() 2313 hscroll.Value = hscroll.Minimum; in CaretMoved() [all …]
|
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/waveedit/ |
H A D | waveedit.cpp | 326 hscroll = new ScrollScale( in WaveEdit() 384 gridS2->addWidget(hscroll, 0, 0); in WaveEdit() 386 gridS2_w->setMaximumHeight(hscroll->sizeHint().height()); in WaveEdit() 688 xml.intTag(level, "xmag", hscroll->mag()); in writeStatus() 689 xml.intTag(level, "xpos", hscroll->pos()); in writeStatus() 931 hscroll->setPos(pos); in keyPressEvent() 936 hscroll->setPos(pos); in keyPressEvent() 999 int mag = hscroll->mag(); in horizontalZoom() 1016 hscroll->setMag(newmag, cp.x()); in horizontalZoom() 1024 hscroll->setMag(hscroll->mag() + mag, cp.x()); in horizontalZoom() [all …]
|
/dports/shells/zsh-navigation-tools/zsh-navigation-tools-2.2.7/ |
H A D | n-list-input | 70 integer hscroll="$6" 183 hscroll=hscroll-7 184 [ "$hscroll" -lt 0 ] && hscroll=0 187 hscroll+=7 291 hscroll=hscroll-7 292 [ "$hscroll" -lt 0 ] && hscroll=0 295 hscroll+=7 371 reply[5]="$hscroll"
|
/dports/shells/ohmyzsh/ohmyzsh-6babcbd8841335a3c25ec960ff57ab9a139c9073/plugins/zsh-navigation-tools/ |
H A D | n-list-input | 70 integer hscroll="$6" 183 hscroll=hscroll-7 184 [ "$hscroll" -lt 0 ] && hscroll=0 187 hscroll+=7 291 hscroll=hscroll-7 292 [ "$hscroll" -lt 0 ] && hscroll=0 295 hscroll+=7 371 reply[5]="$hscroll"
|
/dports/games/gemrb/gemrb-0.9.0/gemrb/core/GUI/ |
H A D | ScrollView.cpp | 120 delete hscroll; in ~ScrollView() 173 if (hscroll && contentFrame.w > mySize.w) { in UpdateScrollbars() 177 hscroll->SetValue(-contentFrame.Origin().x); in UpdateScrollbars() 197 if (sb == hscroll) { in ScrollbarValueChange() 227 if (hscroll && hscroll->IsVisible()) { in ContentRegion() 228 cr.h -= hscroll->Frame().h; in ContentRegion() 252 if (hscroll) { in FlagsChanged() 253 hscroll->SetVisible(false); in FlagsChanged() 298 if (hscroll) { in SetScrollIncrement() 299 hscroll->StepIncrement = inc; in SetScrollIncrement()
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/ |
H A D | thumbbrowserbase.cc | 43 attach (hscroll, 0, 1, 1, 1); in ThumbBrowserBase() 50 hscroll.get_adjustment()->set_lower(0); in ThumbBrowserBase() 123 hscroll.set_value (newValue); in scroll() 148 hscroll.set_value (newValue); in scrollPage() 567 auto ha = hscroll.get_adjustment(); in configScrollBars() 574 hscroll.hide(); in configScrollBars() 576 hscroll.show(); in configScrollBars() 579 hscroll.hide(); in configScrollBars() 1208 hscroll.set_value (min(h, hscroll.get_adjustment()->get_upper())); in enableTabMode() 1225 h = hscroll.get_value (); in getScrollPosition() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios-hppa/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 31 static int hscroll; variable 68 hscroll = 0; in dialog_textbox() 79 hscroll = *_hscroll; in dialog_textbox() 216 if (hscroll <= 0) in dialog_textbox() 220 hscroll = 0; in dialog_textbox() 222 hscroll--; in dialog_textbox() 231 if (hscroll >= MAX_LEN) in dialog_textbox() 233 hscroll++; in dialog_textbox() 272 *_hscroll = hscroll; in dialog_textbox() 346 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 31 static int hscroll; variable 68 hscroll = 0; in dialog_textbox() 79 hscroll = *_hscroll; in dialog_textbox() 216 if (hscroll <= 0) in dialog_textbox() 220 hscroll = 0; in dialog_textbox() 222 hscroll--; in dialog_textbox() 231 if (hscroll >= MAX_LEN) in dialog_textbox() 233 hscroll++; in dialog_textbox() 272 *_hscroll = hscroll; in dialog_textbox() 346 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
|
/dports/multimedia/libv4l/linux-5.13-rc2/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 18 static int hscroll; variable 55 hscroll = 0; in dialog_textbox() 66 hscroll = *_hscroll; in dialog_textbox() 203 if (hscroll <= 0) in dialog_textbox() 207 hscroll = 0; in dialog_textbox() 209 hscroll--; in dialog_textbox() 218 if (hscroll >= MAX_LEN) in dialog_textbox() 220 hscroll++; in dialog_textbox() 259 *_hscroll = hscroll; in dialog_textbox() 333 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 18 static int hscroll; variable 55 hscroll = 0; in dialog_textbox() 66 hscroll = *_hscroll; in dialog_textbox() 203 if (hscroll <= 0) in dialog_textbox() 207 hscroll = 0; in dialog_textbox() 209 hscroll--; in dialog_textbox() 218 if (hscroll >= MAX_LEN) in dialog_textbox() 220 hscroll++; in dialog_textbox() 259 *_hscroll = hscroll; in dialog_textbox() 333 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/seabios/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 31 static int hscroll; variable 68 hscroll = 0; in dialog_textbox() 79 hscroll = *_hscroll; in dialog_textbox() 216 if (hscroll <= 0) in dialog_textbox() 220 hscroll = 0; in dialog_textbox() 222 hscroll--; in dialog_textbox() 231 if (hscroll >= MAX_LEN) in dialog_textbox() 233 hscroll++; in dialog_textbox() 272 *_hscroll = hscroll; in dialog_textbox() 346 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
|