Ardour  9.0-pre0-1320-gf48fe3f740
ViewBackground Class Referenceabstract

#include <view_background.h>

Inheritance diagram for ViewBackground:
[legend]

Public Member Functions

 ViewBackground ()
 
virtual ~ViewBackground ()
 
virtual int height () const =0
 
virtual int width () const =0
 
virtual int contents_height () const =0
 
virtual int y_position () const
 

Protected Member Functions

virtual void update_contents_height ()
 
virtual void color_handler ()
 
virtual void parameter_changed (std::string const &)
 

Detailed Description

A class that provides limited context for a View

Definition at line 37 of file view_background.h.

Constructor & Destructor Documentation

◆ ViewBackground()

ViewBackground::ViewBackground ( )

◆ ~ViewBackground()

virtual ViewBackground::~ViewBackground ( )
virtual

Member Function Documentation

◆ color_handler()

virtual void ViewBackground::color_handler ( )
inlineprotectedvirtual

◆ contents_height()

virtual int ViewBackground::contents_height ( ) const
pure virtual

◆ height()

virtual int ViewBackground::height ( ) const
pure virtual

Implemented in StreamView, and PianorollMidiBackground.

◆ parameter_changed()

virtual void ViewBackground::parameter_changed ( std::string const &  )
inlineprotectedvirtual

Reimplemented in StreamView, MidiViewBackground, and MidiStreamView.

Definition at line 53 of file view_background.h.

◆ update_contents_height()

virtual void ViewBackground::update_contents_height ( )
inlineprotectedvirtual

Reimplemented in StreamView, MidiViewBackground, and MidiStreamView.

Definition at line 51 of file view_background.h.

◆ width()

virtual int ViewBackground::width ( ) const
pure virtual

Implemented in StreamView, and PianorollMidiBackground.

◆ y_position()

virtual int ViewBackground::y_position ( ) const
inlinevirtual
Returns
y position, or -1 if hidden

Reimplemented in StreamView, MidiViewBackground, and MidiStreamView.

Definition at line 48 of file view_background.h.


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