Audacity 3.2.0
Classes | Macros | Functions | Variables
ASlider.cpp File Reference
#include "ASlider.h"
#include <math.h>
#include <wx/setup.h>
#include <wx/defs.h>
#include <wx/dcbuffer.h>
#include <wx/frame.h>
#include <wx/graphics.h>
#include <wx/panel.h>
#include <wx/tooltip.h>
#include <wx/debug.h>
#include <wx/textctrl.h>
#include <wx/valtext.h>
#include <wx/statline.h>
#include <wx/settings.h>
#include <wx/popupwin.h>
#include <wx/window.h>
#include "AColor.h"
#include "ImageManipulation.h"
#include "Project.h"
#include "ProjectStatus.h"
#include "../ProjectWindowBase.h"
#include "ShuttleGui.h"
#include "Theme.h"
#include "valnum.h"
#include "AllThemeResources.h"
Include dependency graph for ASlider.cpp:

Go to the source code of this file.

Classes

class  TipWindow
 A wxPopupWindow used to give the numerical value of an LWSlider or ASlider. More...
 

Macros

#define OPTIONAL_SLIDER_TICKS
 

Functions

 END_EVENT_TABLE ()
 

Variables

const int sliderFontSize = 10
 
static const wxPoint2DDouble outer []
 
static const wxPoint2DDouble enabledLeftBegin []
 
static const wxPoint2DDouble enabledLeftEnd []
 
static const wxPoint2DDouble enabledRightBegin []
 
static const wxPoint2DDouble enabledRightEnd []
 
static const wxPoint2DDouble disabledStripesBegin []
 
static const wxPoint2DDouble disabledStripesEnd []
 
static const wxPoint2DDouble disabledRightBegin []
 
static const wxPoint2DDouble disabledRightEnd []
 

Macro Definition Documentation

◆ OPTIONAL_SLIDER_TICKS

#define OPTIONAL_SLIDER_TICKS

Definition at line 140 of file ASlider.cpp.

Function Documentation

◆ END_EVENT_TABLE()

END_EVENT_TABLE ( )

Variable Documentation

◆ disabledRightBegin

const wxPoint2DDouble disabledRightBegin[]
static
Initial value:
=
{
wxPoint2DDouble( 9, 2 ),
wxPoint2DDouble( 9, 8 ),
}

Definition at line 462 of file ASlider.cpp.

◆ disabledRightEnd

const wxPoint2DDouble disabledRightEnd[]
static
Initial value:
=
{
wxPoint2DDouble( 9, 8 ),
wxPoint2DDouble( 6, 11 ),
}

Definition at line 467 of file ASlider.cpp.

◆ disabledStripesBegin

const wxPoint2DDouble disabledStripesBegin[]
static
Initial value:
=
{
wxPoint2DDouble( 3, 2 ),
wxPoint2DDouble( 5, 2 ),
wxPoint2DDouble( 7, 2 ),
wxPoint2DDouble( 2, 3 ),
wxPoint2DDouble( 2, 5 ),
wxPoint2DDouble( 2, 7 ),
}

Definition at line 442 of file ASlider.cpp.

◆ disabledStripesEnd

const wxPoint2DDouble disabledStripesEnd[]
static
Initial value:
=
{
wxPoint2DDouble( 8, 7 ),
wxPoint2DDouble( 8, 5 ),
wxPoint2DDouble( 8, 3 ),
wxPoint2DDouble( 7, 8 ),
wxPoint2DDouble( 6, 9 ),
wxPoint2DDouble( 5, 10 ),
}

Definition at line 451 of file ASlider.cpp.

◆ enabledLeftBegin

const wxPoint2DDouble enabledLeftBegin[]
static
Initial value:
=
{
wxPoint2DDouble( 2, 1 ),
wxPoint2DDouble( 1, 2 ),
wxPoint2DDouble( 1, 8 ),
wxPoint2DDouble( 4, 4 ),
wxPoint2DDouble( 4, 7 )
}

Definition at line 408 of file ASlider.cpp.

◆ enabledLeftEnd

const wxPoint2DDouble enabledLeftEnd[]
static
Initial value:
=
{
wxPoint2DDouble( 8, 1 ),
wxPoint2DDouble( 1, 8 ),
wxPoint2DDouble( 5, 12 ),
wxPoint2DDouble( 6, 4 ),
wxPoint2DDouble( 6, 7 )
}

Definition at line 416 of file ASlider.cpp.

◆ enabledRightBegin

const wxPoint2DDouble enabledRightBegin[]
static
Initial value:
=
{
wxPoint2DDouble( 9, 2 ),
wxPoint2DDouble( 9, 8 ),
wxPoint2DDouble( 4, 5 ),
wxPoint2DDouble( 4, 8 ),
}

Definition at line 426 of file ASlider.cpp.

◆ enabledRightEnd

const wxPoint2DDouble enabledRightEnd[]
static
Initial value:
=
{
wxPoint2DDouble( 9, 8 ),
wxPoint2DDouble( 6, 11 ),
wxPoint2DDouble( 6, 5 ),
wxPoint2DDouble( 6, 8 )
}

Definition at line 433 of file ASlider.cpp.

◆ outer

const wxPoint2DDouble outer[]
static
Initial value:
=
{
wxPoint2DDouble( 2, 0 ),
wxPoint2DDouble( 8, 0 ),
wxPoint2DDouble( 10, 2 ),
wxPoint2DDouble( 10, 8 ),
wxPoint2DDouble( 5, 13 ),
wxPoint2DDouble( 0, 8 ),
wxPoint2DDouble( 0, 2 ),
wxPoint2DDouble( 2, 0 )
}

Definition at line 395 of file ASlider.cpp.

Referenced by GetWaveYPos(), and TimeToolBar::SetResizingLimits().

◆ sliderFontSize

const int sliderFontSize = 10

Definition at line 135 of file ASlider.cpp.

Referenced by TipWindow::TipWindow().