~ubuntu-branches/ubuntu/gutsy/tk8.4/gutsy-updates

« back to all changes in this revision

Viewing changes to macosx/tkMacOSXDefault.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Waters
  • Date: 2005-09-06 14:35:13 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050906143513-7ns3rwufmpiq871b
Tags: 8.4.11-1
* New upstream release.
* Needed to fix mechanism for picking up SONAME.  Now uses special
  macro, TK_SHLIB_LD_EXTRAS, and only for Linux, Hurd and DebianBSD.
* Fixed some possible-bashisms in preinst.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 * See the file "license.terms" for information on usage and redistribution
12
12
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13
13
 *
14
 
 * RCS: @(#) $Id: tkMacOSXDefault.h,v 1.2.2.1 2004/07/25 02:29:24 wolfsuit Exp $
 
14
 * RCS: @(#) $Id: tkMacOSXDefault.h,v 1.2.2.3 2005/06/23 20:15:22 das Exp $
15
15
 */
16
16
 
17
17
#ifndef _TKMACDEFAULT
137
137
/*
138
138
 * Defaults for entries:
139
139
 */
 
140
 
 
141
/* 
 
142
 * I test the following three values in TkpDrawEntryBorderAndFocus
 
143
 * to determine whether to use the native entry widget.  So if 
 
144
 * you change the defaults to be different from these, then you
 
145
 * won't get the native widget by default.
 
146
 */
 
147
 
 
148
#define MAC_OSX_FOCUS_WIDTH 3
 
149
#define MAC_OSX_ENTRY_BORDER 2
 
150
#define MAC_OSX_ENTRY_RELEIF TK_RELIEF_SUNKEN
140
151
 
141
152
#define DEF_ENTRY_BG_COLOR              NORMAL_BG
142
153
#define DEF_ENTRY_BG_MONO               WHITE
143
 
/* #define DEF_ENTRY_BORDER_WIDTH               "2" */
144
 
#define DEF_ENTRY_BORDER_WIDTH          "1"
 
154
#define DEF_ENTRY_BORDER_WIDTH          "2"
145
155
#define DEF_ENTRY_CURSOR                "xterm"
146
156
#define DEF_ENTRY_DISABLED_BG_COLOR     NORMAL_BG
147
157
#define DEF_ENTRY_DISABLED_BG_MONO      WHITE
152
162
#define DEF_ENTRY_HIGHLIGHT_BG          NORMAL_BG
153
163
#define DEF_ENTRY_HIGHLIGHT             BLACK
154
164
/* #define DEF_ENTRY_HIGHLIGHT_WIDTH    "3" */
155
 
#define DEF_ENTRY_HIGHLIGHT_WIDTH       "0"
 
165
#define DEF_ENTRY_HIGHLIGHT_WIDTH       "3"
156
166
#define DEF_ENTRY_INSERT_BG             BLACK
157
167
#define DEF_ENTRY_INSERT_BD_COLOR       "0"
158
168
#define DEF_ENTRY_INSERT_BD_MONO        "0"
163
173
#define DEF_ENTRY_JUSTIFY               "left"
164
174
#define DEF_ENTRY_READONLY_BG_COLOR     NORMAL_BG
165
175
#define DEF_ENTRY_READONLY_BG_MONO      WHITE
166
 
/* #define DEF_ENTRY_RELIEF             "sunken" */
167
 
#define DEF_ENTRY_RELIEF                "solid"
 
176
#define DEF_ENTRY_RELIEF                "sunken"
 
177
/* #define DEF_ENTRY_RELIEF             "solid" */
168
178
#define DEF_ENTRY_SCROLL_COMMAND        ""
169
179
#define DEF_ENTRY_SELECT_COLOR          SELECT_BG
170
180
#define DEF_ENTRY_SELECT_MONO           BLACK