Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TimelineView Class Referenceabstract

#include <TimelineView.h>

Inheritance diagram for TimelineView:
Inheritance graph
Collaboration diagram for TimelineView:
Collaboration graph

Public Member Functions

 TimelineView ()
 
void scrollFinished ()
 
virtual unsigned int getMaxZoom ()=0
 
virtual bool calculateZoomPinSquares (uint32_t oldScroll, uint32_t newScroll, uint32_t newZoom, uint32_t oldZoom)
 
virtual uint32_t getMaxLength ()=0
 
virtual bool setupScroll (uint32_t oldScroll)
 
virtual int getNavSysId ()
 
virtual void tellMatrixDriverWhichRowsContainSomethingZoomable ()
 
bool isTimelineView ()
 
int buttonAction (int x, int y, bool on, bool inCardRoutine)
 
void displayZoomLevel (bool justPopup=false)
 
int horizontalEncoderAction (int offset)
 
void displayScrollPos ()
 
void displayNumberOfBarsAndBeats (uint32_t number, uint32_t quantization, bool countFromOne, char const *tooLongText)
 
void initiateXScroll (uint32_t newXScroll, int numSquaresToScroll=displayWidth)
 
bool zoomToMax (bool inOnly=false)
 
void initiateXZoom (int zoomMagnitude, int32_t newScroll, uint32_t oldZoom)
 
void midiLearnFlash ()
 
bool scrollRightToEndOfLengthIfNecessary (int32_t maxLength)
 
bool scrollLeftIfTooFarRight (int32_t maxLength)
 
void tripletsButtonPressed ()
 
int32_t getPosFromSquare (int32_t square, int32_t localScroll=-1)
 
int32_t getPosFromSquare (int32_t square, int32_t xScroll, uint32_t xZoom)
 
int32_t getSquareFromPos (int32_t pos, bool *rightOnSquare=NULL, int32_t localScroll=-1)
 
int32_t getSquareFromPos (int32_t pos, bool *rightOnSquare, int32_t xScroll, uint32_t xZoom)
 
int32_t getSquareEndFromPos (int32_t pos, int32_t localScroll=-1)
 
bool isSquareDefined (int square, int32_t xScroll=-1)
 
bool isSquareDefined (int square, int32_t xScroll, uint32_t xZoom)
 
bool inTripletsView ()
 
- Public Member Functions inherited from RootUI
 RootUI ()
 
virtual bool getAffectEntire ()
 
bool canSeeViewUnderneath () final
 
virtual bool supportsTriplets ()
 
virtual void notifyPlaybackBegun ()
 
virtual uint32_t getGreyedOutRowsNotRepresentingOutput (Output *output)
 
virtual void noteRowChanged (InstrumentClip *clip, NoteRow *noteRow)
 
virtual void playbackEnded ()
 
virtual bool isTimelineView ()
 
virtual void clipNeedsReRendering (Clip *clip)
 
virtual void sampleNeedsReRendering (Sample *sample)
 
virtual void midiLearnFlash ()
 
- Public Member Functions inherited from UI
 UI ()
 
virtual int padAction (int x, int y, int velocity)
 
virtual int buttonAction (int x, int y, bool on, bool inCardRoutine)
 
virtual int horizontalEncoderAction (int offset)
 
virtual int verticalEncoderAction (int offset, bool inCardRoutine)
 
virtual void selectEncoderAction (int8_t offset)
 
virtual void modEncoderAction (int whichModEncoder, int offset)
 
virtual void modButtonAction (uint8_t whichButton, bool on)
 
virtual void modEncoderButtonAction (uint8_t whichModEncoder, bool on)
 
virtual void graphicsRoutine ()
 
virtual int timerCallback ()
 
virtual bool opened ()
 
virtual void focusRegained ()
 
virtual bool canSeeViewUnderneath ()
 
virtual ClipMindertoClipMinder ()
 
virtual void scrollFinished ()
 
virtual bool noteOnReceivedForMidiLearn (MIDIDevice *fromDevice, int channel, int note, int velocity)
 
virtual bool getGreyoutRowsAndCols (uint32_t *cols, uint32_t *rows)
 
virtual bool renderMainPads (uint32_t whichRows=0, uint8_t image[][displayWidth+sideBarWidth][3]=NULL, uint8_t occupancyMask[][displayWidth+sideBarWidth]=NULL, bool drawUndefinedArea=true)
 
