Lomse library. API documentation  0.30.0
TempoLine Class Reference

#include <lomse_tempo_line.h>

Inheritance diagram for TempoLine:
VisualEffect

Detailed Description

TempoLine is a playback visual tracking effect to display a vertical line at the location of the beat being played back.

Public Member Functions

Color get_color () const
 
void set_color (Color color)
 
LUnits get_width () const
 
void set_width (LUnits width)
 

Member Function Documentation

◆ get_color()

Color TempoLine::get_color ( ) const
inline

Return the current color for the line.

◆ get_width()

LUnits TempoLine::get_width ( ) const
inline

Returns the current width (in logical units) of the line.

◆ set_color()

void TempoLine::set_color ( Color  color)
inline

Set the color to use for drawing the line. If the line width is large, use a transparent color so that the line does not totally hide the notes/rests.

Parameters
colorNew color to use.

◆ set_width()

void TempoLine::set_width ( LUnits  width)
inline

Set the width to use for drawing the line.

Parameters
widthNew line width, in logical units.