Audacity 3.2.0
|
#include "AdornedRulerPanel.h"
#include <wx/app.h>
#include <wx/setup.h>
#include <wx/tooltip.h>
#include "AColor.h"
#include "AllThemeResources.h"
#include "AudioIO.h"
#include "widgets/BasicMenu.h"
#include "Beats.h"
#include "CellularPanel.h"
#include "../images/Cursors.h"
#include "HitTestResult.h"
#include "Prefs.h"
#include "Project.h"
#include "ProjectAudioIO.h"
#include "ProjectAudioManager.h"
#include "ProjectWindows.h"
#include "ProjectStatus.h"
#include "ProjectTimeRuler.h"
#include "ProjectTimeSignature.h"
#include "ProjectWindow.h"
#include "RefreshCode.h"
#include "SelectUtilities.h"
#include "Snap.h"
#include "Track.h"
#include "TrackPanelMouseEvent.h"
#include "UIHandle.h"
#include "ViewInfo.h"
#include "prefs/TracksPrefs.h"
#include "prefs/ThemePrefs.h"
#include "toolbars/ToolBar.h"
#include "toolbars/ToolManager.h"
#include "tracks/ui/Scrubbing.h"
#include "tracks/ui/ChannelView.h"
#include "widgets/AButton.h"
#include "AudacityMessageBox.h"
#include "widgets/Grabber.h"
#include "widgets/LinearUpdater.h"
#include "widgets/BeatsFormat.h"
#include "widgets/TimeFormat.h"
#include "wxWidgetsWindowPlacement.h"
#include <wx/dcclient.h>
#include <wx/menu.h>
#include "CommandContext.h"
#include "CommonCommandFlags.h"
Go to the source code of this file.
Namespaces | |
namespace | anonymous_namespace{AdornedRulerPanel.cpp} |
Macros | |
#define | SELECT_TOLERANCE_PIXEL 4 |
#define | PLAY_REGION_TRIANGLE_SIZE 7 |
#define | PLAY_REGION_RECT_WIDTH 1 |
#define | PLAY_REGION_RECT_HEIGHT 3 |
#define | PLAY_REGION_GLOBAL_OFFSET_Y 7 |
Typedefs | |
using | ColorId = decltype(clrTrackInfo) |
Enumerations | |
enum | : int { IndicatorSmallWidth = 9 , IndicatorMediumWidth = 13 , IndicatorOffset = 1 , TopMargin = 0 , BottomMargin = 1 , LeftMargin = 0 , RightMargin = 0 } |
enum | { ScrubHeight = 14 , ProperRulerHeight = 29 } |
enum | { OnMinutesAndSecondsID = 7000 , OnBeatsAndMeasuresID , OnSyncQuickPlaySelID , OnAutoScrollID , OnTogglePlayRegionID , OnClearPlayRegionID , OnSetPlayRegionToSelectionID , OnTogglePinnedStateID } |
Variables | |
wxEVT_COMMAND_BUTTON_CLICKED | |
static std::unique_ptr< wxCursor > | handOpenCursor = nullptr |
AttachedWindows::RegisteredFactory | anonymous_namespace{AdornedRulerPanel.cpp}::sKey |
constexpr double | SelectionOpacity = 0.4 |
AttachedItem | anonymous_namespace{AdornedRulerPanel.cpp}::sAttachment |
#define PLAY_REGION_GLOBAL_OFFSET_Y 7 |
Definition at line 79 of file AdornedRulerPanel.cpp.
#define PLAY_REGION_RECT_HEIGHT 3 |
Definition at line 78 of file AdornedRulerPanel.cpp.
#define PLAY_REGION_RECT_WIDTH 1 |
Definition at line 77 of file AdornedRulerPanel.cpp.
#define PLAY_REGION_TRIANGLE_SIZE 7 |
Definition at line 76 of file AdornedRulerPanel.cpp.
#define SELECT_TOLERANCE_PIXEL 4 |
Definition at line 74 of file AdornedRulerPanel.cpp.
using ColorId = decltype(clrTrackInfo) |
Definition at line 2391 of file AdornedRulerPanel.cpp.
anonymous enum : int |
Enumerator | |
---|---|
IndicatorSmallWidth | |
IndicatorMediumWidth | |
IndicatorOffset | |
TopMargin | |
BottomMargin | |
LeftMargin | |
RightMargin |
Definition at line 81 of file AdornedRulerPanel.cpp.
anonymous enum |
Enumerator | |
---|---|
ScrubHeight | |
ProperRulerHeight |
Definition at line 93 of file AdornedRulerPanel.cpp.
anonymous enum |
Enumerator | |
---|---|
OnMinutesAndSecondsID | |
OnBeatsAndMeasuresID | |
OnSyncQuickPlaySelID | |
OnAutoScrollID | |
OnTogglePlayRegionID | |
OnClearPlayRegionID | |
OnSetPlayRegionToSelectionID | |
OnTogglePinnedStateID |
Definition at line 694 of file AdornedRulerPanel.cpp.
Definition at line 2418 of file AdornedRulerPanel.cpp.
References AlphaBlend(), ThemeBase::Colour(), and theTheme.
Referenced by AlphaBlend(), AdornedRulerPanel::DoDrawOverlap(), and AdornedRulerPanel::DoDrawSelection().
|
inline |
Definition at line 111 of file AdornedRulerPanel.cpp.
References IndicatorMediumWidth, ScrubHeight, and TopMargin.
Referenced by IndicatorBigWidth().
|
inline |
Definition at line 117 of file AdornedRulerPanel.cpp.
References IndicatorBigHeight(), and IndicatorWidthForHeight().
Referenced by AdornedRulerPanel::ScrubbingRulerOverlay::DoGetRectangle(), and AdornedRulerPanel::ScrubbingRulerOverlay::Draw().
|
inline |
Definition at line 98 of file AdornedRulerPanel.cpp.
Referenced by AdornedRulerPanel::DoDrawScrubIndicator().
|
inline |
Definition at line 103 of file AdornedRulerPanel.cpp.
References IndicatorSmallWidth.
Referenced by IndicatorBigWidth().
|
inline |
Definition at line 2393 of file AdornedRulerPanel.cpp.
Referenced by AdornedRulerPanel::DoDrawBackground(), and AdornedRulerPanel::DoDrawSelection().
|
inline |
Definition at line 2403 of file AdornedRulerPanel.cpp.
References TimelineTextColor().
Referenced by AdornedRulerPanel::DoDrawPlayRegionLimits().
|
inline |
Definition at line 2413 of file AdornedRulerPanel.cpp.
Referenced by AdornedRulerPanel::DoDrawOverlap(), and AdornedRulerPanel::DoDrawPlayRegion().
|
inline |
Definition at line 2408 of file AdornedRulerPanel.cpp.
Referenced by AdornedRulerPanel::DoDrawOverlap(), and AdornedRulerPanel::DoDrawSelection().
|
inline |
Definition at line 2398 of file AdornedRulerPanel.cpp.
Referenced by AdornedRulerPanel::DoDrawBackground(), AdornedRulerPanel::DoDrawMarks(), and TimelineLimitsColor().
|
static |
Definition at line 798 of file AdornedRulerPanel.cpp.
Referenced by AffordanceHandle::HitPreview(), AdornedRulerPanel::MovePlayRegionHandle::MovePlayRegionHandle(), and LabelGlyphHandle::Preview().
|
constexpr |
Definition at line 2570 of file AdornedRulerPanel.cpp.
Referenced by AdornedRulerPanel::DoDrawOverlap(), and AdornedRulerPanel::DoDrawSelection().
wxEVT_COMMAND_BUTTON_CLICKED |
Definition at line 723 of file AdornedRulerPanel.cpp.
Referenced by AButton::Click(), gtk_filedialog_cancel_callback(), EffectUIHost::OnCharHook(), LWSlider::OnKeyDown(), Grid::OnKeyDown(), NumericTextCtrl::OnKeyDown(), and LogWindow::Show().