virtual bool renderSidebar (uint32_t whichRows=0, uint8_t image[][displayWidth+sideBarWidth][3]=NULL, uint8_t occupancyMask[][displayWidth+sideBarWidth]=NULL)
 
void close ()
 

Constructor & Destructor Documentation

◆ TimelineView()

TimelineView::TimelineView ( )
inline

Member Function Documentation

◆ buttonAction()

int TimelineView::buttonAction ( int  x,
int  y,
bool  on,
bool  inCardRoutine 
)
virtual

Reimplemented from UI.

◆ calculateZoomPinSquares()

bool TimelineView::calculateZoomPinSquares ( uint32_t  oldScroll,
uint32_t  newScroll,
uint32_t  newZoom,
uint32_t  oldZoom 
)
virtual

Reimplemented in SessionView.

◆ displayNumberOfBarsAndBeats()

void TimelineView::displayNumberOfBarsAndBeats ( uint32_t  number,
uint32_t  quantization,
bool  countFromOne,
char const *  tooLongText 
)

◆ displayScrollPos()

void TimelineView::displayScrollPos ( )

◆ displayZoomLevel()

void TimelineView::displayZoomLevel ( bool  justPopup = false)

◆ getMaxLength()

virtual uint32_t TimelineView::getMaxLength ( )
pure virtual

◆ getMaxZoom()

virtual unsigned int TimelineView::getMaxZoom ( )
pure virtual

◆ getNavSysId()

virtual int TimelineView::getNavSysId ( )
inlinevirtual

Reimplemented in ArrangerView.

◆ getPosFromSquare() [1/2]

int32_t TimelineView::getPosFromSquare ( int32_t  square,
int32_t  localScroll = -1 
)

◆ getPosFromSquare() [2/2]

int32_t TimelineView::getPosFromSquare ( int32_t  square,
int32_t  xScroll,
uint32_t  xZoom 
)

◆ getSquareEndFromPos()

int32_t TimelineView::getSquareEndFromPos ( int32_t  pos,
int32_t  localScroll = -1 
)

◆ getSquareFromPos() [1/2]

int32_t TimelineView::getSquareFromPos ( int32_t  pos,
bool *  rightOnSquare,
int32_t  xScroll,
uint32_t  xZoom 
)

◆ getSquareFromPos() [2/2]

int32_t TimelineView::getSquareFromPos ( int32_t  pos,
bool *  rightOnSquare = NULL,
int32_t  localScroll = -1 
)

◆ horizontalEncoderAction()

int TimelineView::horizontalEncoderAction ( int  offset)
virtual

Reimplemented from UI.

◆ initiateXScroll()

void TimelineView::initiateXScroll ( uint32_t  newXScroll,
int  numSquaresToScroll = displayWidth 
)

◆ initiateXZoom()

void TimelineView::initiateXZoom ( int  zoomMagnitude,
int32_t  newScroll,
uint32_t  oldZoom 
)

◆ inTripletsView()

bool TimelineView::inTripletsView ( )

◆ isSquareDefined() [1/2]

bool TimelineView::isSquareDefined ( int  square,
int32_t  xScroll,
uint32_t  xZoom 
)

◆ isSquareDefined() [2/2]

bool TimelineView::isSquareDefined ( int  square,
int32_t  xScroll = -1 
)

◆ isTimelineView()

bool TimelineView::isTimelineView ( )
inlinevirtual

Reimplemented from RootUI.

◆ midiLearnFlash()

void TimelineView::midiLearnFlash ( )
virtual

Reimplemented from RootUI.

◆ scrollFinished()

void TimelineView::scrollFinished ( )
virtual

Reimplemented from UI.

◆ scrollLeftIfTooFarRight()

bool TimelineView::scrollLeftIfTooFarRight ( int32_t  maxLength)

◆ scrollRightToEndOfLengthIfNecessary()

bool TimelineView::scrollRightToEndOfLengthIfNecessary ( int32_t  maxLength)

◆ setupScroll()

bool TimelineView::setupScroll ( uint32_t  oldScroll)
virtual

Reimplemented in AudioClipView, and SessionView.

◆ tellMatrixDriverWhichRowsContainSomethingZoomable()

virtual void TimelineView::tellMatrixDriverWhichRowsContainSomethingZoomable ( )
inlinevirtual

◆ tripletsButtonPressed()

void TimelineView::tripletsButtonPressed ( )

◆ zoomToMax()

bool TimelineView::zoomToMax ( bool  inOnly = false)

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