Audacity 3.2.0
|
#include "CommonTrackInfo.h"
#include <wx/dc.h>
#include "AColor.h"
#include "AllThemeResources.h"
#include "SyncLock.h"
#include "Theme.h"
#include "Track.h"
#include "TrackControls.h"
#include "TrackPanelDrawingContext.h"
#include "UIHandle.h"
#include "ViewInfo.h"
#include "tracks/ui/ChannelView.h"
Go to the source code of this file.
Namespaces | |
namespace | CommonTrackInfo |
Functions for drawing the track control panel, which is shown to the side of a track It has the menus, pan and gain controls displayed in it. So "Info" is somewhat a misnomer. Should possibly be "TrackControls". | |
namespace | anonymous_namespace{CommonTrackInfo.cpp} |
Macros | |
#define | RANGE(array) std::begin(array), std::end(array) |
Typedefs | |
using | TCPLine = TrackInfo::TCPLine |
using | TCPLines = TrackInfo::TCPLines |
Functions | |
static const TCPLines & | commonTrackTCPLines () |
int | anonymous_namespace{CommonTrackInfo.cpp}::totalTCPLines (const TCPLines &lines, bool omitLastExtra) |
std::pair< int, int > | anonymous_namespace{CommonTrackInfo.cpp}::CalcBottomItemY (const TCPLines &lines, unsigned iItem, int height) |
Variables | |
const TrackInfo::TCPLine | anonymous_namespace{CommonTrackInfo.cpp}::defaultCommonTrackTCPBottomLines [] |
TCPLines | anonymous_namespace{CommonTrackInfo.cpp}::commonTrackTCPBottomLines { RANGE(defaultCommonTrackTCPBottomLines) } |
#define RANGE | ( | array | ) | std::begin(array), std::end(array) |
Definition at line 41 of file CommonTrackInfo.cpp.
using TCPLine = TrackInfo::TCPLine |
Definition at line 42 of file CommonTrackInfo.cpp.
using TCPLines = TrackInfo::TCPLines |
Definition at line 43 of file CommonTrackInfo.cpp.
|
static |
Definition at line 45 of file CommonTrackInfo.cpp.
References CommonTrackInfo::CloseTitleDrawFunction(), TrackInfo::TCPLine::kItemBarButtons, and kTrackInfoBtnSize.
Referenced by CommonTrackInfo::GetCloseBoxRect(), CommonTrackInfo::GetTitleBarRect(), CommonTrackInfo::MinimumTrackHeight(), and CommonTrackInfo::StaticTCPLines().