Unnamed Fossil Project

Timeline
Login

Timeline

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

101 check-ins using file library/button.tcl version 2220c16190

2004-03-19
03:46
Updated TODO. check-in: 35a3085387 user: jenglish tags: master, trunk
03:42
toolbutton.tcl, not toolbuttons.tcl check-in: 5159a02926 user: jenglish tags: master, trunk
00:46
Added Toolbutton style to built-in themes. Added demonstration of how to define custom styles. check-in: 1a9cc55729 user: jenglish tags: master, trunk
2004-03-18
23:02
Checkpoint ... check-in: 2fa51d35d1 user: jenglish tags: master, trunk
2004-03-17
03:16
Updated the VC project file. check-in: 6da1b478ca user: patthoyts tags: master, trunk
02:53
*Correct* workaround for geometry problems in the XP theme. Sigh. check-in: 599e6db0d7 user: jenglish tags: master, trunk
02:43
Call UpdateLayout() on the first ConfigureNotify event, to work around geometry problems in the XP theme and missing <<ThemeChanged>> events. check-in: 2bf6683222 user: jenglish tags: master, trunk
02:30
Added a demo target to VC makefile. check-in: cb0ac18d99 user: patthoyts tags: master, trunk
2004-03-15
22:38
BUGFIX: wasn't clearing active state. Reverse post direction if menu would extend off-screen. check-in: d64ea28291 user: jenglish tags: master, trunk
06:21
Ported menubutton implementation to Windows: Made bindings platform-specific to avoid [grab]-related lockups with native menus Added native-ish XP menubutton (sort of) check-in: 1b22cb6512 user: jenglish tags: master, trunk
2004-03-14
18:55
Added a menubutton widget. check-in: 43700cf604 user: jenglish tags: master, trunk
18:09
Make sure State array is properly initialized, in case we get an unexpected B1-Motion event (various conditions involving grabs can cause this). check-in: 2d5a50de1c user: jenglish tags: master, trunk
16:57
Made NullElement public. check-in: 756f35d241 user: jenglish tags: master, trunk
16:28
BUGFIX: Tk_GetImage() interp parameter must not be NULL, otherwise errors (e.g., missing image) cause a coredump. Use Tcl_BackgroundError() instead. check-in: 3623e9d048 user: jenglish tags: master, trunk
2004-03-13
21:28
(alt theme): Finally worked out all the off-by-one bugs in scrollbar arrows. I think. check-in: 43dc11fc19 user: jenglish tags: master, trunk
2004-03-12
16:11
Experiment: added Tk 8.4 compatibility resources to all widgets. check-in: f7de825bf5 user: jenglish tags: master, trunk
2004-03-11
22:31
Use "Pad" as -padding option class, for (forward-) compatibility. check-in: 86fdaa577f user: jenglish tags: master, trunk
22:27
Regenerated. check-in: ce6f99bcf0 user: jenglish tags: master, trunk
2004-03-09
19:54
Autocruft removal: moved contents of aclocal.m4 into configure.in. check-in: 601f4f995e user: jenglish tags: master, trunk
17:04
win/winTheme.c, win/xpTheme.c: Fixed. check-in: 9416faa5b3 user: jenglish tags: master, trunk
16:44
Changed ElementDrawProc() signature to take a TTK_Box instead of separate x,y,width,height parameters. Removed adjustAspect(), adjustPadding(); added TTK_AnchorBox. Various cleanup. check-in: 97dc916629 user: jenglish tags: master, trunk
2004-03-06
20:42
* doc/Geometry.3: added. * doc/man.macros: Imported from tcl/doc/man.macros r1.4 * generic/tkTheme.h: Renamed TTK_PlaceBox() to TTK_StickBox(); changed signature of TTK_RelievePadding(). check-in: 6f37e93c52 user: jenglish tags: master, trunk
2004-03-05
20:32
kroc theme: use a more conventional layout for check and radiobuttons; put the focus ring in the right place for pushbuttons; try to make the foreground match the background in all states; update the checkbutton and radiobutton indicator definitions to give feedback when pressed and released. check-in: 98bc031b90 user: jenglish tags: master, trunk
19:46
Imported "kroc" theme, contributed by David Zolli <kroc@kroc.tk> check-in: f48f3ce323 user: jenglish tags: master, trunk
2004-03-03
03:32
tcl.m4 r1.41 changed LIBS to PKG_LIBS; missed that earlier. check-in: 4bd828ff53 user: jenglish tags: master, trunk
2004-02-29
00:12
Error detection when changing -style option. (Theme changes with custom styles still not handled correctly). check-in: c7a0bcc47b user: jenglish tags: master, trunk
2004-02-28
23:54
Updated documentation slightly. check-in: 6957474ccd user: jenglish tags: master, trunk
23:41
Moved -relief option to Label widget. Label widget gets extra appearance-related resources since those tend to be customized by the application more. Removed -anchor, -font, and -padding notebook Tab options. check-in: 1f70b90e5c user: jenglish tags: master, trunk
23:10
Refactoring: Split Label widget up into Base part and Label part; other widgets inherit from Base instead of Label. check-in: 74e5d5eb84 user: jenglish tags: master, trunk
2004-02-23
01:33
*** empty log message *** check-in: 11d8dc6a21 user: jenglish tags: master, trunk
01:30
Added TTK_RegisterNamedColor(); initial support for named colors. Register Windows system colors as named colors whenever we receive a WM_SYSCOLORCHANGED message. check-in: 11fdab5403 user: jenglish tags: master, trunk
2004-02-22
22:34
Added TTK_UseTheme() Always (try to) set xpnative theme on WM_THEMECHANGED check-in: f92ef26c6a user: jenglish tags: master, trunk
2004-02-21
20:57
First cut at user-defined -style support Add a Tcl_Interp* parameter to TTK_CreateLayout(), place to leave error messages. getLayoutProc signature changed. Default getLayoutProc now uses -style option if set. Updated other widgets for API change. (NB: notebook, scale, and scrollbar don't support custom -styles yet). Added Toolbar.Button, Toolbar.Checkbutton custom styles to demo. Added native toolbar buttons on Windows XP. Minor layout tweaks to XP theme. check-in: 6bed7e3140 user: jenglish tags: master, trunk
19:11
XP Theme: hardcode element padding instead of using GetThemeMargins Added TTK_MakePadding utility check-in: 5e1031596a user: jenglish tags: master, trunk
18:05
Reorganized and simplified XP theme. More elements use GenericElementSpec now. Finally got GetThemeMargins to work (trick: use TMT_CONTENTMARGINS), except for the fact that GetThemeMargins just plain doesn't work. Use package name "tile::theme::xpnative" check-in: ba7755b575 user: jenglish tags: master, trunk
18:03
Reorganized and simplified. More elements use GenericElementSpec now. Finally got GetThemeMargins to work (trick: use TMT_CONTENTMARGINS), except for the fact that GetThemeMargins just plain doesn't work. Use package name "tile::theme::xpnative" check-in: da14fd085d user: jenglish tags: master, trunk
01:49
Bumped version number to 0.3 Regenerated configure scripts. check-in: 2175d06cab user: jenglish tags: master, trunk
01:43
Bumped version number to 0.3 check-in: 0a6cd7f54b user: jenglish tags: master, trunk
00:13
Minor tweaks to notebook appearance (alt theme) check-in: 5d85011f77 user: jenglish tags: master, trunk
2004-02-20
16:38
BUGFIX: defaultTheme->parentPtr was not initialized properly. TTK_BuildLayout: Tcl_Panic() if an element cannot be found. This is a temporary solution. Update Scale layouts. check-in: 1d5080a238 user: jenglish tags: master, trunk
2004-02-19
15:06
BUGFIX: TTK_StateTableLookup doesn't like NULL state tables. check-in: 6dc17eff81 user: jenglish tags: master, trunk
02:53
remove incorrect assignment gcvalues.line_style = JoinMiter check-in: 3c44bcc562 user: jenglish tags: master, trunk
02:42
Factored out TTK_StateTableLookup. check-in: 1ff4c69159 user: jenglish tags: master, trunk
02:25
Factored out TTK_RelievePadding check-in: b9a93ae26b user: jenglish tags: master, trunk
2004-02-18
23:16
Moved default -font specification from option database into themes. Widget's -font option is NULL by default. check-in: 100ce80e80 user: jenglish tags: master, trunk
22:16
(TTK_ClearCache) BUGFIX: NULLs may appear in cache. check-in: 992ca842cc user: jenglish tags: master, trunk
22:14
Always USE_CACHE. Removed now-dead code. check-in: 8aeee1d882 user: jenglish tags: master, trunk
2004-02-17
16:10
'eval [package unknown] ...' ([package unknown] is a command prefix) check-in: 57a09e9828 user: jenglish tags: master, trunk
06:54
Fix #898371 "problem displaying non-english characters" check-in: 8454b6f118 user: jenglish tags: master, trunk
2004-02-16
20:37
Regenerated configure scripts. check-in: 6cb68bbade user: jenglish tags: master, trunk
20:35
Bump version number to 0.2. check-in: 882d0f9c03 user: jenglish tags: master, trunk
20:31
Don't set TCL_PKGPATH (not used anywhere). check-in: a9a9603fae user: jenglish tags: master, trunk
20:15
tclpkg.conf removed; no longer needed. check-in: 73bb4cf31e user: jenglish tags: master, trunk
2004-02-15
22:37
alt theme, ReliefElement: Handle border widths other than 2. frame widget: Update geometry when -borderwidth changed. check-in: bb738ee2eb user: jenglish tags: master, trunk
21:54
Added note about needing access to internal routines. check-in: 837f730a22 user: jenglish tags: master, trunk
21:37
Updated README.txt check-in: 11a8b87f2e user: jenglish tags: master, trunk
20:57
Specify default -borderwidth 0 in the widget. check-in: 23f1059334 user: jenglish tags: master, trunk
20:53
Added as much documentation as I could stand to write ... check-in: 3c39a2174a user: jenglish tags: master, trunk
19:26
Add extra arrow to horizontal scrollbars. check-in: 3f15e94f1a user: jenglish tags: master, trunk
19:26
Added 'Widget State...' dialog, for tracking/changing widget states. check-in: a8ebef241f user: jenglish tags: master, trunk
19:15
Reserve space for -cursor option, so [$w cget -cursor] works. check-in: 547d15d609 user: jenglish tags: master, trunk
2004-02-13
23:56
Add aliases "tile::widgetclass" for each widget "twidgetclass". Idea: users can try 'namespace import tile::*' check-in: 8153b75d45 user: jenglish tags: master, trunk
23:09
AARGH. Fix lines beginning with ".nb" in EXAMPLE section. I should know better than this. check-in: 7ad9c52c24 user: jenglish tags: master, trunk
23:07
Added notebook.n check-in: 7f3338d79f user: jenglish tags: master, trunk
22:04
BUGFIX: 'end' is not a legal index for most operations (bonehead mistake). check-in: e2df99519c user: jenglish tags: master, trunk
20:42
BUGFIX: don't allocate boxes larger than the containing parcel (fixes #896703) check-in: 7b5fff88d5 user: jenglish tags: master, trunk
07:09
BUGFIX: Confused 'mask' and 'flags' members of struct Tk_OptionSpec. check-in: b4174ac4f7 user: jenglish tags: master, trunk
02:42
Remove CloneElementImpl(); not needed since getting rid of [style elementconfigure] Added [style element names]. check-in: 003510ebec user: jenglish tags: master, trunk
00:03
Use Tk_GetImage in LabelConfigureProc(); this fixes the last of the major known performance problems. check-in: a55725b429 user: jenglish tags: master, trunk
2004-02-12
22:52
Factored out boilerplate code. check-in: 1a459225f9 user: jenglish tags: master, trunk
22:41
Added image and Tk_3DBorder caches. check-in: 3d602f2be2 user: jenglish tags: master, trunk
22:03
Added resource cache; attempt to solve bug #893844 check-in: 4eb004269c user: jenglish tags: master, trunk
17:54
BUGFIX: NewStyle() doesn't take any arguments. check-in: 0ee39e66bb user: jenglish tags: master, trunk
17:13
* generic/tkTheme.c (NewStyle): specify args for NewStyle so cranky compilers don't error out. check-in: 65bfb46889 user: hobbs tags: master, trunk
2004-02-11
21:50
alt theme: Change checkbutton and radiobutton layouts to always use (the equivalent of) -anchor w instead of -anchor center. check-in: ba60a60470 user: jenglish tags: master, trunk
21:28
Tweaked notebook settings. Use "NeXT-style" scrollbars, as a demonstration of how to do this in script-defined themes. check-in: 284a3af539 user: jenglish tags: master, trunk
20:07
Fixed LabelElement geometry management so that -anchor and -width work together. check-in: dddab55c7d user: jenglish tags: master, trunk
18:31
* configure: * tclconfig/tcl.m4: updated to r1.44, fix TCL_INCLUDES on Windows check-in: 4cc2f31541 user: hobbs tags: master, trunk
16:25
Renamed [$nb raise $pane] to [$nb select $pane] (advice from dkf). check-in: 9a2402fcd0 user: jenglish tags: master, trunk
13:22
Use tkstubs if building against Tk 8.5. Use the new-style layout specification to get the highlight drawn close to the text. check-in: 65cee952c1 user: patthoyts tags: master, trunk
07:43
*** empty log message *** check-in: 2061914eb3 user: jenglish tags: master, trunk
07:18
Moved "-relief" option from TButton to parent class TLabel. It might move around again. Uncovered another bug: -anchor and -width do not mix well. Need to investigate further. check-in: 353bb468c3 user: jenglish tags: master, trunk
06:30
Added -state option to labels, buttons, checkbuttons, and radiobuttons for compatibility with standard Tk widgets. check-in: a6f5e834bb user: jenglish tags: master, trunk
03:33
Tweaks to make buttons look (almost) correct. (Focus ring still drawn in the wrong color) check-in: 3d74c58fdd user: jenglish tags: master, trunk
01:43
tkUnixPort.h checks for HAVE_LIMITS_H, so do both HAVE and CHECK on limits.h check-in: 56ffadf0a9 user: hobbs tags: master, trunk
01:12
Updated provenance comments; in sync with sampleextension r 1.42. check-in: 492566e8f1 user: jenglish tags: master, trunk
01:11
* Makefile.in: add missing stepTheme.tcl lib file and change install-doc to install-html and make install-doc a noop for now. check-in: 4ac8860d29 user: hobbs tags: master, trunk
00:35
* configure: Updated to TEA3 spec with minor mods to make * configure.in: things work with private headers better. * tclconfig/tcl.m4: check-in: 8199d27146 user: hobbs tags: master, trunk
2004-02-10
22:29
Add user32.lib on Windows check-in: 0427632718 user: jenglish tags: master, trunk
22:28
Add "user32.lib" on Windows check-in: e17beed97c user: jenglish tags: master, trunk
21:10
Default theme now named "default" instead of (in addition to) "" check-in: fb6da5b52d user: jenglish tags: master, trunk
16:51
Added [style theme names] command check-in: 7dcbdecea2 user: jenglish tags: master, trunk
16:41
Renamed "compound" element to "label" element. check-in: 73a32aba8a user: jenglish tags: master, trunk
15:36
Remove redundant #defines check-in: b0ec82550b user: jenglish tags: master, trunk
14:51
Fix display glitch in button default ring (classic theme). check-in: 9e934379aa user: jenglish tags: master, trunk
2004-02-09
23:06
Use TK_OPTION_STRING for "match-any" element option types instead of TK_OPTION_END. check-in: 907dc5371e user: jenglish tags: master, trunk
22:53
Don't register "skin" theme (this isn't really a "theme", it's an "engine"); remove unused data structures. check-in: 28b84ba470 user: jenglish tags: master, trunk
22:52
Clarify: "option of the same name _and type_" as the containing widget. check-in: 0204fd1e07 user: jenglish tags: master, trunk
22:40
Dead code removal: Removed SkinObjCmd (use 'style' instead) Removed [style info layout], TTK_GetLayoutSpecFromObj check-in: 2adf1f7be8 user: jenglish tags: master, trunk
21:45
New Tcl API: style definetheme ==> style theme settings style createtheme ==> style theme create style settheme ==> style theme use style createelement ==> style element create style createlayout, style definelayout ==> style layout check-in: 737046240d user: jenglish tags: master, trunk
15:48
Use namespace "tile" instead of namespace "Tile" check-in: 0dc6f43a8a user: jenglish tags: master, trunk