Unnamed Fossil Project

Check-in [957f748936]
Login

Check-in [957f748936]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update comments.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 957f7489365603b2300eec0b2b7687705e967a56d11424e3fa07c592c21b6bae
User & Date: jenglish 2004-09-04 15:54:16.000
Context
2004-09-06
10:21
* generic/clamTheme.c: Added workarounds for the off-by-one bug in Tk's implementation of XDrawLine. This only affects the clam theme. Win32 clam now matches X11 clam look. This hack can be disabled by #defining WIN32_XDRAWLINE_HACK 0. check-in: 5fb5f0679b user: patthoyts tags: master, trunk
2004-09-04
15:54
Update comments. check-in: 957f748936 user: jenglish tags: master, trunk
15:49
Automatically select the appropriate platform-specific theme (xpnative, winnative, aqua, or alt) so application code doesn't need to worry about this anymore. check-in: b33807e9cf user: jenglish tags: master, trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to ChangeLog.
1
2
3
4
5



6
7
8
9
10
11
12
2004-09-03  Joe English  <jenglish@users.sourceforge.net>
	* library/tile.tcl: Automatically select the appropriate 
	platform-specific theme (xpnative, winnative, aqua, or alt)
	so application code doesn't need to worry about this anymore.
	* demos/demo.tcl: Initialize V(THEME) to current theme.




2004-09-02  Jeff Hobbs  <jeffh@ActiveState.com>

	* library/fonts.tcl: simplify font creation code, remove bold
	weighting for x11 font default.

2004-09-02  Joe English  <jenglish@users.sourceforge.net>





>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2004-09-03  Joe English  <jenglish@users.sourceforge.net>
	* library/tile.tcl: Automatically select the appropriate 
	platform-specific theme (xpnative, winnative, aqua, or alt)
	so application code doesn't need to worry about this anymore.
	* demos/demo.tcl: Initialize V(THEME) to current theme.

2004-09-03  Joe English  <jenglish@users.sourceforge.net>
	* library/fonts.tcl: update comments.

2004-09-02  Jeff Hobbs  <jeffh@ActiveState.com>

	* library/fonts.tcl: simplify font creation code, remove bold
	weighting for x11 font default.

2004-09-02  Joe English  <jenglish@users.sourceforge.net>
Changes to library/fonts.tcl.
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
#
# $Id: fonts.tcl,v 1.2 2004/06/15 23:29:38 jenglish Exp $
#
# Tile package: Font specifications.
#
# This file, [source]d from tile.tcl when the package is loaded,
# sets up TkDefaultFont and TkTextFont based on the current platform.
# (TkTextFont, used for entry widgets, is normally the same as
# TkDefaultFont, except on X11 (unless Xft enabled, when it is the same))
#
# This is a temporary solution until TIP #145 is implemented.
#
# Individual themes should be able to modify fonts when the theme
# is activated (@@@ haven't worked out the details yet...)
#
# Symbolic fonts listed in TIP #145:
#
# TkDefaultFont	-- the default for all GUI items not otherwise specified.
# TkFixedFont	-- standard fixed width font
# TkMenuFont	-- used for menu items
# TkCaptionFont	-- used for window and dialog caption bars
# TkSmallCaptionFont used for captions on contained windows or tool dialogs.
# TkIconFont	-- font in use for icon captions
# TkTooltipFont	-- font to use for tooltip windows
#
# 
#
# +++ Platform notes:
#
# Windows:
#	The default system font changed from "MS Sans Serif" to "Tahoma"
# 	in Windows XP/Windows 2000.

|





<
<



<
<
<









<







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
#
# $Id: fonts.tcl,v 1.3 2004/09/03 04:39:35 hobbs Exp $
#
# Tile package: Font specifications.
#
# This file, [source]d from tile.tcl when the package is loaded,
# sets up TkDefaultFont and TkTextFont based on the current platform.


#
# This is a temporary solution until TIP #145 is implemented.
#



# Symbolic fonts listed in TIP #145:
#
# TkDefaultFont	-- the default for all GUI items not otherwise specified.
# TkFixedFont	-- standard fixed width font
# TkMenuFont	-- used for menu items
# TkCaptionFont	-- used for window and dialog caption bars
# TkSmallCaptionFont used for captions on contained windows or tool dialogs.
# TkIconFont	-- font in use for icon captions
# TkTooltipFont	-- font to use for tooltip windows

# 
#
# +++ Platform notes:
#
# Windows:
#	The default system font changed from "MS Sans Serif" to "Tahoma"
# 	in Windows XP/Windows 2000.
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Mac classic:
#	Don't know, can't find *anything* on the Web about Mac pre-OSX.
#	Might have used Geneva.  Doesn't matter, this platform
#	isn't supported anymore anyway.
#
# X11:
#	Need a way to tell if Xft is enabled or not.
#	(@@@ For now, assume patch #971980 applied)
#
#	"Classic" look used Helvetica bold; current trend is
#	to use regular weight.  Sticking with bold for now,
#	(this will be changed when "classic" vs "revitalized" defaults 
#	get sorted out.)
#
#	Font size specified in pixels on X11, not points.
#	This is Theoretically Wrong, but in practice works better; using
#	points leads to huge inconsistencies across different servers.
#

namespace eval tile {







|

|
|
|
|







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Mac classic:
#	Don't know, can't find *anything* on the Web about Mac pre-OSX.
#	Might have used Geneva.  Doesn't matter, this platform
#	isn't supported anymore anyway.
#
# X11:
#	Need a way to tell if Xft is enabled or not.
#	For now, assume patch #971980 applied.
#
#	"Classic" look used Helvetica bold for everything except
#	for entry widgets, which use Helvetica medium.
#	Most other toolkits use medium weight for all UI elements,
#	which is what we do now.
#
#	Font size specified in pixels on X11, not points.
#	This is Theoretically Wrong, but in practice works better; using
#	points leads to huge inconsistencies across different servers.
#

namespace eval tile {