summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/muse/gui.h
blob: 784e58e2fab633c7b66af27a1376732464c615b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//=============================================================================
//  MusE
//  Linux Music Editor
//  $Id:$
//
//  Copyright (C) 2002-2006 by Werner Schweer and others
//
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License version 2.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//=============================================================================

#ifndef __GUI_H__
#define __GUI_H__

//
// GUI constants
//	central point of tweaking the gui
//

// size of horizontal and vertical splitter
//
static const int splitWidth = 6;

// arranger:
static const int trackRowHeight = 24;
static const int minTrackHeight = trackRowHeight + splitWidth + 1;
static const int defaultTrackHeight = minTrackHeight;
static const int infoHeight     = 20;
static const int infoWidth      = 140;
static const int trackSeparator = 1;
static const int yTrackOffset   = -2; // -4;

//  mixer:
static const int STRIP_WIDTH  = 60;
static const int LABEL_HEIGHT = 20;
static const int BUTTON_HEIGHT = STRIP_WIDTH / 3;
static const int ENTRY_HEIGHT = 17;

static const int ICON_WIDTH = 18;
static const QSize ICON_SIZE(ICON_WIDTH, ICON_WIDTH);

#endif