2004-10-05 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c, generic/classicTheme.c, macosx/aquaTheme.c,
library/altTheme.tcl, library/aquaTheme.tcl, library/clamTheme.tcl,
library/classicTheme.tcl, library/defaults.tcl, library/stepTheme.tcl,
library/winTheme.tcl, library/xpTheme.tcl:
Use TNotebook.Tab as sublayout name instead of Tab.TNotebook.
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: Don't use ETS_READONLY for combobox text fields
(fixes: #1032409)
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: Put all the XP element information into one
big table. Finally fixed memory leak.
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* generic/treeview.c, win/xpTheme.c: rough hack at native XP appearance.
Add workaround (sigh) for the stupid XDrawLines() off-by-one bug.
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* generic/treeview.c, generic/widget.c, generic/widget.h:
Made GetOptionValue, EnumerateOptions semi-public.
* generic/notebook.c, doc/notebook.n, library/notebook.tcl:
Merged "tabcget" and "tabconfigure" commands into "tab" command.
* * * INCOMPATIBILITY with tile 0.4 * * *
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* library/fonts.tcl, library/treeview.tcl:
Define TkHeadingFont along with other symbolic fonts.
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* all: TTK_GetLayout() now includes background element
automatically. "*.background" not included in individual
layout specifications.
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* generic/tkThemeInt.h, generic/layout.c, generic/tkTheme.c:
Reorganization & renaming; TTK_TemplateNode now semi-public.
* generic/tkThemeInt.h, generic/layout.c, generic/tkTheme.c:
Reorganized again. Added TTK_GetSubLayout().
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* generic/treeview.c: 'detach' command takes a list of items.
* doc/treeview.n: Doc fixes: 'detach' and 'delete' take a list of
items.
2004-10-04 Jeff Hobbs <jeffh@ActiveState.com>
* demos/demo.tcl: add simple tree widget demo of widget hierarchy
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl, library/combobox.tcl, library/button.tcl:
Added tile::CopyBindings utility procedure.
2004-10-04 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c, library/tile.tcl, tests/all.tcl:
Use $::tile::library intead of $::tile_library.
Set $::tile::version in _Init() routine.
2004-10-03 Joe English <jenglish@users.sourceforge.net>
* configure.in, generic/configure.in: Added --disable-compat
build-time option.
* configure, generic/configure: Regenerated.
* tools/optiondiff.tcl, generic/compat.h: NO_COMPAT_DEFAULTS unused.
2004-10-03 Joe English <jenglish@users.sourceforge.net>
* generic/treeview.c, doc/treeview.n, tests/treeview.test:
New treeview widget.
* generic/scroll.c, generic/widget.h: Support routines for
scrolling widget (half-baked)
2004-09-29 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h: 'typedef enum {...} TTK_Orient'
instead of 'enum TTK_ORIENT { ... }', for consistency.
2004-09-29 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/tkstate.c, doc/widget.n,
demos/demo.tcl, macosx/aquaTheme.c:
Renamed "indeterminate" state to "alternate"; can be
used as a sort of catch-all "alternate display" flag,
not just checkbutton tri-state values.
2004-09-28 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/layout.c, generic/widget.c,
generic/entry.c, generic/notebook.c, generic/scale.c:
Rename TTK_LayoutReqSize() ==> TTK_LayoutSize().
Change order of arguments in TTK_DrawLayout() to match
TTK_LayoutSize() and TTK_PlaceLayout().
* generic/tkTheme.h, generic/tkThemeInt.h:
Added TTK_State typedef, clear up 'unsigned int' vs.
'unsigned long' confusion in places.
2004-09-28 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/tkstate.c generic/widget.c:
Rename WidgetStateSpec ==> StateSpec. Use onbits/offbits
for internal rep instead of mask/match.
2004-09-28 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c: Split "separator" element
into vseparator, hseparator, and generic separator.
2004-09-24 Joe English <jenglish@users.sourceforge.net>
* generic/label.c(ImageDraw): Stipple over the image area,
to make it look "grayed-out" when TTK_STATE_DISABLED is set
(see #1031565)
2004-09-23 Joe English <jenglish@users.sourceforge.net>
* doc/man.macros(.SO): Use 4 columns for STANDARD OPTIONS
instead of 3. .SE: Remove reference to options(n), Tile package
documents standard options in widget(n).
* doc/notebook.n, doc/separator.n: Updated .SO section.
2004-09-22 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl: Select initial theme from X resource database.
Use "default" on X11 if it's not set.
2004-09-21 Joe English <jenglish@users.sourceforge.net>
* generic/entry.c: Fixed precedence rules for -selectforeground et al:
built-in default, style default, widget option, dynamic value.
* generic/layout.c: TTK_QueryOption() examines widget options now.
* generic/tkTheme.c, generic/tkTheme.h, generic/tkThemeInt.h:
TTK_QueryStyle() now private; TTK_LayoutStyle no longer used;
refactored.
2004-09-20 Joe English <jenglish@users.sourceforge.net>
* demos/repeater.tcl: Added demonstration of custom widget classes.
(This may be useful enough to move into the main library...)
* demos/demo.tcl: Add repeating button demo.
2004-09-19 Joe English <jenglish@users.sourceforge.net>
* generic/clamTheme.c: Simplified.
* library/clamTheme.tcl: Remove unused settings.
* generic/clamTheme.c: Prevent rightmost tab from extending
past the client box when notebook is too narrow.
2004-09-19 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c: Fixed logic for XDrawLines workaround:
XDrawLines() only omits the last point, not the first.
* generic/notebook.c: Set USER1 and USER2 state flags for
leftmost and rightmost tabs, resp.
* win/xpTheme.c: use TABP_TABITEMLEFTEDGE for leftmost tab;
finally gets rid of the one-pixel glitch. Can't fix the
rightmost tab, unfortunately.
* win/winTheme.c, library/winTheme.tcl, win/xpTheme.tcl:
More tweaks to notebook; notebook almost draws correctly now
under "Windows Classic" style.
2004-09-19 Joe English <jenglish@users.sourceforge.net>
* demos/themes/{Aquativo,kroc}.tcl: Use "Button.button" instead
of "Button.background"
2004-09-19 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Use "ttk::" namespace instead of "t" prefix.
2004-09-18 Joe English <jenglish@users.sourceforge.net>
* library/keynav.tcl: Added 'keynav::traverseTo' (see TIP 204)
* library/notebook.tcl: Use keynav::traverseTo instead of directly
setting [focus].
* library/entry.tcl, library/combobox.tcl: Add <<TraverseIn>> bindings
for entry and combobox widgets.
* generic/frame.c: Added TLabelframe -underline option so it
supports mnemonic activation.
* generic/tile.tcl: Added mnemonic activation binding
for labels and labelframes (traverse to next widget).
* demos/demo.tcl: Minor updates to demonstrate improved keyboard
navigation abilities.
2004-09-17 Joe English <jenglish@users.sourceforge.net>
* demos/themes/blue.tcl: Updated to use 'image' element
factory instead of 'pixmap'. Minor tweaks.
2004-09-17 Joe English <jenglish@users.sourceforge.net>
* library/combobox.tcl: BUGFIX: clicking in text area in editable
comboboxes posted the listbox instead of setting insert cursor.
(bug exposed by recent changes to layout.c).
2004-09-17 Joe English <jenglish@users.sourceforge.net>
* generic/defaults.tcl: Use #ffffff instead of activebg for
unchecked indicators.
2004-09-17 Joe English <jenglish@users.sourceforge.net>
* library/tile.c: BUGFIX: missing :: prefix on namespace eval.
2004-09-16 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c, generic/entry.c, generic/notebook.c,
library/tile.tcl: Tile widgets now defined in the "ttk::*"
namespace; t* and tile::* still provided as aliases for now.
* doc/*.n: Consistently use "ttk::*" in widget documentation.
2004-09-16 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: BUGFIX: initialization of defaultTheme to 0
removed in r1.70 was *not* dead code.
2004-09-16 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: Squeeze tabs if there's not enough
space to display all of them at their natural width.
2004-09-15 Joe English <jenglish@users.sourceforge.net>
* generic/*.c: Use TTK_PlaceLayout instead of LayoutGeometry.
Renamed TTK_LayoutDraw() -> TTK_DrawLayout().
2004-09-15 Jeff Hobbs <jeffh@ActiveState.com>
* library/combobox.tcl: add mouse-over tracking as a default
ComboboxListbox behavior.
Only apply *TCombobox*Listbox.background white for X11.
(tile::combobox::PopdownShell): alter look to be more "standard"
with relief on toplevel instead of higlight around lb only.
2004-09-15 Joe English <jenglish@users.sourceforge.net>
* generic/image.c (new file), generic/tile.c: Added "image"
element factory, enhanced version of "pixmap" factory.
* Makefile.in, generic/Makefile.in, win/makefile.vc: Added image.c.
* generic/layout.c, generic/tkTheme.h: Added TTK_GetBorderFromObj
* demos/themes/WinXP-Blue.tcl: Use "style element create image"
instead of "pixmap".
2004-09-15 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl(StateMonitor): Control-Shift-ButtonPress-1
now launches state monitor window if it's not currently active.
Put .states window content inside a TFrame so background
color is right.
2004-09-14 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: Use same inheritance chain for layout templates
as for elements (specific names to generic names, fallback in parent
theme.) This way a custom style like "Blue.TButton" will inherit
the layout from "TButton".
2004-09-14 Jeff Hobbs <jeffh@ActiveState.com>
* library/combobox.tcl (tile::combobox::PopdownShell): make
popdown a transient of the parent toplevel. This makes Win/Tk
recognize it as a child and doesn't lose focus from the main
toplevel when displaying the combobox (8.4.8+).
2004-09-13 Joe English <jenglish@users.sourceforge.net>
* generic/button.c, doc/label.n: Added -justify and -wraplength
options to label widget. (NB: I don't think these work right.)
* demos/demo.tcl ("Others" pane): Use [tlabel] instead of [message]
widget for help text.
* generic/compat.h: Regenerated.
2004-09-13 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: Expand selected tab based on "-expandtab"
style option. Put client area in main layout instead
of using a separate one.
* generic/tkTheme.h, generic/layout.c, generic/tkTheme.c:
Added TTK_ExpandBox(), TTK_QueryOption().
Removed TTK_RootNode() (no longer used).
* win/xpTheme.c, library/xpTheme.tcl: Use notebook -expandtab
feature instead of custom element and dynamic -padding.
2004-09-12 Joe English <jenglish@users.sourceforge.net>
* library/fonts.tcl: Specify X11 font size in pixels even with Xft;
Xft doesn't seem to be any more consistent than core X11 wrt.
resolution.
2004-09-10 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c, library/notebook.tcl:
Generate <<NotebookTabChanged>> from [$nb select]
instead of from the widget bindings, so the event
is delivered when the tab is changed under program
control as well as by the user.
* generic/tile.c, generic/widget.h: Added SendVirtualEvent()
utility routine.
2004-09-10 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c: Finally fixed request-size calculations.
* tests/layout.test(new file): Added test case demonstrating
what was wrong with the old algorithm.
2004-09-10 Jeff Hobbs <jeffh@ActiveState.com>
* win/xpTheme.c (ThumbElementDraw): remove redundant state check
(XPTheme_Init): add IGNORE_THEMESIZE to notebook tab element data
to correct against layout engine changes.
2004-09-08 Joe English <jenglish@users.sourceforge.net>
* generic/label.c: Changed layout computation to have slightly
better behavior when parcel is too small. Added -justify
and -wraplength text element options. Don't check for
failure conditions that Cant' Happen.
* generic/scale.c: Inlined getFontFromObj, getForegroundFromObj;
* generic/layout.c, generic/tkTheme.h: Remove getFontFromObj,
getForegroundFromObj, and adjustAnchor -- no longer used.
Added TTK_PlaceBox.
2004-09-08 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c, generic/tkTheme.c, generic/tkThemeInt.h:
Store element names in ElementImpl structure, not LayoutNode.
Small refactoring of layout.c.
2004-09-08 Joe English <jenglish@users.sourceforge.net>
* generic/*.[ch]: Reorganizing internal data structures, phase 2:
TTK_Layout structure now includes recordPtr, optionTable, and Tk_Window
fields; don't need to pass these to TTK_LayoutDraw() etc.
2004-09-08 Joe English <jenglish@users.sourceforge.net>
* tkThemeInt.h, layout.c, tkTheme.c:
Reorganized internal data structures, phase 1:
+ Move element default values from ResourceMap into ElementImpl
+ Introduce TTK_Layout structure
+ Add resource map cache to ElementImpl
+ Remove struct ElementInstance;
* tkTheme.h, frame.c, notebook.c, scale.c, scrollbar.c:
Casualties of the above change.
2004-09-08 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: set -default normal as default.
* demos/demo.tcl: Set "*Button.default normal"
so default navigation does the right thing.
2004-09-08 Joe English <jenglish@users.sourceforge.net>
* widget.c(WidgetConstructorObjCommand):
Fix memory leak in failure path. NOTE: Some leaks remain.
2004-09-07 Joe English <jenglish@users.sourceforge.net>
* tkThemeInt.h: New file; private routines moved here.
* layout.c(TTK_LayoutNode): width and height fields never used.
* layout.c, scrollbar.c: Added TTK_LayoutNodeReqSize().
2004-09-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Updated to support setting the INSTALLDIR to
* win/rules.vc: a non-tcl directory (eg: site-lib).
Added shell target and include the demo in the
standard installation target.
2004-09-06 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/clamTheme.c, generic/classicTheme.c,
generic/entry.c, generic/layout.c, generic/notebook.c,
generic/stepTheme.c, generic/tkElements.c, macosx/aquaTheme.c:
Remove TTK_STICK_ALL synonym; use TTK_FILL_BOTH everywhere.
Remove some unneeded TTK_EXPAND settings.
2004-09-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/clamTheme.c: Added XFCE-style scale and progress bar
elements. Fixed the DrawSmoothBorder function to cope with small
widths or heights (for the progress bar).
2004-09-04 Joe English <jenglish@users.sourceforge.net>
* generic/label.c (new file): moved out of tkElements.c,
it's complex enough to warrant its own source file.
* generic/tkElements.c, generic/altTheme.c, generic/classicTheme.c:
Move Motif-like elements into new "classic" theme.
Streamlined and simplify default theme.
* library/*Theme.tcl: reviewed and reorganized.
* library/tile.tcl: $defaultBG, $activeBG, $troughColor
no longer used.
* generic/notebook.c, generic/altTheme.c, generic/tkElements.c:
Got rid of ugly default notebook element implementations,
use the "alt" implementation as the baseline instead.
2004-09-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* 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.
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>
* generic/tkTheme.h, generic/layout.c, generic/frame.c,
generic/scale.c: Refactoring: added TTK_LayoutNodeInternalPadding,
use where appropriate.
2004-09-02 Jeff Hobbs <jeffh@ActiveState.com>
* library/xpTheme.tcl: readd SystemButtonFace as default bg
* generic/altTheme.c (TabElementDraw): account for off-by-one
* generic/notebook.c (TabElementDraw): drawing difference for
XDrawLines on Windows
2004-09-02 Joe English <jenglish@users.sourceforge.net>
* doc/scrollbar.n: Added. Decision: "-command"
is a script prefix, not a command prefix (see
tktable-tile-dev archives).
* library/scrollbar.tcl: Treat "-command" as a string,
not a list.
* generic/scrollbar.c: Minor formatting cleanups.
2004-09-02 Joe English <jenglish@users.sourceforge.net>
* library/notebook.tcl: Fix "buried focus" problem;
selecting a tab could leave the keyboard focus on
an unmapped window. Fix bug in MnemonicActivation.
(For the record: I think the earlier behavior, always
set focus to the notebook widget itself, is more correct
regardless of what Windows does :-)
2004-09-02 Joe English <jenglish@users.sourceforge.net>
* library/clamTheme.tcl(Tab.TNotebook):
Fix color glitch in active notebook tab border
(spotted by dkf).
2004-09-02 Jeff Hobbs <jeffh@ActiveState.com>
* library/notebook.tcl (tile::notebook::MnemonicActivation):
(tile::notebook::CycleTab, tile::notebook::Select): only focus
into tab on second <1>, and only generate NotebookTabChanged when
we are changing tabs.
2004-09-01 Joe English <jenglish@users.sourceforge.net>
* generic/widget.c: fix memory leak (corePtr->layout)
* generic/tkTheme.c: fix memory leak (TTK_Style defaultsTable)
2004-09-01 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c, generic/tkTheme.h, generic/tkTheme.c:
Refactoring: build LayoutTemplate from LayoutSpec instead
of the other way around.
2004-09-01 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c(FrameMargins): Tweak: use TTK_AddPadding
instead of inline code.
2004-08-31 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h: Removed unused DEFAULT_* #defines
* generic/tkTheme.h, generic/altTheme.c, generic/stepTheme.c,
generic/tkElements.c: DEFAULT_BORDERWIDTH is theme-specific.
* generic/tkTheme.h: Remove #ifdeffery:
Use TIP 145 symbolic name for DEFAULT_FONT; use classic X11
default for DEFAULT_BACKGROUND and DEFAULT_FOREGROUND
(platform themes will override this anyway).
2004-08-31 Joe English <jenglish@users.sourceforge.net>
* configure.in, generic/configure.in, generic/Makefile.in,
generic/tkTheme.h, win/makefile.vc: Bumped version number to 0.5
* configure, generic/configure: Regenerated.
2004-08-30 Joe English <jenglish@users.sourceforge.net>
* library/combobox.tcl: Generate <<ComboboxSelected>>
virtual event when item is selected from popdown listbox
(suggestion from Jeff Godfrey). Use option database to
make listbox font match entry field font (bug report
from Jeff Godfrey). Also set default background for
listbox. Position listbox above combobox if it would extend
below the the screen.
2004-08-29 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c, win/winTheme.c, library/xpTheme.tcl:
Changes to notebook layout (see #1015652).
2004-08-27 Joe English <jenglish@users.sourceforge.net>
* generic/entry.c, library/combobox.tcl, doc/combobox.n:
Add -postcommand combobox option.
2004-08-25 Jeff Hobbs <jeffh@ActiveState.com>
* library/*.tcl: whitespace police, minor code corrections
2004-08-24 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/altTheme.c: TTK_UniformPadding takes a short. MSVC is
* generic/clamTheme.c: noisy about using int's with this so
* generic/entry.c: added a cast to reduce the noise.
* generic/frame.c:
* generic/notebook.c:
* generic/tkElements.c:
* win/makefile.vc: Default to building with Tk stubs. Add
NOSTUBS=1 to the command line to link against tk84.dll for older
versions of Tk 8.4.
* win/winTheme.c: Added some padding to the indicator elements.
Added an implemementation of the Scale slider using the winnative
drawing functions.
* win/winTheme.c: Made the winnative scrollbar a bit more
windows-like. The thumb isn't shown when disabled and the thumb
was a little too large before. It's now the correct width/height.
2004-08-19 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Added separator to demo.
2004-08-18 Joe English <jenglish@users.sourcefofge.net>
* generic/separator.c (new file), generic/tkElements.c,
doc/separator.n (new file), generic/tile.c, library/tile.tcl,
Makefile.in, generic/Makefile.in, win/makefile.vc:
Added separator widget.
2004-08-18 Jeff Hobbs <jeffh@ActiveState.com>
* win/xpTheme.c (XPTheme_Init): add 4px padding between indicator
and text for radio|checkbuttons
* generic/scrollbar.c (ScrollbarSetCommand): disable the scrollbar
when there is nothing to scroll.
* win/xpTheme.c (ThumbElementDraw): don't draw the thumb when
state is disabled
2004-08-18 Joe English <jenglish@users.sourcefofge.net>
=== TILE 0.4 TAGGED FOR RELEASE ===
2004-08-19 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Make default build add HAVE_UXTHEME_H. User can
add NOUXTHEME=1 to the command line to avoid this is required.
2004-08-13 Joe English <jenglish@users.sourceforge.net>
* tclconfig/tcl.m4: Synced with TEA 3.1
(sampleextension/tclconfig/tcl.m4 r1.51).
* configure.in, Makefile.in: Update for TEA 3.1.
* generic/configure.in, generic/Makefile.in: Update for TEA 3.1.
Check for HAVE_UXTHEME_H on Windows.
* configure, generic/configure: Regenerated.
2004-07-11 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl, demos/demo.tcl: Added tile::availableThemes,
tile::setTheme.
2004-07-05 Joe English <jenglish@users.sourceforge.net>
* generic/widget.h, generic/*.c: Added WIDGET_INHERIT_OPTIONS macro.
* demos/demo.tcl: Added combobox pane.
* macosx/aquaTheme.c: Failed attempt at native comboboxes on OSX.
* library/combobox.tcl: raise popup after deiconifying;
this is needed under OSX.
2004-07-01 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: Native appearance for combobox widgets.
* library/combobox.tcl: BUGFIX: possible for LBSelect to be
called when is actually selected; account for this.
* library/combobox.tcl: BUGFIX: don't post listbox when disabled.
* library/combobox.tcl: Workaround for [grab -global] not really
grabbing globally on Windows.
* win/winTheme.c: Added 'Field' element so entry borders drawn
correctly again.
* generic/entry.c: -selectborderwidth 0 -insertwidth 1
now the default, since that's what most themes use.
2004-07-01 Jeff Hobbs <jeffh@ActiveState.com>
* Makefile.in (PKG_TCL_SOURCES): add combobox.tcl for install
2004-06-30 Joe English <jenglish@users.sourceforge.net>
* generic/entry.c, library/tile.tcl, library/combobox.tcl:
New combobox widget.
* generic/altTheme.c, generic/tkElements.c, win/xpTheme.c,
macosx/aquaTheme.c, generic/clamTheme.c, library/clamTheme.tcl:
Use "field" element instead of "border" for entry and combobox
widgets.
2004-06-30 Joe English <jenglish@users.sourceforge.net>
* generic/scrollbar.c, generic/widget.h, generic/widget.c:
Factored out ScrollbarIdentifyCommand; usable in other widgets.
2004-06-29 Joe English <jenglish@users.sourceforge.net>
* generic/clamTheme.c: BUGFIX/TWEAK: scrollbar arrows
not properly centered in parcel.
2004-06-27 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c, generic/clamTheme.c, generic/tkElements.c,
generic/tkTheme.h: Factored out common code DrawArrow(), ArrowSize().
2004-06-26 Joe English <jenglish@users.sourceforge.net>
* library/entry.tcl: BUGFIX: selection anchor drifted
when dragging across it.
* generic/entry.c, library/entry.tcl: scan, selection from,
and selection adjust commands moved from C to Tcl.
(These commands are only needed for compatibility).
2004-06-20 Joe English <jenglish@users.sourceforge.net>
* macosx/aquaTheme.c, library/aquaTheme.tcl:
Added support for TEntry widget on OSX.
2004-06-19 Joe English <jenglish@users.sourceforge.net>
* library/winTheme.tcl, library/xpTheme.tcl:
Use system colors for -selectbackground and -selectforeground options.
Tweaked button padding and width for XP buttons.
2004-06-18 Joe English <jenglish@users.sourceforge.net>
* library/entry.c: Query current style for foreground, selection,
and insert cursor colors
* generic/tkTheme.c, generic/tkTheme.h: Added TTK_LayoutStyle(),
TTK_QueryStyle().
* library/defaults.tcl, library/clamTheme.tcl, library/defaults.tcl:
Add entry colors.
2004-06-18 Joe English <jenglish@users.sourceforge.net>
* library/entry.tcl: Overhauled bindings. Button-2 scanning
now implemented entirely in Tcl; internal selection anchor
([$e selection from], [$e selection to], [$e selection adjust])
no longer used.
* library/entry.c: Not changed, actually. Unused 'scan'
and 'selection' methods kept around, for BWidget compatibility.
2004-06-17 Joe English <jenglish@users.sourceforge.net>
* library/notebook.tcl: figured out why Control-Shift-Tab Notebook
binding wasn't working: XFree86 ISO_Left_Tab brokenness. Fixed now.
* generic/entry.c: + BUGFIX: never displayed selection if
-exportselection was false. + Reposition layout as soon
as 'xview' command called.
2004-06-16 Joe English <jenglish@users.sourceforge.net>
* generic/entry.c: Make sure 'xview' command returns
up-to-date information, even if widget hasn't been redisplayed
(see test entry-3.2). Fix [scan dragto] corner case.
* generic/entry.c: Fix off-by-one bug in EntryVisibleRange():
Tk_PointToChar() returns [0 .. numChars], *not* [0 .. numChars-1]
as the documentation indicates. Double-checked other calls
to Tk_PointToChar().
2004-06-16 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c, library/xpTheme.tcl: Added XP-style entry widgets.
* win/winTheme.tcl: Tweaked.
* library/entry.tcl: workaround: Command modifier matches NumLock
on Windows.
2004-06-15 Joe English <jenglish@users.sourceforge.net>
* generic/entry.c, library/fonts.tcl: Add symbolic font
TkTextFont (not defined in TIP #145), so entry widgets
can use the right font (non-bold) on X11.
(It would probably be easier to just drop the Motif L&F
and use a medium-weight font like everyone else does...)
2004-06-14 Joe English <jenglish@users.sourceforge.net>
* generic/entry.c, library/entry.tcl: (new files) Added entry widget.
* generic/compat.h: Regenerated.
* generic/altTheme.c: New FieldBorder element, for entry widget
* generic/tkElements.c:
* generic/blink.c (new file), generic/widget.h:
Added BlinkCursor utility.
* generic/widget.h, generic/widget.c:
Factored out WidgetEnsembleCommand.
2004-06-11 Jeff Hobbs <jeffh@ActiveState.com>
* configure, configure.in: add MACOSX build variant info
* Makefile.in: add fonts.tcl to PKG_TCL_SOURCES and aquaTheme.c
for MACOSX builds.
2004-06-11 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/tkstate.c, generic/tile.c,
demos/demo.tcl, tests/tile.test: Added 'readonly' state
2004-06-10 Joe English <jenglish@users.sourceforge.net>
* tkTheme.c, tkElements.c: TTK_GetTheme(interp, NULL) no longer
returns default theme. Use TTK_GetDefaultTheme() instead.
* tkTheme.c: Factored BuildResourceMap() out of NewElementInstance()
* tkTheme.c(BuildResourceMap): Ignore accidental mismatches caused
by prefix-matching in TkGetOptionSpec (e.g. "-textvariable" matching
"-text").
2004-06-09 Joe English <jenglish@users.sourceforge.net>
* library/fonts.tcl: New file.
* library/tile.tcl, library/defaults.tcl, library/altTheme.tcl,
demos/themes/*.tcl: Changed "ButtonFont" to TkDefaultFont,
as per TIP #145. Slightly cleverer heuristics to guess
what to use as default font.
* * * POTENTIAL INCOMPATIBILITY * * *
Custom themes using "ButtonFont" must use TkDefaultFont instead.
2004-06-06 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/tkElements.c, generic/altTheme.c:
Removed old/deprecated TTK_LAYOUT_* macros
2004-06-06 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: BUGFIX: setting -default option incorrectly
triggered -state option processing.
2004-06-05 Joe English <jenglish@users.sourceforge.net>
* tools/optiondiff.tcl, generic/compat.h(COMPAT_OPTION macro):
Use distinct resource db names for compatibility options
instead of "unused". This seems to fix the last of the
fatal BWidget errors.
2004-06-05 Joe English <jenglish@users.sourceforge.net>
* generic/button.c (-width option): Workaround for bug #967209
* generic/tkTheme.c: Partially disable element/widget option
compatibility checks as workaround for workaround.
* generic/notebook.c: BUGFIX: wrong type for notebook -padding
option (caught by test nulloption-1.3)
2004-06-04 Joe English <jenglish@users.sourceforge.net>
* demos/themes/blue.tcl: Added warning about using "blue"
as a basis for building other pixmap themes.
2004-05-29 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: move "-anchor" option from Base
to Label; -anchor now a compatibility option for buttons,
checkbuttons, &c.
* generic/compat.h: Regenerated.
* generic/button.c, generic/tkElements.c, generic/pixmapTheme.c:
BUGFIX: Turns out that the Tk_ImageChangedProc can't be NULL after all.
2004-05-16 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: button -width option needs to have NULL default
so theme can specify default.
2004-05-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Fixed bug #916398 - pkgIndex.tcl creation.
2004-05-11 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c: Add -width and -height options to frame, labelframe
* generic/compat.h: Regenerated. This time with Tk 8.4, oops.
* tools/optiondiff.tcl: Make sure Tk 8.4 is used to generate
compatibility resources.
2004-05-10 Joe English <jenglish@users.sourceforge.net>
* generic/button.c, generic/compat.h: Made label '-font'
and '-foreground' options compatibility resources instead
of real resources.
* demos/demo.tcl: Reworked 'Theme' menu
* generic/button.c: Added default values for options
-width, -borderwidth, -relief; try to improve BWidget compatibility.
2004-04-28 Pat Thoyts <patthoyts@users.sourceforge.net>
* Makefile.in: Added missing clamTheme.tcl (spotted by Neil Madden)
2004-04-27 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c(FrameOptionSpecs),generic/button.c(LabelOptionSpecs):
-background is now a compatibility resource
* tools/optiondiff.tcl: BUGFIX: correctly compute defaults for synonym
options; widget defaults enabled by default now.
* generic/compat.h: Regenerated.
Tile should now be compatible with the BWidget toolkit.
Drawback: "-background" widget option for frames and labels
is no longer effective.
2004-04-27 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/notebook.c: Add stdio.h for sprintf and sscanf prototypes.
* generic/scale.c:
* win/monitor.c: Only define WIN32_LEAN_AND_MEAN for MSVC.
* win/winTheme.c:
* win/xpTheme.c:
* demos/themes/blue.tcl: Added some more images to the blue theme
for scrollbar, slider and progress bar elements.
2004-04-25 Joe English <jenglish@users.sourceforge.net>
* generic/clamTheme.c, library/clamTheme.tcl:
Added notebook elements. Minor display tweaks.
2004-04-23 Joe English <jenglish@users.sourceforge.net>
* generic/compat.h, generic/frame.c(Labelframe):
Added support for -labelwidget option.
* tests/labelframe.test: (new file) Tests for the above.
2004-04-23 Joe English <jenglish@users.sourceforge.net>
* generic/clamTheme.c, library/clamTheme.tcl:
New theme, inspired by the XFCE family of GNOME themes.
2004-04-22 Joe English <jenglish@users.sourceforge.net>
* library/notebook.tcl, doc/notebook.n: Added
[tile::notebook::enableTraversal] procedure;
enables mnemonic activation for notebook tabs
and <Control-Tab> bindings.
* demos/demo.tcl: added mnemonics to a couple of tabs in demo.
2004-04-22 Jeff Hobbs <jeffh@ActiveState.com>
* generic/notebook.c (TabOptionSpecs): add -underline option for tabs
* library/winTheme.tcl: make select tab "raised"
2004-04-05 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c, generic/tkElements.c:
Added "-shiftrelief" to Padding element; removed
Pressable/PushableBorderElement.
* generic/tkTheme.h, generic/layout.c: TTK_RelievePadding
takes an extra parameter.
* generic/layout.c(TTK_RelievePadding): BUGFIX: was
shifting relief by twice as much as it should have.
* generic/altTheme.c win/winTheme.c, win/xpTheme.c:
"Highlight" element renamed to "Focus" element. "Highlight"
now refers (only) to external ring (default indicator,
focus indicator in classic theme).
* win/xpTheme.c: Added workaround for bogus results
from GetThemePartSize().
* win/xpTheme.c: Removed FocusElement; can inherit from winTheme.c
* win/xpTheme.c: Account for borderwidth in Labelframe.border.
2004-04-03 Joe English <jenglish@users.sourceforge.net>
* macosx/aquaTheme.c: added native progress bar and scale elements;
Tweaked Notebook element layouts; geometry should be correct now.
Added background pattern.
Fixed off-by-one bug in BoxToRect; add extra padding around
buttons to account for drop shadow.
* generic/layout.c: For layout nodes with children,
use max(node size, child size + padding) for width, height.
* generic/layout.c: Added TTK_AddPadding
2004-03-31 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c: BUGFIX: don't provide package tile unless
init script succeeds.
* generic/widget.c(CoreEventHandler): Compress <Expose> events:
don't schedule redisplay until the last one arrives.
Also mini-bugfix: 'Expose' and 'Configure' events shouldn't
share the same switch branch (see 2004-03-16 change).
2004-03-31 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/winTheme.c: For some reason the windows stuff stopped building
* win/xpTheme.c: on my Win2k system. Adding WIN32_LEAN_AND_MEAN
* win/monitor.c: fixes the build.
* demo/themes/blue: Redid the radio and check button pixmaps.
2004-03-29 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: BUGFIX: [$notebook tabconfigure ...]
didn't redisplay widget.
2004-03-28 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c: BUGFIX: get border width from theme,
not from -borderwidth resource.
* macosx/aquaTheme.c, library/aquaTheme.tcl:
Redid button elements, added notebook and labelframe elements.
Accounted for focus, default buttons, background/inactive
widgets, lots of other enhancements.
2004-03-28 Joe English <jenglish@users.sourceforge.net>
* generic/tkstate.c, generic/tkTheme.c, doc/widget.n:
New TTK_STATE values: "background", "indeterminate", "invalid",
"default".
* generic/button.c(ButtonConfigure): Track TTK_STATE_DEFAULT.
* win/xpTheme.c: ButtonElement no longer needed, use GenericElement
instead.
* generic/widget.c(CoreEventProc):
Track ActivateNotify, DeactivateNotify, set TTK_STATE_BACKGROUND.
* macosx/aquaTheme.c: Use TTK_STATE_BACKGROUND, TTK_STATE_INDETERMINATE
2004-03-28 Joe English <jenglish@users.sourceforge.net>
* generic/configure.in: More tweakage in an attempt to recognize MacOSX.
* generic/configure: regenerated.
2004-03-27 Joe English <jenglish@users.sourceforge.net>
* configure.in, generic/configure.in, generic/Makefile.in,
generic/tkTheme.h, win/makefile.vc: Bumped version number to 0.4
* generic/configure: Regenerated.
2004-03-27 Joe English <jenglish@users.sourceforge.net>
* macosx/aquaTheme.c, library/aquaTheme.tcl, library/tile.tcl,
generic/widget.h, demos/demo.tcl: First cut at native OSX
Aqua theme, using Appearance Manager API.
2004-03-27 Joe English <jenglish@users.sourceforge.net>
=== TILE 0.3 TAGGED FOR RELEASE ===
2004-03-27 Joe English <jenglish@users.sourceforge.net>
* ./Makefile.in: Added menubutton.tcl to PKG_TCL_SOURCES;
removed unused fossil $(AM_xxx) references.
2004-03-27 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c, generic/tkElements.c:
Use -arrowsize instead of -width for arrow elements.
2004-03-22 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: Use TP_SPLITBUTTON and TP_SPLITBUTTONDROPDOWN
for menubuttons.
* generic/altTheme.c: Lose the vertical separator in
Menubutton.indicator.
* library/winTheme.tcl, library/xpTheme.tcl: More spacing tweaks.
Still not quite right.
* demos/demo.tcl: Moved toolbar compound control from
side control panel into toolbar.
2004-03-21 Joe English <jenglish@users.sourceforge.net>
* generic/gunk.h: Check for MAC_OSX_TK.
2004-03-21 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c, generic/widget.h, generic/button.c:
Recognize "-state active" compatibility option.
Accept all "-state" values, interpret as "normal".
2004-03-20 Joe English <jenglish@users.sourceforge.net>
* tools/optiondiff.tcl: Tried adding default values for
compatibility resources. BWidgets still breaks.
Disabled feature, compile with -DCOMPAT_DEFAULTS to reenable.
* generic/compat.h: regenerated.
* generic/tkTheme.c, generic/tkTheme.h:
Ignore compatibility resources when filling in element options.
2004-03-20 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl, library/button.tcl: Moved
button-specific 'activate' procedure into button.tcl.
Don't generate <<Arm>> and <<Disarm>> events; I forget
what these were for in the first place.
2004-03-18 Joe English <jenglish@users.sourceforge.net>
* library/defaults.tcl, library/altTheme.tcl, library/winTheme.tcl,
library/xpTheme.tcl: Added Toolbutton style.
* demos/demo.tcl, demos/toolbutton.tcl:
Added demonstration of how to define custom styles.
2004-03-16 Joe English <jenglish@users.sourceforge.net>
* generic/widget.c: *Correct* workaround for geometry
problems in the XP theme. Sigh.
2004-03-16 Joe English <jenglish@users.sourceforge.net>
* generic/widget.c: Call UpdateLayout() on the first
ConfigureNotify event, to work around geometry problems
in the XP theme and missing <<ThemeChanged>> events.
2004-03-17 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Added a demo target.
2004-03-15 Joe English <jenglish@users.sourceforge.net>
* library/menubutton.tcl: BUGFIX: wasn't clearing active state.
Reverse post direction if menu would extend off-screen.
2004-03-14 Joe English <jenglish@users.sourceforge.net>
* library/menubutton.tcl, library/winTheme.tcl, library/xpTheme.tcl,
win/winTheme.c, win/xpTheme.c, generic/altTheme.c:
Ported menubutton implementation to windows:
Made bindings platform-specific bindings to avoid
[grab]-related lockups with native menus.
Added native-ish XP menubutton (sort of).
2004-03-14 Joe English <jenglish@users.sourceforge.net>
* library/menubutton.tcl: New file
* generic/button.c, generic/altTheme.c, generic/tkElements.c,
library/altTheme.tcl, library/defaults.tcl,
library/stepTheme.tcl, library/tile.tcl: Added menubutton widget
2004-03-14 Joe English <jenglish@users.sourceforge.net>
* library/scale.tcl: Make sure State array is properly initialized,
in case we get an unexpected B1-Motion event (various conditions
involving grabs can cause this).
2004-03-14 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c, generic/tkTheme.h, win/winTheme.c,
win/xpTheme.c: Made NullElement public.
2004-03-14 Joe English <jenglish@users.sourceforge.net>
* generic/cache.c, generic/tkTheme.h, generic/tkTheme.c
BUGFIX: Tk_GetImage() interp parameter must not be NULL,
otherwise errors (e.g., missing image) cause a coredump.
Use Tcl_BackgroundError() instead.
2004-03-13 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c: Finally worked out all the off-by-one bugs
in scrollbar arrows. I think.
2004-03-12 Joe English <jenglish@users.sourceforge.net>
* tools/optiondiff.tcl, generic/compat.h: Added.
* generic/button.c, generic/frame.c, generic/scrollbar.c:
Experiment: added Tk 8.4 compatibility resources to all widgets.
2004-03-09 Joe English <jenglish@users.sourceforge.net>
* generic/configure.in, generic/aclocal.m4:
Autocruft removal: moved contents of aclocal.m4 into configure.in.
* generic/configure: Regenerated
* generic/button.c, generic/frame.c: Use "Pad" as -padding option
class, for (forward-) compatibility.
2004-03-09 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c, win/winTheme.c: Fixed.
2004-03-09 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/tkTheme.c, generic/altTheme.c,
generic/tkElements.c, generic/layout.c, generic/stepTheme.c,
generic/notebook.c, generic/pixmapTheme.c, win/winTheme.c,
win/xpTheme.c: Changed ElementDrawProc() signature to
take a TTK_Box instead of separate x,y,width,height parameters.
* Removed adjustAspect(), adjustPadding(); added TTK_AnchorBox.
* Various cleanup.
2004-03-06 Joe English <jenglish@users.sourceforge.net>
* 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().
2004-03-05 Joe English <jenglish@users.sourceforge.net>
* Imported "kroc" theme, contributed by David Zolli <kroc@kroc.tk>
2004-03-02 Joe English <jenglish@users.sourceforge.net>
* generic/Makefile.in: tcl.m4 r1.41 changed LIBS to PKG_LIBS;
missed that earlier.
2004-02-28 Joe English <jenglish@users.sourceforge.net>
* doc/*.n: Updated documentation slightly.
* generic/widget.c, tests/tile.test: Error detection
when changing -style option. (Theme changes with custom
styles still not handled correctly).
2004-02-28 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: Refactoring: Split Label widget
up into Base part and Label part; other widgets inherit
from Base instead of Label. Moved -relief option
to Label widget. Label widget gets extra appearance-related
resources since those tend to be customized by the application more.
* generic/notebook.c: Removed -anchor, -font, and -padding
Tab options.
2004-02-22 Joe English <jenglish@users.sourceforge.net>
* generic/cache.c, generic/tkTheme.h:
Added TTK_RegisterNamedColor(); initial support for named colors.
* win/monitor.c: Register Windows system colors as named
colors whenever we receive a WM_SYSCOLORCHANGED message.
2004-02-22 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c, generic/tkTheme.h: Added TTK_UseTheme()
* win/monitor.c: Always (try to) set xpnative theme on WM_THEMECHANGED
2004-02-21 Joe English <jenglish@users.sourceforge.net>
* (all): First cut at user-defined -style support
* generic/tkTheme.c, generic/tkTheme.h:
Add a Tcl_Interp* parameter to TTK_CreateLayout(), place to leave
error messages.
* generic/widget.c, generic/widget.h: getLayoutProc signature
changed. Default getLayoutProc now uses -style option if set.
* generic/notebook.c, generic/scale.c, generic/scrollbar.c:
Updated other widgets for API change. (NB: notebook,
scale, and scrollbar don't support custom -styles yet).
* demos/demo.tcl: Added Toolbar.Button, Toolbar.Checkbutton
custom styles to demo.
* win/xpTheme.c, library/xpTheme.tcl: Added native toolbar
buttons on Windows XP. Minor layout tweaks to XP theme.
2004-02-21 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: Hardcode element padding instead of
using GetThemeMargins().
* generic/layout.c, generic/tkTheme.h: Add TTK_MakePadding utility.
2004-02-21 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c, library/xpTheme.tcl: 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.
* win/xpTheme.c, win/winTheme.c, library/tile.tcl, demos/demo.tcl:
Use package names "tile::theme::xpnative" and "tile::theme::winnative".
2004-02-20 Joe English <jenglish@users.sourceforge.net>
* configure.in, generic/configure.in, generic/Makefile.in,
generic/tkTheme.h, win/makefile.vc: Bumped version number to 0.3
* configure, generic/configure: Regenerated.
2004-02-20 Joe English <jenglish@users.sourceforge.net>
* library/altTheme.c: Minor tweaks to notebook appearance.
* generic/notebook.c: Minor tweaks.
2004-02-20 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: BUGFIX: defaultTheme->parentPtr
was not initialized properly.
* generic/layout.c(TTK_BuildLayout): Tcl_Panic()
if an element cannot be found. This is a temporary solution.
* generic/tkElements.c: Update Scale layouts.
2004-02-19 Joe English <jenglish@users.sourceforge.net>
* generic/xpTheme.c: BUGFIX: TTK_StateTableLookup
doesn't like NULL state tables.
2004-02-18 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c, generic/tkTheme.h, generic/altTheme.c,
generic/tkElements.c, win/winTheme.c:
Factored out TTK_RelievePadding.
* generic/altTheme.c, win/winTheme.c, win/xpTheme.c,
generic/tkTheme.h, generic/tkstate.c:
Factored out TTK_StateTableLookup.
* generic/altTheme.c, generic/stepTheme.c:
remove incorrect assignment gcvalues.line_style = JoinMiter
2004-02-18 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl, library/altTheme.tcl, library/defaults.tcl,
library/stepTheme.tcl, library/winTheme.tcl, library/xpTheme.tcl:
Moved default -font specification from option database into themes.
* generic/button.c, generic/frame.c: -font option is NULL by default
2004-02-18 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: always USE_CACHE. Removed now-dead code.
* generic/cache.c(TTK_ClearCache): BUGFIX: NULLs may appear in cache.
2004-02-17 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Use 'eval [package unknown] ...'
([package unknown] is a command prefix)
2004-02-16 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c: Fix #898371 "problem displaying non-english
characters"
2004-02-16 Joe English <jenglish@users.sourceforge.net>
=== TILE 0.2 TAGGED FOR RELEASE ===
2004-02-16 Joe English <jenglish@users.sourceforge.net>
* configure.in, generic/configure.in, generic/Makefile.in,
generic/tkTheme.h, win/makefile.vc: Bump version number to 0.2
* configure, generic/configure: Regenerated.
2004-02-16 Joe English <jenglish@users.sourceforge.net>
* configure.in: don't set TCL_PKGPATH (not used anywhere).
2004-02-15 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c(ReliefElement): Handle border widths other than 2.
* generic/frame.c: Update geometry when -borderwidth changed.
2004-02-15 Joe English <jenglish@users.sourceforge.net>
* doc/*.*: Added as much documentation as I could stand to write ...
* README.txt: Updated.
2004-02-15 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Added 'Widget State...' dialog,
for tracking/changing widget states.
2004-02-15 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c, generic/widget.h: Reserve space
for "-cursor" option, so "$w cget -cursor" works.
2004-02-13 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl: Add aliases "tile::widgetclass" for each
widget "twidgetclass". Idea: users can try 'namespace import tile::*'
2004-02-13 Joe English <jenglish@users.sourceforge.net>
* doc/notebook.n: Added.
2004-02-13 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: BUGFIX: 'end' is not a legal index
for most operations (bonehead mistake).
2004-02-13 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c(TTK_PlaceBox, TTK_PackRight):
BUGFIX: don't allocate boxes larger than the containing parcel
(fixes #896703)
2004-02-12 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c: BUGFIX: Confused 'mask' and 'flags'
members of struct Tk_OptionSpec.
2004-02-12 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: Remove CloneElementImpl();
not needed since getting rid of [style elementconfigure]
Added [style element names].
2004-02-12 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: Use Tk_GetImage in LabelConfigureProc();
this fixes the last of the major known performance problems.
2004-02-12 Joe English <jenglish@users.sourceforge.net>
* generic/cache.c, generic/pixmapTheme.c:
Add caching for images as well.
* generic/cache.c, generic/tkTheme.c: And Tk_3DBorders.
* generic/cache.c: Factored out boilerplate code.
2004-02-12 Joe English <jenglish@users.sourceforge.net>
* generic/cache.c (new file), generic/tkTheme.c:
Added resource cache; attempt to solve bug #893844
2004-02-12 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: BUGFIX: NewStyle doesn't take any arguments.
[ Apparently Jeff was fixing this bug at the same time I was,
see next ChangeLog entry :-) ]
* tclconfig/tcl.m4: Add -Wstrict-prototypes to gcc's CFLAGS_WARNING,
which would have caught the above bug.
* generic/layout.c(NewLayoutOp): Fix problem caught by above.
* generic/configure: Regenerated.
2004-02-12 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkTheme.c (NewStyle): specify args for NewStyle so
cranky compilers don't error out.
2004-02-11 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c: Change checkbutton and radiobutton
layouts to always use (the equivalent of) -anchor w
instead of -anchor center.
2004-02-11 Joe English <jenglish@users.sourceforge.net>
* generic/themes/blue.tcl: Tweaked notebook settings.
Use "NeXT-style" scrollbars, as a demonstration of
how to do this in script-defined themes.
2004-02-11 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c: Fixed LabelElement geometry management
so that -anchor and -width work together.
2004-02-11 Jeff Hobbs <jeffh@ActiveState.com>
* configure:
* tclconfig/tcl.m4: updated to r1.44, fix TCL_INCLUDES on Windows
2004-02-11 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c, library/notebook.tcl, tests/notebook.test,
demos/demo.tcl: Renamed [$nb raise $pane] to [$nb select $pane]
(advice from dkf).
2004-02-11 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Use tkstubs if building against Tk 8.5.
* generic/altTheme.c: Use the new-style layout specification to
get the highlight drawn close to the text.
2004-02-10 Joe English <jenglish@users.sourceforge.net>
* generic/button.c: Moved "-relief" option from TButton
to parent class TLabel. It might move around again.
* demos/demo.tcl: Uncovered another bug: -anchor and -width
do not mix well. Need to investigate further.
2004-02-10 Joe English <jenglish@users.sourceforge.net>
* generic/button.c, generic/tile.c, generic/widget.h:
Added -state option to labels, buttons, checkbuttons,
and radiobuttons for compatibility with standard Tk widgets.
2004-02-10 Joe English <jenglish@users.sourceforge.net>
* win/winTheme.c, library/winTheme.tcl:
Tweaks to make buttons look (almost) correct.
(Focus ring still drawn in the wrong color)
2004-02-10 Jeff Hobbs <jeffh@ActiveState.com>
* Makefile.in: add missing stepTheme.tcl lib file and change
install-doc to install-html and make install-doc a noop for now.
* configure: Updated to TEA3 spec with minor mods to make
* configure.in: things work with private headers better.
* tclconfig/tcl.m4:
2004-02-10 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: Added [style theme names] command
* generic/tkTheme.c, others: Default theme now
named "default" instead of (in addition to) "".
2004-02-10 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c, generic/altTheme.c,
generic/notebook.c, demos/themes/Aquativo.tcl,
demos/themes/WinXP-Blue.tcl, demos/themes/blue.tcl:
Renamed "compound" element to "label" element.
2004-02-10 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c: Fix display glitch in button default ring
(classic theme).
* generic/tkTheme.h: Remove redundant #defines
2004-02-09 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c, generic/tkTheme.h:
Use TK_OPTION_STRING for "match-any" element option types
instead of TK_OPTION_END.
2004-02-09 Joe English <jenglish@users.sourceforge.net>
* (all): Dead code removal:
* generic/pixmapTheme.c: Removed SkinObjCmd (use 'style' instead)
* generic/tkTheme.c: Removed [style info layout],
TTK_GetLayoutSpecFromObj
* generic/pixmapTheme.c: Don't register "skin" theme
(this isn't really a "theme", it's an "engine");
remove unused data structures.
2004-02-09 Joe English <jenglish@users.sourceforge.net>
* (all): New 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
2004-02-09 Joe English <jenglish@users.sourceforge.net>
* (all): Use namespace "tile" instead of namespace "Tile".
2004-02-09 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: BUGFIX: Notebook didn't respond
properly to <<ThemeChanged>> messages.
2004-02-08 Joe English <jenglish@users.sourceforge.net>
* generic/widget.h, generic/widget.c, generic/scrollbar.c,
generic/scale.c, generic/button.c, generic/frame.c,
generic/notebook.c: Refactoring: removed WidgetSetLayout,
added getLayoutProc hook.
* generic/widget.c, library/tile.tcl: Use <<ThemeChanged>>
virtual event to notify widgets of theme change,
instead of the [$w configure -style [$w cget -style]] hack.
2004-02-07 Joe English <jenglish@users.sourceforge.net>
* library/stepTheme.tcl: Make selected notebook tab larger
than the others.
* generic/notebook.c: Mods to make the above work.
* generic/tkTheme.h, generic/layout.c:
TTK_LayoutReqSize() now takes a 'state' parameter,
to make the above work.
Fixed argument order of TTK_LayoutGeometry while I'm at it.
2004-02-07 Joe English <jenglish@users.sourceforge.net>
* doc/*.n: First cut at actual documentation!
2004-02-05 Pat Thoyts <patthoyts@users.sourceforge.net>
* demos/themes/pkgIndex.tcl: Don't provide pixmap theme packages
if the image subdirectory does not exists. Fixes missing Gtk themes.
* demos/demo.tcl: Fixed error in the demo script that caused
incorrect display of the vertical progress widget at startup.
2004-02-04 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/scale.c: Fix the position of the scale label text. Also
cleaned some warnings from VC++ concerning double to int
conversion.
2004-02-03 Joe English <jenglish@users.sourceforge.net>
* generic/Makefile.in: added missing @TK_XINCLUDES@
* generic/layout.c: BUGFIX: off-by-one error in TTK_BoxContains.
* generic/notebook.c: Track active tab.
(@@@ NOTE this is a tiny bit glitch-prone.)
2004-02-03 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c(TTK_ParseLayout): made -sticky news the default.
* demos/themes/*.tcl: added focus ring; simplified some;
other tweaks.
2004-02-03 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c, generic/tkTheme.h:
Added TTK_RegisterElementFactory(), [style createelement $name $type]
* generic/tkTheme.c: add [style createtheme]
* generic/pixmapTheme.c: Use TTK_RegisterElementFactory()
* demos/themes/blue.tcl: Updated to use new API
2004-02-02 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c, library/defaults.tcl, library/stepTheme.tcl,
win/xpTheme.c: Use "Tab.TNotebook" and "Client.TNotebook"
instead of "TNotebookTab" / "TNotebookClient".
* generic/notebook.c: Another attempt to make borderwidth > 1
work properly. Still not completely right.
* generic/altTheme.c: Better-looking notebook tabs.
2004-02-02 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: BUGFIX: bonehead error in RemoveTab()
* generic/Makefile.in: added 'valgrind' target
* tests/scrollbar.test, tests/tile.test: change to work with
-singleproc true.
2004-02-01 Joe English <jenglish@users.sourceforge.net>
* win/monitor.c: made internal routines 'static'.
* win/xpTheme.c, generic/tkTheme.h, generic/tkTheme.c:
Move clientData parameter from Theme to ThemeEnabledProc
2004-02-01 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl, generic/stepTheme.c, generic/altTheme.c:
More tweaks to scrollbars. Still not quite right,
but a bit simpler.
2004-02-01 Joe English <jenglish@users.sourceforge.net>
* demos/themes/blue/button-n.gif: Fiddled with the GIMP,
replaced this with a badly-done shaded doohickey.
* demos/themes/blue/button-{h,p}.gif, others: Not changed,
I'm through fiddling with the GIMP.
2004-02-01 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Create widgets in correct keyboard traversal order.
Add "Track focus" dialog.
* (all): Fix miscellaneous keyboard traversal and focus issues.
* generic/button.c, generic/tile.c, generic/widget.h:
"" now default -takefocus value; only traversable widgets
have default "tile::takefocus".
* generic/notebook.c: Draw tabs from outside-in.
* generic/notebook.c, library/notebook.tcl: Fix focus and
traversal issues.
* library/tile.tcl (tile::takefocus): Return 0 if widget
is not viewable (??? Why doesn't tk_focusNext/Prev handle this?)
2004-02-01 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c: added -padding resource, [$nb forget],
[$nb index current], [$nb index end], [$nb tabs],
[$nb tabcget], [$nb tabconfigure].
* generic/layout.c: Added TTK_LayoutNodeInternalParcel().
2004-01-31 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c: BUGFIX: off-by-one error in CountLayoutNodes.
2004-01-29 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c: Remove unused fields from
CompoundElement. Separate ImageTextElement and TextElement
instead of using ClientData hack in TextElement.
* generic/tkTheme.c: Remove unused fields from struct Style.
Remove unused routine TTK_FindStyle().
2004-01-28 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c: Added TTK_ParseLayout(), TTK_ParseLayoutSpec().
* generic/tkTheme.c: Added [style definelayout] command.
* demos/themes/blue.tcl: Changed to use [style definelayout]
instead of [skin createlayout].
2004-01-28 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c: Reorganized code. No substantive changes.
2004-01-28 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/layout.c: Fixed layout engine algorithm.
* generic/tkElements.c: Updated scrollbar layouts to use
new layout scheme.
* demos/demo.tcl: Added new demo showing why this makes a difference.
2004-01-27 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c(TTK_GetPaddingFromObj): Replaced screwball
code with something more sensible. What was I thinking?
2004-01-27 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h(TTK_Box): Rename "h" and "w" fields
to "height" resp. "width". Should have done this a while ago...
* generic/frame.c, generic/layout.c, generic/notebook.c,
generic/pixmapTheme.c, scale.c, generic/scrollbar.c:
Updated.
2004-01-27 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c generic/tile.c generic/tkElements.c
generic/tkTheme.h win/xpTheme.c:
Renamed TkGet{ButtonDefaultState,CompoundLayout}FromObj -> TTK_Get*
* generic/layout.c: Added TTK_GetStickyFromObj().
* generic/notebook.c: Added -sticky option for tabs.
* generic/tkTheme.c: Refactored StyleObjCmd/StyleInfoObjCmd
to handle multi-level ensembles.
2004-01-26 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h(TTK_CleanupProc):
Removed unused Tcl_Interp parameter from TTK_CleanupProc's.
* generic/pixmapTheme.c, generic/scrollbar.c,
generic/tkTheme.c, win/monitor.c:
Same.
2004-01-26 Joe English <jenglish@users.sourceforge.net>
* generic/widget.h, generic/widget.c: Split 'displayProc' hook
into separate 'layoutProc' and 'displayProc' hooks.
* generic/button.c, generic/frame.c, generic/notebook.c,
generic/scale.c, generic/scrollbar.c: Updated accordingly.
2004-01-26 Joe English <jenglish@users.sourceforge.net>
* tclconfig/tcl.m4: Upgrade to current version from
sampleextension (r1.41 2003/12/10)
* generic/Makefile.in, generic/configure.in, generic/pkgIndex.tcl.in:
Updated to work with new tcl.m4.
* generic/configure: regenerated
*** INCOMPATIBILITY: ./configure.in, ./Makefile.in *** NOT UPDATED ***
Couldn't get these to work. (Jeff?)
2004-01-26 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/wintheme.c: Seems scrollbar buttons are flat when pressed.
* library/winTheme.tcl: Progress bar should be COLOR_HIGHLIGHT.
* win/xpTheme.c: Add frame/labelframe themed elements. I can't get
the text correct yet so it's commented out.
2004-01-25 Joe English <jenglish@users.sourceforge.net>
* demos/themes/WinXP-Blue.tcl: Removed duplicate "tab"
element definition so the theme will load. Put "-background"
and "-foreground" specifications back. Set Button.background
padding to 4 to fix display glitch.
2004-01-25 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/pixmapTheme.c: Fixed the tiling code and added a minimum
size option to sort out the pixmap based scrollbars.
* demos/themes/Aquativo.tcl: Fixed themes to use new pixmap option.
* demos/themes/WinXP-Blue.tcl:
2004-01-25 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Tweaked layout.
* demos/themes/blue.tcl, demos/themes/blue/*.gif:
Tweaked appearance. "blue" theme is now *really* blue.
2004-01-25 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c, demos/demo.tcl: Added TLabelframe widget.
* generic/layout.c: Added TTK_PlaceBox and TTK_FILL_* defines.
* generic/tkElements.c: TextElement now optionally clears
background area before drawing text.
2004-01-25 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl, demos/themes/*.tcl, generic/stepTheme.c:
use 'tile::theme::$themeName' instead of 'tile::$themeName'
for theme package names.
2004-01-24 Joe English <jenglish@users.sourceforge.net>
* demos/themes/WinXP-Blue.tcl: Miscellaneous tweaks.
Added "tab" element for Notebook widget.
2004-01-24 Joe English <jenglish@users.sourceforge.net>
* generic/frame.c, demos/demo.tcl: Added TFrame widget,
which turned out to require a lot more changes than I
would have thought:
* generic/widget.h: GeometryProc renamed to SizeProc;
unused TTK_Padding argument removed. SizeProc now
returns 1/0, indicating whether the widget should make
a geometry request or not, to prevent excessive recalculations.
* generic/widget.c, generic/tile.c: All widgets now take
a -class resource. Which means we also have to implement:
* generic/widget.c, generic/widget.h: New READONLY_OPTION
mask bit for widget OptionSpecs.
2004-01-22 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: Removed unused 'clientData' member from
GenericElementData.
* generic/scale.c, generic/tkElements.c, win/xpTheme.c:
Un-merge horizontal and vertical scale elements again;
changed layouts to select appropriately-oriented
element.
* win/xpTheme.c: use 'winnative' as the parent theme.
2004-01-22 Joe English <jenglish@users.sourceforge.net>
* library/winTheme.tcl: Fix line endings.
* generic/gunk.h: Add missing include files.
2004-01-22 Joe English <jenglish@users.sourceforge.net>
* generic/winTheme.c, library/winTheme.tcl: Added
first cut at Windows-native theme [from Patch #875243]
2004-01-22 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkTheme.c: Added introspection of layouts to return a
list as used for the skin createlayout command.
2004-01-21 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Change checkbutton packing back
to -expand x / -sticky ew again. Put theme list
back in order.
2004-01-21 Pat Thoyts <patthoyts@users.sourceforge.net>
* demos/themes/Aquativo.tcl: Improved the theme import.
* generic/pixmapTheme.c: Fixed the image tiling code.
* demos/demo.tcl: Re-added the console showing.
* demos/demo.tcl: Fix a bug in the previous demo cleanup.
2004-01-19 Jeff Hobbs <jeffh@ActiveState.com>
* demos/demo.tcl: code cleanup. remove all use of pack gm.
2004-01-18 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/pixmapTheme.c: Use padding to prevent child pixmaps or
* library/xpTheme.tcl: elements from overwriting the edges of
* win/xpTheme.c: troughs.
2004-01-18 Joe English <jenglish@users.sourceforge.net>
* demos/themes/WinXP-Blue.tcl: add a bit of padding
and specify a minimum -width for buttons.
2004-01-17 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/tile.tcl: Fix a couple of problems with the XP theme
* library/xpTheme.tcl: using the new 'style default' command.
* demos/themes/Aquativo.tcl: Trying to simplify the use of
* demos/themes/WinXP-Blue.tcl: pixmap collections. We can unpack
* demos/themes/blue.tcl: Gtk theme packs under demos/themes/
and use them unaltered. By keeping the tcl scripts in the same
directory (demos/themes) we can generate the pkgIndex for them.
2004-01-16 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.tcl: Tracked down performance problem
with "alt" theme: notebook tabs were using a -font that
wasn't used in a "real" widget, and hence wasn't cached.
(@@@ Need to solve the general problem at some point).
2004-01-16 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c, generic/scale.c, generic/tkTheme.c:
Various bugfixes relating to window or area sizes <= 0.
2004-01-16 Joe English <jenglish@users.sourceforge.net>
* generic/button.c, generic/tile.c, generic/tkElements.c,
generic/widget.h: TilePart now gone. Added TLabel widget.
* library/altTheme.tcl, library/defaults.tcl,
library/stepTheme.tcl, demos/demo.tcl Tweaks to make toolbar
buttons in demo continue to sort-of work.
* library/tile.tcl, library/xpTheme.tcl: moved XP settings
out of tile.tcl.
2004-01-16 Jeff Hobbs <jeffh@ActiveState.com>
* configure:
* configure.in (LIBS): add user32.lib for Windows
2004-01-16 Joe English <jenglish@users.sourceforge.net>
* generic/scale.c, library/scale.tcl: Get trough
border width from element, not from the widget resource
(widget resource might not be used in all themes).
2004-01-15 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl, generic/altTheme.c, generic/scrollbar.c,
generic/tile.c, generic/tkElements.c, generic/tkTheme.c,
generic/widget.h, tests/tile.test, win/xpTheme.c:
Removed the "Tile" widget; it has served its purpose.
2004-01-15 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c, generic/scrollbar.c, generic/scale.c:
TTK_LayoutFindNode now only examines the last component
of element names.
2004-01-16 Pat Thoyts <patthoyts@users.sourceforge.net>
* demos/themes/Aquativo.tcl: Added Gtk import theme. You should
follow the instructions in the head of this file to fetch the
theme package itself.
2004-01-15 Joe English <jenglish@users.sourceforge.net>
* generic/pixmapTheme.c, demos/demo.tcl, demos/themes/blue/theme.tcl:
Reorganized PixmapElement; [style elementconfigure] no longer used.
* generic/tkTheme.c: Removed [style elementconfigure],
and a whole bunch of now-dead code.
* generic/tkTheme.c: Configuring a style now updates existing
widgets (@@@ not immediately though; need to call WorldChanged)
* generic/stepTheme.c: Specify minimum thumb size;
fix horizontal scrollbar layout.
2004-01-15 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/pixmapTheme.c: Completed the tile-fill function.
* generic/tkTheme.h: Put back support for theme client data for
* generic/tkTheme.c: use in the xpnative theme.
* demos/demo.tcl: Enable delayed loading of pixmap themes.
* demos/themes/blue/theme.tcl: Some changes -- more to do.
2004-01-14 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c, generic/scale.c, generic/stepTheme.c,
generic/tile.c, generic/tkElements.c, win/xpTheme.c:
Simplified scrollbar, scale, and progressbar layouts.
* library/altTheme.tcl, library/defaults.tcl,
library/stepTheme.tcl, library/tile.tcl:
Got rid of the last use of [style elementconfigure].
2004-01-14 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c: removed [style configure] command.
* generic/tkTheme.c: BUGFIX: missing Tcl_IncrRefCounts
in ResourceMap. (Actually this is a temporary workaround;
real bug is that changes to styles don't have any effect
on existing widgets).
2004-01-14 Joe English <jenglish@users.sourceforge.net>
* library/altTheme.tcl, library/defaults.tcl,
library/stepTheme.tcl, library/tile.tcl:
Replaced all uses of [style configure] with
[style map] or [style default]. Next to go:
[style elementconfigure].
2004-01-13 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.h, generic/tkTheme.c:
Replaced TTK_SetThemeClientData() with TTK_RegisterCleanup(),
themes can register an arbitrary number of cleanup hooks.
* generic/pixmapTheme.c: Fixed memory leak introduced in last rev.
2004-01-13 Joe English <jenglish@users.sourceforge.net>
* Added [style definetheme], [style map], and [style default].
Partially updated theme definitions to use these instead
of [style configure], [style elementconfigure].
Also added memory leak.
2004-01-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* demos/themes/blue/theme.tcl: Added image border option.
* generic/pixmapTheme.c: Do tiling of the image.
2004-01-13 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/pixmapTheme.c: Correct Tk_Image handling in the
GenericElement. Tk_GetImage and Tk_FreeImage must be paired.
* Makefile.in: Added a pixmap theme engine along
* generic/Makefile.in: with a really ugly demo theme 'blue'
* generic/altTheme.c: under demos/themes/blue.
* generic/notebook.c:
* generic/pixmapTheme.c: This includes support for creating
* generic/stepTheme.c: TTK_LayoutSpec descriptions from
* generic/tile.c: a tcl list. See the blue/theme.tcl
* generic/tkElements.c: file for a sample.
* generic/tkTheme.c:
* generic/tkTheme.h:
* generic/widget.h:
* library/pkgIndex.tcl:
* library/tile.tcl:
* win/Tile.dsp:
* win/makefile.vc:
* win/xpTheme.c:
* demos/demo.tcl:
* demos/themes/blue/*.gif:
* demos/themes/blue/theme.tcl:
2004-01-12 Joe English <jenglish@users.sourceforge.net>
* generic/button.c, generic/tkElements.c:
Added -width resource for labels/buttons/&c;
requested width (minimum width if negative) in characters.
NB: only used if "-compound text" specified.
2004-01-12 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c, generic/button.c: Moved *button widget
implementations into separate file.
* generic/widget.h: made string tables for -orient, -default,
and -compound resources global.
* notebook.c: Removed unused "-side" option.
2004-01-12 Joe English <jenglish@users.sourceforge.net>
* generic/tkTheme.c, generic/tkTheme.h: Removed
TTK_GetThemeFromObj (dead code).
2004-01-11 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: fix state map for notebook Tab elements.
* generic/tkTheme.c (AllocateResources): Error detection.
2004-01-10 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/scale.c: Fixed progress bar geometry bug and got
* generic/tkElements.c: the xp theme working.
* generic/tile.tcl: Added themeing for the notebook elements.
* win/xpTheme.c: The client element wont show up until we
use a themed frame widget though.
* demos/demo.tcl: Added more lines to show issues with scrollbar.
* win/xpTheme.c: Created a generic oriented element. This
resolves a problem with the vertical thumb and is useful for
troughs and such. Scale themed with minor bugs to iron out.
2004-01-10 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c: Refactored BorderElementSpec.
* generic/altTheme.c: Shadow colors for indicators.
2004-01-10 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/scale.c: Merged the vtrough/htrough elements.
* generic/scrollbar.c:
* generic/tkElements.c:
* library/tile.tcl:
* win/xpTheme.c:
* demos/demo.tcl: Added progress widget. This is
* generic/scale.c: really just a special case of the
* generic/tkElements.c: scale widget. Some bugs to fix yet
* generic/tile.c: and the slider needs fixing in
* library/tile.tcl: all but classic theme.
* library/scale.tcl: Added repeat motion for the scale.
* win/xpTheme.c: Corrected slider breakage so it builds.
2004-01-09 Joe English <jenglish@users.sourceforge.net>
* widget.c: Added postConfigureProc widget hook,
for post-configuration operations that need to reenter
the interpreter.
* tile.c: -variable and -textvariable options now
work properly (read when configured, not just when
variable changes).
2004-01-09 Joe English <jenglish@users.sourceforge.net>
* generic/scale.c: Set attached -variable and invoke
-command in [scale set] (where it's safe) instead
of in the Display callback (where it isn't).
2004-01-09 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c, generic/scale.c,
generic/scrollbar.c, generic/stepTheme.c,
generic/tile.c, generic/tkElements.c, generic/tkTheme.h,
library/scrollbar.tcl, library/tile.tcl, win/xpTheme.c:
Merged hslider/vslider and hthumb/vthumb elements.
2004-01-09 Joe English <jenglish@users.sourceforge.net>
* all: Rename TK_WIDGET_STATE_* => TTK_STATE_*.
* all: Rename "label" element => "text".
2004-01-08 Joe English <jenglish@users.sourceforge.net>
* generic/trace.c: New file, split out from tile.c.
2004-01-08 Joe English <jenglish@users.sourceforge.net>
* generic/notebook.c, library/notebook.tcl, tests/notebook.test,
library/tile.tcl, demos/demo.tcl: Added an ugly but functional
Notebook widget.
* generic/layout.c, generic/tkTheme.h, generic/widget.c:
Expose some TTK_Box-related layout functions needed by the above.
2004-01-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* tkTheme.h: Added TTK_SetThemeClientData and
* tkTheme.c: TTK_GetThemeClientData permit data to be
associated with a theme engine. This also registers a deletion
callback that is called when the theme is deleted.
Added A TTK_SetThemeEnabledProc. This lets you register a function
that is called during SetTheme. If this returns false, then the
theme's parent is used (and checked too). This means XP can
default to the alt theme if themeing is disabled.
* win/monitor.c: New file implements an invisible window to
catch global window messages from Windows.
* generic/tile.c: Hook in the monitor window.
2004-01-06 Joe English <jenglish@users.sourceforge.net>
* generic/track.c: various bugfixes; first version
didn't work properly when mouse cursor dragged
away from "pressed" element and then released.
2004-01-06 Joe English <jenglish@users.sourceforge.net>
* generic/track.c: New utility, TrackElementState
* generic/scrollbar.c, library/scrollbar.tcl:
Updated TScrollbar to use TrackElementState;
[$scrollbar elementstate] widget method no longer needed.
* Scrollbar finally displays "active" state properly!
2004-01-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkElements.c: Permit variable width trough for win32
* library/tile.tcl: style scale (doesn't change geometry).
* generic/tkTheme.c: Fix element lookup to look over multiple
dot-separated names. eg: Z.x.y -> x.y -> y then lookup the same in
the parent theme.
* generic/scale.c: Improved the scale implementation.
* generic/tkElements.c: Can now pick a slider style for all
* win/xpTheme.c: styles. Made less of it hardcoded too.
* library/scale.tcl:
* library/tile.tcl:
2004-01-02 Joe English <jenglish@users.sourceforge.net>
* generic/scrollbar.c, library/scrollbar.tcl:
Removed -first and -last resources (no longer needed after
thumb element simplified.)
Removed -troughcolor resource.
2004-01-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkTheme.c: Change element lookup scheme to search parent
themes for the full element name, then the generic name which
fixes a problem in the scale widget which re-uses the trough
element.
2004-01-06 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c: BUGFIX: failed to clean up -textvariable
variable trace, leading to a crash.
* tests/tile.test: added test case for above.
2004-01-05 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/scale.c: Added a themed scale widget.
* library/scale.c: Scale widget bindings.
* generic/tkElements.c: Added a slider element and implementation
of troughcolor for troughs. Used by scale and scrollbar widgets.
* generic/stepTheme.c: Playing with drawing 3D circles.
* generic/tile.c: Added -bd and -bg short options.
* generic/scrollbar.c: Implemented -troughcolor.
* win/xpTheme.c: XP scale support.
2004-01-04 Joe English <jenglish@users.sourceforge.net>
* library/scrollbar.tcl: BUGFIX: Button-2 scanning
didn't work when scrollbar was attached to a real widget.
* generic/scrollbar.c, library/scrollbar.tcl,
generic/tkElements.c, generic/altTheme.c, generic/stepTheme.c,
win/xpTheme.c: Move scrollbar thumb geometry calculations
entirely into the scrollbar widget; thumb element implementations
don't need to worry about first / last anymore.
Minimum thumb size now works.
* generic/layout.c, generic/tkTheme.h: Additional utilities
needed to support the above.
2004-01-02 Joe English <jenglish@users.sourceforge.net>
* demos/demo.tcl: Added compound checkbuttons to toolbars;
demonstrating a conceptual error in the layout engine.
* generic/altTheme.c: Workaround for above error.
2004-01-02 Pat Thoyts <patthoyts@users.sourceforge.net>
* demos/demo.tcl: Added a scrolled text widget to the client
frames as I think this shows off the scrollbars more clearly to
people unfamiliar with the code. Also hooked in a theme menu and
the tile widget.
* generic/altTheme.c: Added a subpackage declaration to enable
introspection of the available themes.
* win/xpTheme.c: Added local elements for the tile widget for
testing purposes.
* generic/layout.c: Themes may register new elements without
* generic/tkTheme.h: registering new styles. So the element lookup
* generic/tkTheme.c: (TTK_GetElement) must be given a starting theme
and cannot just use the style's recorded theme. This error caused
the xp theme to always use 'alt' elements. So by passing the
current theme and style, we can find the correct element to use.
2003-12-30 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c, generic/tkElements.c,
generic/tkTheme.c, generic/tkTheme.h, generic/widget.c,
library/tile.tcl: Changed element resource lookup algorithm
again; now examines settings from style. This is still not
right, but getting closer to something sensible.
* library/tile.tcl: Fix display of "active" and "pressed"
states for check & radiobuttons.
2003-12-30 Joe English <jenglish@users.sourceforge.net>
* generic/widget.c: Add WorldChanged ClassProc, so font changes
are recognized.
2003-12-28 Joe English <jenglish@users.sourceforge.net>
* generic/stepTheme.c: fix compiler warnings (signed vs unsigned)
* library/tile.tcl, library/button.tcl: moved bindings for
Button, Checkbutton, and Radiobuttons into separate file.
2003-12-13 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/altTheme.c: Make the focus ring a bit more like
the windows focus ring.
2003-12-10 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/stepTheme.c: Implemented OPENSTEP style checkbutton
* library/tile.tcl: and radiobutton indicators.
* win/xpTheme.c: Fix the shading in the vertical thumb
when pressed.
Make xpnative a child of the alt theme.
This makes the focus highlight more
nearly correct and if themeing is
disabled we should revert to the alt
style anyway.
2003-11-29 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkElements.c: Replaced Scrollbar.trough with .vtrough and
* win/xpTheme.c: .htrough as gradient fills are drawn
differently for each orientation. Used in
xpTheme so XP scrollbars now appear correct.
* win/Makefile.vc: Added user.lib for DrawFocusRect.
2003-11-26 Joe English <jenglish@users.sourceforge.net>
* generic/tkElements.c, generic/altTheme.c, library/tile.tcl:
HighlightElement: only draw focus ring if widget has keyboard focus.
* generic/layout.c, generic/scrollbar.c: Made TTK_LayoutNode opaque.
2003-10-28 Joe English <jenglish@users.sourceforge.net>
* library/tile.tcl: Scrollbars should not take keyboard focus.
* library/scrollbar.tcl: set thumb state to pressed on ButtonPresss-2
2003-10-26 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: draw focus ring (in the wrong place)
2003-10-21 Joe English <jenglish@users.sourceforge.net>
* Added -textvariable option.
2003-10-20 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c: scrollbar display tweaks.
* library/scrollbar.tcl: clicking in trough scrolls by pages.
2003-10-20 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c, library/tile.tcl: Minor appearance
tweaks for XP.
2003-10-20 Joe English <jenglish@users.sourceforge.net>
* generic/scrollbar.c, generic/tkElements.c,
library/tile.tcl, library/scrollbar.tcl:
Added [scrollbar elementstate] command; "pressed / !pressed"
feedback for individual scrollbar elements.
2003-10-20 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c: Changed layout specification internals.
This is still Not Quite Right, but closer now.
2003-10-20 Joe English <jenglish@users.sourceforge.net>
* generic/layout.c: Quick and dirty hack to layout engine
to overcome fundamental design flaws. More comprehensive
fix forthcoming...
2003-10-20 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/altTheme.c: Implemented a Highlight element to allow
* generic/tkElements.c: placing the highlight in different parts
* library/tile.tcl: of the layout.
* generic/widget.h: Avoid XP code if the headers do not
* win/xpTheme.c: support themeing.
* win/makefile.vc: Added a working install target for win32.
* demos/demo.tcl: Added some menu items as we'll want to look into
this at some point. Included a 'console' item for win32.
2003-10-17 Joe English <jenglish@users.sourceforge.net>
* Great Renaming: A "StyleEngine" is now called a "Theme".
2003-10-17 Joe English <jenglish@users.sourceforge.net>
* Added TTK_GetDefaultTheme(), TTK_GetCurrentTheme().
* Added [style settheme $theme] command. Widget -style
resource currently unused except to trigger a theme change;
need to figure out what to do with this later.
2003-10-17 Joe English <jenglish@users.sourceforge.net>
* tkTheme.[ch]: CHECKPOINT: halfway through implementing
new "Style" data structure -- have to check in and go now.
2003-10-17 Joe English <jenglish@users.sourceforge.net>
* widget.h, widget.c, tile.c: BUGFIX: recompute geometry
when -compound, -text, and other geometry-influencing
resources change.
2003-10-17 Joe English <jenglish@users.sourceforge.net>
* Makefile.in, generic/Makefile.in: added 'install' target.
2003-10-16 Joe English <jenglish@users.sourceforge.net>
* layout.h: merged into tkTheme.h
* (all): Use 'TTK_' prefix for all style engine-related public symbols
2003-10-16 Joe English <jenglish@users.sourceforge.net>
* tile.c(TileOptionSpecs): remove unneeded -highlightthickness,
-highlightcolor resources.
* demo/demo.tcl: remove dead code
2003-10-16 Joe English <jenglish@users.sourceforge.net>
* Refactoring: consolidate common code into WidgetGeometry(),
WidgetDisplay().
Removed TkDrawLayout(), TkLayoutGeometry() (no longer used).
Added TTK_FreeLayout(), fixed memory leak.
Added numerous subtle bugs.
2003-10-16 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/xpTheme.c: Added XP themed scrollbar elements.
* library/tile.tcl: Missing the gradient fill in trough.
* generic/stepTheme.c: Isolated NeXTStep theme stuff to a new
* win/makefile.vc: file and added a thumb element for this
* generic/makefile.in in addition to the widget layout.
* Makefile.in:
* generic/scrollbar.c: Switch to registering widget layouts
* generic/tile.c: per style engine. This allows a widget to
* generic/tkElements.c: have different elements for different
* generic/tkTheme.c: styles (think nextstep scrollbars)
* generic/tkTheme.h:
* generic/widget.h:
* demos/demo.tcl:
2003-10-16 Joe English <jenglish@users.sourceforge.net.
* generic/tkTheme.c(FreeStyleEngine): Free layout table.
2003-10-15 Joe English <jenglish@users.sourceforge.net>
* generic/tile.c:
_Correct_ proper error handling.
Removed unnecessary -indicatorcolor resource from
checkbuttons and radiobuttons.
* library/tile.tcl:
Better feedback for pressed checkbuttons in "classic" theme.
2003-10-15 Joe English <jenglish@users.sourceforge.net>
* generic/widget.c: Proper error handling in widget
'configure' commands.
* generic/tile.c: Proper error detection for bad -variable
specifications.
2003-10-14 Joe English <jenglish@users.sourceforge.net>
* library/keynav.tcl: Added comments.
2003-10-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/xpTheme.c (InitElementData): handle creation of elements
before they are mapped.
* win/xpTheme.c: Fix type for VC++ building.
2003-10-13 Joe English <jenglish@users.sourceforge.net>
* win/xpTheme.c: fix display glitches.
2003-10-13 Joe English <jenglish@users.sourceforge.net>
* generic/altTheme.c, generic/scrollbar.c, generic/tkElements.c,
library/scrollbar.tcl: Renamed up.arrow, &c, elements
to uparrow &c.
2003-10-13 Joe English <jenglish@users.sourceforge.net>
* license.terms: added.
2003-10-13 Joe English <jenglish@users.sourceforge.net>
* tests/*.*: Patched so test suite runs again.
2003-10-13 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkTheme.c: use tkInt.h only on Win32
* generic/tkTheme.h (NO_PRIVATE_HEADERS): defined for !WIN32 plats
* generic/tkTheme.c: use tkInt.h to get stubs decl correct for
TkGetOptionSpec usage.
* Makefile.in (INCLUDES): add srcdir/generic to includes
* win/xpTheme.c (ADDED): moved xpTheme.c to win/ subdir.
* generic/guts.h (REMOVED): noted need for tkWinInt.h
* generic/xpTheme.c (REMOVED):
* aclocal.m4: TEA build system
* configure:
* configure.in:
* Makefile.in:
* generic/altTheme.c: cast correction
2003-10-13 Jeff Hobbs <jeffh@ActiveState.com>
=== Initial import into SourceForge CVS repository ===
2003-10-12 Joe English <jenglish@flightlab.com>
* Scrollbars mostly working now.
* Removed *settings resource, UpdateSettings -- do this in
elements instead.
2003-09-26 Joe English <jenglish@flightlab.com>
* Several tweaks to make demo.tcl look reasonable.
2003-09-26 Joe English <jenglish@flightlab.com>
* src/tkTheme.c: Changed element lookup strategy (again):
"Button.border" will look for "Button.border", then "border" in
the current engine, then for "border" in the parent engine
(instead of "Button.border"). This seems to work better.
Realized that earlier restructuring had misimplemented
the TIP 48 semantics.
2003-09-26 Pat Thoyts <patthoyts@users.sourceforge.net>
* src/xpTheme.c: Fix the XP theme so it builds.
* src/widget.h: Fix the xpnative style to not crash.
* src/tile.c:
2003-09-25 Joe English <jenglish@flightlab.com
* Added first draft of script-level access to style engine.
2003-09-25 Joe English <jenglish@flightlab.com
* tkTheme.c: Updated out-of-date comments.
Gave self harsh lecture about failing to update comments
when changing the code.
2003-09-24 Joe English <jenglish@flightlab.com
* Applied patch below, tweaked so the code will
build on my machine again.
2003-09-24 Pat Thoyts <patthoyts@users.sourceforge.net>
* src/altTheme.c: Use TkPutImage which works under Win32.
* src/tkTheme.c: Renamed TkStylePkgFree to avoid a clash with the
Tk internal function of this name.
* win/Makefile.vc:
* win/rules.vc: Provide a set of MSVC build scripts.
* win/nmakehlp.c:
2003-09-16 Joe English <jenglish@flightlab.com>
* Initial implementation of a scrollbar.
2003-09-15 Joe English <jenglish@flightlab.com>
* Split "TilePart" up into "CorePart", "TilePart", and "LabelPart".
Made more routines semi-public.
Added three tenths of a scrollbar implementation.
2003-09-13 Joe English <jenglish@flightlab.com>
* Added -compound element.
2003-09-13 Joe English <jenglish@flightlab.com>
* Added -image element.
2003-09-13 Joe English <jenglish@flightlab.com>
* Minor style tweaks.
2003-09-13 Joe English <jenglish@flightlab.com>
* Added -underline option; added keyboard navigation package.
2003-09-12 Joe English <jenglish@flightlab.com>
* Fixed more check/radiobutton layout glitches.
Layout manager didn't need that much of a rethink
after all.
2003-09-12 Joe English <jenglish@flightlab.com>
* Added variable traces for check/radio buttons.
Mostly functional now.
2003-09-12 Joe English <jenglish@flightlab.com>
* Imported code from TIP 109 implementation to draw
better-looking radio / checkbuttons.
(Not Quite Right, since the TIP 109 implementation needs
to peek at Tk's internals to do its thing, and I
took that bit out.)
2003-09-11 Joe English <jenglish@flightlab.com>
* Fixed some tcheckbutton layout glitches.
2003-09-11 Joe English <jenglish@flightlab.com>
* Added semifunctional, ugly tcheckbutton widget.
Need to rethink layout manager now.
2003-09-11 Joe English <jenglish@flightlab.com>
* Added tbutton widget
2003-09-08 Joe English <jenglish@flightlab.com>
* tkTheme.c: renamed internal data structures and variable names
to improve consistency.
* tkTheme.c: removed custom Tcl_ObjType styleObjType (see
tcl-core message for why).
* tkTheme.c: removed last vestiges of ThreadSpecificData.
* tkTheme.c: Store element implementations in a linked list
instead of an array.
* widget.c, tile.c: BUGFIX: setting -style to a nonexistent style
crashed. Failed to propagate TCL_ERROR return codes.
2003-09-08 Joe English <jenglish@flightlab.com>
* Refactoring: attempt to split up generic & Tile-specific widget
code.
* 'WidgetCore' must be first member of widget structure;
simplified WidgetCommandProc() signature accordingly.
2003-09-08 Joe English <jenglish@flightlab.com>
* Refactoring: extract Tk_StateMapLookup() from UpdateSettings().
2003-09-08 Joe English <jenglish@flightlab.com>
* Added 'padding' element, Tk_GetPaddingFromObj().
2003-09-07 Joe English <jenglish@flightlab.com>
* tile.c(TileWidgetCmd): Refactoring:
replaced parallel enum/array and switch statement
with Tcl_GetIndexFromObjStruct and indirect function call.
2003-09-07 Joe English <jenglish@flightlab.com>
* tkstate.c (WidgetStateSpecUpdateString):
BUGFIX: coredump if mask == 0.
2003-09-04 Joe English <jenglish@flightlab.com>
* Make style engine responsible for extracting widget resources
instead of element implementations (see tcl-core message for details).
2003-09-04 Joe English <jenglish@flightlab.com>
* Simplified element methods (see tcl-core message for details).
2003-09-03 Joe English <jenglish@flightlab.com>
* tkTheme.[ch]: Nuked Tk_NameOfStyle; YAGNI.
2003-09-03 Joe English <jenglish@flightlab.com>
* tkTheme.[ch]: Reorganized and simplified style engine
data structures. As a side effect, also fixed bug #793825.
2003-09-02 Joe English <jenglish@flightlab.com>
* tkTheme.[ch]: Refactoring: replace two-level element
lookup scheme with one-level TTK_GetElement.
2003-09-02 Joe English <jenglish@flightlab.com>
* tkTheme.[ch]: Cloned tk/generic/tkStyle.c; changed Tk_* to TTK_*,
so I can modify style engine locally without having to patch
the core.
2003-09-01 Joe English <jenglish@flightlab.com>
* Added support for -anchor option
2003-08-31 Joe English <jenglish@flightlab.com>
* Added "label" element, first cut at declarative layout utilities.
2003-08-29 Joe English <jenglish@flightlab.com>
* Initial snapshot release.