/*
(c) Copyright 1988-1994 Microsoft Corporation.

Microsoft Bars&Pipes Professional Source Code License

This License governs use of the accompanying Software.  
Microsoft hopes you find this Software useful.

You are licensed to do anything you want with the Software. 

In return, we simply require that you agree:

1.	Not to remove any copyright notices from the Software.

2.	That the Software comes "as is", with no warranties.  
	None whatsoever. This means no implied warranty of merchantability or 
	fitness for a particular purpose or any warranty of non-infringement.  
	Also, you must pass this disclaimer on whenever you distribute the Software.

3.	That we will not be liable for any of those types of damages known as indirect, 
	special, consequential, or incidental related to the Software or this License, 
	to the maximum extent the law permits. Also, you must pass this limitation of 
	liability on whenever you distribute the Software.

4.	That if you sue anyone over patents that you think may apply to the Software 
	for that person’s use of the Software, your license to the Software ends automatically.

5.	That the patent rights Microsoft is licensing only apply to the Software, 
	not to any derivatives you make.

6.	That your rights under the License end automatically if you breach this in any way.
*/
struct DisplayFlags {
    char solo;
    char track;
    char valves;
    char toolpad;
    short mbc[3];
    short hmsf[4];
    char stop;
    char change;
};

#define DISPLAYSTART 41
#define ARROWWIDTH 18
#define ARROWHEIGHT 10
#define DOUBLEWIDTH 24
#define MINWIDTH (ARROWWIDTH + ARROWWIDTH + DOUBLEWIDTH + 10)
#define BIGMINWIDTH (ARROWWIDTH + ARROWWIDTH + DOUBLEWIDTH + DOUBLEWIDTH + 14)
#define RIGHTMINWIDTH 152
#define LEFTMINWIDTH  103

#define TOOLCOMMAND_LEFT	1
#define TOOLCOMMAND_RIGHT	2
#define TOOLCOMMAND_EDIT	3
#define TOOLCOMMAND_DELETE	4
#define TOOLCOMMAND_SELECT	5
#define TOOLCOMMAND_CONNECT	6
#define TOOLCOMMAND_REPALL	7
#define TOOLCOMMAND_REPGROUP	8
#define TOOLCOMMAND_DELGROUP	9
#define TOOLCOMMAND_DELALL	10


#define DRAW_NAMES		1
#define DRAW_CHANNELSIN		2
#define DRAW_TOOLSIN		4
#define DRAW_RECORD		8
#define DRAW_SEQUENCE		0x10
#define DRAW_MUTE		0x20
#define DRAW_TOOLSOUT		0x40
#define DRAW_CHANNELSOUT	0x80
#define DRAW_SCROLLS		0xFF
#define DRAW_LINES		0x100
#define DRAW_COMPUTE		0x200
#define DRAW_MARKERS		0x400
#define DRAW_CTOOLS		0x800
#define DRAW_SNAMES		0x1000
#define DRAW_STOOLSIN		0x2000
#define DRAW_SSEQUENCE		0x4000
#define DRAW_STOOLSOUT		0x8000
#define DRAW_CONTROLS		0x10000
#define DRAW_MENUS		0x20000
#define DRAW_VSCROLL		0x40000
#define DRAW_ALL		0xFFFFF
#define DRAW_TOOLS		0x100000
#define DRAW_LEDS		0x200000
#define DRAW_SELECTION		0x400000
#define DRAW_STRINGS		0x800000
#define DRAW_ALLNEW		0x1000000

/* 	Variations for Macro Editing. */

#define DRAW_IMAGES	1
#define DRAW_PICTURE	2
#define DRAW_PIXEL	4
#define DRAW_COLOR	8

