mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
(cherry picked from audacity commit 45a90e38a3dd5f799244057b3c512943dca8e3e8) Signed-off-by: akleja <storspov@gmail.com>
28 lines
767 B
C
28 lines
767 B
C
/*!********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
TrackPanelConstants.h
|
|
|
|
Paul Licameli split from ViewInfo.h
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_TRACK_PANEL_CONSTANTS__
|
|
#define __AUDACITY_TRACK_PANEL_CONSTANTS__
|
|
|
|
#include "ZoomInfo.h"
|
|
|
|
// See big pictorial comment in TrackPanel.cpp for explanation of these numbers
|
|
//! constants related to y coordinates in the track panel
|
|
enum : int {
|
|
kAffordancesAreaHeight = 18,
|
|
kTopInset = 4,
|
|
kTopMargin = kTopInset + kBorderThickness,
|
|
kBottomMargin = kShadowThickness + kBorderThickness,
|
|
kTrackSeparatorThickness = kBottomMargin + kTopMargin,
|
|
kChannelSeparatorThickness = 1,
|
|
};
|
|
|
|
#endif
|