Audacity 3.2.0
|
#include <CustomUpdaterPosition.h>
Public Member Functions | |
CustomUpdaterPosition ()=default | |
~CustomUpdaterPosition () override | |
Public Member Functions inherited from CustomUpdater | |
~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 |
Static Public Member Functions | |
static const CustomUpdaterPosition & | Instance () |
Protected Member Functions | |
bool | TickCustom (wxDC &dc, int labelIdx, wxFont font, TickOutputs outputs, const RulerStruct &context) const override |
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 |
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) |
Protected Attributes inherited from CustomUpdater | |
RulerUpdater::Labels | mMajorLabels |
RulerUpdater::Labels | mMinorLabels |
RulerUpdater::Labels | mMinorMinorLabels |
Definition at line 17 of file CustomUpdaterPosition.h.
|
default |
|
overridedefault |
|
static |
Definition at line 15 of file CustomUpdaterPosition.cpp.
|
overrideprotectedvirtual |
Implements CustomUpdater.
Definition at line 21 of file CustomUpdaterPosition.cpp.
References RulerUpdater::TickOutputs::bits, RulerUpdater::TickOutputs::box, RulerUpdater::TickOutputs::labels, RulerStruct::Fonts::lead, RulerUpdater::MakeTick(), RulerStruct::mFlip, RulerStruct::mLeft, RulerStruct::mOrientation, RulerStruct::mpFonts, RulerStruct::mTop, RulerStruct::mUnits, RulerUpdater::Label::pos, RulerUpdater::Label::text, RulerUpdater::Label::units, and RulerUpdater::Label::value.