Audacity 3.2.0
|
#include <CustomUpdater.h>
Public Member Functions | |
~CustomUpdater () override | |
void | Update (wxDC &dc, const Envelope *envelope, UpdateOutputs &allOutputs, const RulerStruct &context) const final |
void | SetData (RulerUpdater::Labels majorLabels, RulerUpdater::Labels minorLabels, RulerUpdater::Labels minorMinorLabels) |
RulerUpdater () | |
Public Member Functions inherited from RulerUpdater | |
RulerUpdater () | |
virtual | ~RulerUpdater ()=0 |
virtual void | Update (wxDC &dc, const Envelope *envelope, UpdateOutputs &allOutputs, const RulerStruct &context) const =0 |
Protected Member Functions | |
virtual bool | TickCustom (wxDC &dc, int labelIdx, wxFont font, TickOutputs outputs, const RulerStruct &context) const =0 |
Protected Member Functions inherited from RulerUpdater | |
void | BoxAdjust (UpdateOutputs &allOutputs, const RulerStruct &context) const |
Protected Attributes | |
RulerUpdater::Labels | mMajorLabels |
RulerUpdater::Labels | mMinorLabels |
RulerUpdater::Labels | mMinorMinorLabels |
Additional Inherited Members | |
Public Types inherited from RulerUpdater | |
using | Labels = std::vector< Label > |
using | Bits = std::vector< bool > |
Static Protected Member Functions inherited from RulerUpdater | |
static std::pair< wxRect, Label > | MakeTick (RulerUpdater::Label lab, wxDC &dc, wxFont font, std::vector< bool > &bits, int left, int top, int spacing, int lead, bool flip, int orientation) |
Definition at line 17 of file CustomUpdater.h.
|
overridedefault |
|
inline |
Definition at line 84 of file RulerUpdater.h.
|
inline |
Definition at line 27 of file CustomUpdater.h.
References mMajorLabels, mMinorLabels, and mMinorMinorLabels.
Referenced by WaveformVRulerControls::DoUpdateVRuler(), and TimeTrackView::Draw().
|
protectedpure virtual |
Implemented in CustomUpdaterPosition, and CustomUpdaterValue.
Referenced by Update().
|
finalvirtual |
Implements RulerUpdater.
Definition at line 15 of file CustomUpdater.cpp.
References RulerUpdater::UpdateOutputs::bits, RulerUpdater::UpdateOutputs::box, RulerUpdater::BoxAdjust(), RulerStruct::Fonts::major, RulerUpdater::UpdateOutputs::majorLabels, RulerStruct::Fonts::minor, RulerUpdater::UpdateOutputs::minorLabels, RulerStruct::Fonts::minorMinor, RulerUpdater::UpdateOutputs::minorMinorLabels, RulerStruct::mLength, mMajorLabels, mMinorLabels, mMinorMinorLabels, RulerStruct::mpFonts, and TickCustom().
|
protected |
Definition at line 44 of file CustomUpdater.h.
|
protected |
Definition at line 44 of file CustomUpdater.h.
|
protected |
Definition at line 44 of file CustomUpdater.h.