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-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.