Audacity 3.2.0
Public Member Functions | List of all members
ViewportCallbacks Class Referenceabstract

A callback facade hiding GUI toolkit details. More...

#include <Viewport.h>

Inheritance diagram for ViewportCallbacks:
[legend]

Public Member Functions

virtual ~ViewportCallbacks ()
 
virtual std::pair< int, int > ViewportSize () const =0
 Width and height in pixels of proper viewport area (excluding scrollbars) More...
 
virtual unsigned MinimumTrackHeight ()=0
 
virtual bool IsTrackMinimized (const Track &track)=0
 
virtual void SetMinimized (Track &track, bool minimized)=0
 
virtual int GetTrackHeight (const Track &track)=0
 
virtual void SetChannelHeights (Track &track, unsigned height)=0
 
virtual int GetTotalHeight (const TrackList &trackList)=0
 
virtual int GetHorizontalThumbPosition () const =0
 
virtual int GetHorizontalThumbSize () const =0
 
virtual int GetHorizontalRange () const =0
 
virtual void SetHorizontalThumbPosition (int viewStart)=0
 
virtual void SetHorizontalScrollbar (int position, int thumbSize, int range, int pageSize, bool refresh)=0
 
virtual void ShowHorizontalScrollbar (bool shown)=0
 
virtual int GetVerticalThumbPosition () const =0
 
virtual int GetVerticalThumbSize () const =0
 
virtual int GetVerticalRange () const =0
 
virtual void SetVerticalThumbPosition (int viewStart)=0
 
virtual void SetVerticalScrollbar (int position, int thumbSize, int range, int pageSize, bool refresh)=0
 
virtual void ShowVerticalScrollbar (bool shown)=0
 
virtual void SetToDefaultSize ()=0
 

Detailed Description

A callback facade hiding GUI toolkit details.

Definition at line 22 of file Viewport.h.

Constructor & Destructor Documentation

◆ ~ViewportCallbacks()

ViewportCallbacks::~ViewportCallbacks ( )
virtualdefault

Member Function Documentation

◆ GetHorizontalRange()

virtual int ViewportCallbacks::GetHorizontalRange ( ) const
pure virtual

◆ GetHorizontalThumbPosition()

virtual int ViewportCallbacks::GetHorizontalThumbPosition ( ) const
pure virtual

◆ GetHorizontalThumbSize()

virtual int ViewportCallbacks::GetHorizontalThumbSize ( ) const
pure virtual

◆ GetTotalHeight()

virtual int ViewportCallbacks::GetTotalHeight ( const TrackList trackList)
pure virtual

◆ GetTrackHeight()

virtual int ViewportCallbacks::GetTrackHeight ( const Track track)
pure virtual

◆ GetVerticalRange()

virtual int ViewportCallbacks::GetVerticalRange ( ) const
pure virtual

◆ GetVerticalThumbPosition()

virtual int ViewportCallbacks::GetVerticalThumbPosition ( ) const
pure virtual

◆ GetVerticalThumbSize()

virtual int ViewportCallbacks::GetVerticalThumbSize ( ) const
pure virtual

◆ IsTrackMinimized()

virtual bool ViewportCallbacks::IsTrackMinimized ( const Track track)
pure virtual

◆ MinimumTrackHeight()

virtual unsigned ViewportCallbacks::MinimumTrackHeight ( )
pure virtual

◆ SetChannelHeights()

virtual void ViewportCallbacks::SetChannelHeights ( Track track,
unsigned  height 
)
pure virtual

◆ SetHorizontalScrollbar()

virtual void ViewportCallbacks::SetHorizontalScrollbar ( int  position,
int  thumbSize,
int  range,
int  pageSize,
bool  refresh 
)
pure virtual

◆ SetHorizontalThumbPosition()

virtual void ViewportCallbacks::SetHorizontalThumbPosition ( int  viewStart)
pure virtual

◆ SetMinimized()

virtual void ViewportCallbacks::SetMinimized ( Track track,
bool  minimized 
)
pure virtual

◆ SetToDefaultSize()

virtual void ViewportCallbacks::SetToDefaultSize ( )
pure virtual

◆ SetVerticalScrollbar()

virtual void ViewportCallbacks::SetVerticalScrollbar ( int  position,
int  thumbSize,
int  range,
int  pageSize,
bool  refresh 
)
pure virtual

◆ SetVerticalThumbPosition()

virtual void ViewportCallbacks::SetVerticalThumbPosition ( int  viewStart)
pure virtual

◆ ShowHorizontalScrollbar()

virtual void ViewportCallbacks::ShowHorizontalScrollbar ( bool  shown)
pure virtual

◆ ShowVerticalScrollbar()

virtual void ViewportCallbacks::ShowVerticalScrollbar ( bool  shown)
pure virtual

◆ ViewportSize()

virtual std::pair< int, int > ViewportCallbacks::ViewportSize ( ) const
pure virtual

Width and height in pixels of proper viewport area (excluding scrollbars)

Implemented in anonymous_namespace{ProjectWindow.cpp}::Adapter.


The documentation for this class was generated from the following files: