File: tixDef.h

package info (click to toggle)
tix 8.4.3-10
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 9,080 kB
  • ctags: 7,129
  • sloc: ansic: 28,082; tcl: 22,774; python: 7,577; makefile: 331; cs: 253; sh: 210; perl: 128
file content (69 lines) | stat: -rw-r--r-- 1,759 bytes parent folder | download | duplicates (6)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
 * tixDef.h --
 *
 *	This file defines the defaults for all options for all of
 *	the Tix widgets.
 *
 * Copyright (c) 1993-1999 Ioi Kim Lam.
 * Copyright (c) 2000      Tix Project Group.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * $Id: tixDef.h,v 1.6 2004/03/28 02:44:56 hobbs Exp $
 */

#ifndef TIX_DEFAULT
#define TIX_DEFAULT

/*
 * The definitions below provide symbolic names for the default colors.
 * NORMAL_BG -		Normal background color.
 * ACTIVE_BG -		Background color when widget is active.
 * SELECT_BG -		Background color for selected text.
 * TROUGH -		Background color for troughs in scales and scrollbars.
 * INDICATOR -		Color for indicator when button is selected.
 * DISABLED -		Foreground color when widget is disabled.
 */

#define BLACK		"Black"
#define WHITE		"White"

#if defined(__WIN32__) || defined(_WIN32)

/*
 * Defaults from Tk
 */

#define CTL_FONT	"{MS Sans Serif} 8"
#define NORMAL_BG	"SystemButtonFace"
#define NORMAL_FG	"SystemButtonText"
#define ACTIVE_BG	NORMAL_BG
#define TEXT_FG		"SystemWindowText"
#define SELECT_BG	"SystemHighlight"
#define SELECT_FG	"SystemHighlightText"
#define TROUGH		"SystemScrollbar"
#define INDICATOR	"SystemWindow"
#define DISABLED	"SystemDisabledText"
#define MENU_BG		"SystemMenu"
#define MENU_FG		"SystemMenuText"
#define HIGHLIGHT	"SystemWindowFrame"

#   include <tixWinDefault.h>
#else
#   if defined(MAC_TCL)
#	include <tixMacDefault.h>
#   else

#define NORMAL_BG	"#d9d9d9"
#define ACTIVE_BG	"#ececec"
#define SELECT_BG	"#c3c3c3"
#define TROUGH		"#c3c3c3"
#define INDICATOR	"#b03060"
#define DISABLED	"#a3a3a3"

#	include <tixUnixDefault.h>
#   endif
#endif

#endif /* TIX_DEFAULT */