52 #ifndef __PCL_ScrollBox_h
53 #define __PCL_ScrollBox_h
57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
119 ShowScrollBars( !hideHorz, !hideVert );
130 ShowScrollBars( show, IsVerticalScrollBarVisible() );
141 ShowHorizontalScrollBar( !hide );
152 ShowScrollBars( IsHorizontalScrollBarVisible(), show );
163 ShowVerticalScrollBar( !hide );
206 EnableAutoScroll( !disableHorz, !disableVert );
236 int minPos, dum; GetHorizontalScrollRange( minPos, dum );
return minPos;
244 int dum, maxPos; GetHorizontalScrollRange( dum, maxPos );
return maxPos;
252 int minPos, dum; GetVerticalScrollRange( minPos, dum );
return minPos;
260 int dum, maxPos; GetVerticalScrollRange( dum, maxPos );
return maxPos;
315 SetPageSize( width, PageHeight() );
323 SetPageSize( PageWidth(), height );
355 SetLineSize( width, LineHeight() );
363 SetLineSize( LineWidth(), height );
393 SetScrollPosition( pos.
x, pos.
y );
407 SetScrollPosition( horzPos, VerticalScrollPosition() );
415 SetScrollPosition( HorizontalScrollPosition(), vertPos );
456 EnableTracking( enableHorz, IsVerticalTrackingEnabled() );
468 EnableTracking( IsHorizontalTrackingEnabled(), enableVert );
480 EnableTracking( !disableHorz, !disableVert );
492 EnableTracking( !disableHorz, IsVerticalTrackingEnabled() );
504 EnableTracking( IsHorizontalTrackingEnabled(), !disableVert );
631 EventHandlers() =
default;
632 EventHandlers(
const EventHandlers& ) =
default;
633 EventHandlers& operator =(
const EventHandlers& ) =
default;
652 friend class ScrollBoxEventDispatcher;
Client-side interface to a PixInsight Control object.
Client-side interface to a PixInsight Frame control.
A generic point in the two-dimensional space.
component x
Abscissa (horizontal, or X-axis coordinate).
component y
Ordinate (vertical, or Y-axis coordinate).