1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
audacity/src/TrackPanelConstants.h
Vitaly Sverchinsky 2330c51ce5 Changing affordance area height to match the height of the button to the left
(cherry picked from audacity commit 45a90e38a3dd5f799244057b3c512943dca8e3e8)

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00

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