summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Limit number of lines of text in column header to 1 under Aqua when ↵treectrl2005-05-241-15/+12
| | | | | | -usetheme is true. Use Tree_DrawBitmapXXX to draw bitmaps.
* Changed -backgroundmode values "index"->"order" and ↵treectrl2005-05-241-2/+2
| | | | "visindex"->"ordervisible". Old values still accepted.
* Changed -backgroundmode constants.treectrl2005-05-241-4/+13
| | | | Declared Tree_DrawBitmapXXX.
* Changed -backgroundmode constants.treectrl2005-05-241-3/+7
|
* Handle <FocusIn>/<FocusOut> the way Tile does. See ↵treectrl2005-05-221-3/+13
| | | | https://sourceforge.net/tracker/?func=detail&atid=111464&aid=1206674&group_id=11464.
* Call Tree_Activate to respond to <Activate> and <Deactivate> events for ↵treectrl2005-05-221-27/+43
| | | | Win32 and Mac.
* Added isActive flag to TreeCtrl to track <Activate>/<Deactivate> events on ↵treectrl2005-05-221-1/+5
| | | | Win32 and Mac.
* Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵treectrl2005-05-221-3/+30
| | | | | | supported by QuickDraw, not CoreGraphics. Added Tree_Activate to respond to <Activate> and <Deactivate> events for Win32 and Mac. Causes the tree header to be redrawn if -usetheme is true. Only needed for OSX.
* Use COLUMN_STATE_XXX macros for readability.treectrl2005-05-221-14/+25
| | | | Replace kThemeStateRollover with kThemeStateActive. I don't think the rollover state is supported.
* Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵treectrl2005-05-221-3/+27
| | | | supported by QuickDraw, not CoreGraphics.
* Add "int arrow" arg to 2 routines to allow Appearance Manager to draw sort ↵treectrl2005-05-221-21/+29
| | | | | | arrow under Aqua. Fix drawing location of headers and open/close buttons under Aqua.
* Fixes to DotRect_xxx under Aqua since Quartz doesn't do XOR drawing.treectrl2005-05-221-4/+76
| | | | | Fix Tk_FillRegion under Aqua. Declare Tree_ScrollWindow to work around Tk bug with TkScrollWindow on the Mac.
* Replace TkScrollWindow with Tree_ScrollWindow to work around Tk bug on the Mac.treectrl2005-05-221-8/+8
|
* Various declarations.treectrl2005-05-221-4/+8
|
* Added -resize option.treectrl2005-05-221-6/+82
| | | | Numerous hacks under OSX/Aqua to let Appearance Manager draw the sort arrow.
* Added -maxwidth option.treectrl2005-05-211-13/+43
| | | | Aqua list headers have a fixed height.
* Aqua list headers have a fixed height. Guess the correct state.treectrl2005-05-211-4/+16
|
* Attempt fix for Tk_FillRegion using OffsetRgn.treectrl2005-05-211-1/+4
|
* Fixes to Tk_FillRegion() (thx to M Kirkham).treectrl2005-05-211-4/+3
|
* Use Appearance Manager to draw list header and open/close buttons. *** ↵treectrl2005-05-201-2/+131
| | | | Hasn't been compiled yet. ***
* Put back Tk_FillRegion() change.treectrl2005-05-201-2/+23
|
* Call XSetClipOrigin after drawing bitmap.treectrl2005-05-192-5/+7
|
* Replaced TARGET_OS_MAC with MAC_TCL and MAC_OSX_TK macros according to ↵treectrl2005-05-194-24/+13
| | | | Apple's Tiger patches.
* Replaced TARGET_OS_MAC with MAC_TCL and MAC_OSX_TK macros according to ↵treectrl2005-05-191-30/+9
| | | | | | Apple's Tiger patches. Reverted recent changed to Tk_FillRegion(). Original must have worked?
* Attempt to fix Tk_FillRegion() on the mac using QuickDraw. *** Hasn't even ↵treectrl2005-05-191-2/+22
| | | | been compiled yet. ***
* Cast argument to AllocHax_Free() and AllocHax_CFree().treectrl2005-05-192-17/+19
|
* ALLOC_HAX: play games with memory allocation for speed boost.treectrl2005-05-171-5/+21
|
* Added -textvariable option to "text" elements.treectrl2005-05-171-14/+168
|
* ALLOC_HAX: play games with memory allocation for speed boost.treectrl2005-05-171-1/+79
| | | | Fixed bug with new -indent layout option and column justification.
* Added new column description "tree".treectrl2005-05-171-3/+9
|
* ALLOC_HAX: play games with memory allocation for speed boost.treectrl2005-05-173-6/+163
|
* Removed DItem.nextFree since it is redundant.treectrl2005-05-171-5/+4
|
* Experimental hacks to allow -detach elements to appear under the button/line ↵treectrl2005-05-142-2/+19
| | | | area using new layout option -indent.
* Experimental hacks to allow -detach elements to appear under the button/line ↵treectrl2005-05-141-17/+77
| | | | | | area using new layout option -indent. Fixes for tree->columnPrefix when reporting errors.
* Experimental hacks to allow -detach elements to appear under the button/line ↵treectrl2005-05-141-13/+212
| | | | | | | | area using new layout option -indent. Fixed bug with calculation of -union padding. Set style->layoutWidth to limit recalculating height of a style (should have always been this way???). Fixed OLD bug with reporting -ipadx and -ipady layout options.
* Removed some dbwin() calls.treectrl2005-05-131-4/+1
|
* Return a better error when attempting to retrieve configuration info for an ↵treectrl2005-05-131-4/+23
| | | | element that has never been configured for an item.
* Replaced global itemPrefix with tree->itemPrefix option.treectrl2005-05-131-30/+31
|
* New command "item compare", "compare" is deprecated.treectrl2005-05-131-63/+151
| | | | | | | | | New command "item count", "numitems" is deprecated. New command "item id", "index" is deprecated. Replaced "item index" with "item order". Replaced itemPrefix global with tree->itemPrefix option. Use tree->columnPrefix when reporting column id. tree->columnTree is no longer an int.
* Use STATIC_ALLOC macro.treectrl2005-05-131-7/+5
|
* Fixed display not redrawing when deleting columns if columns had same width.treectrl2005-05-131-1/+22
|
* -treecolumn requires real column or "", not an int.treectrl2005-05-131-12/+21
| | | | itemPrefix, columnPrefix, nextColumnId added.
* New option -columnprefix changes how column ids look.treectrl2005-05-131-144/+33
| | | | | | | | New option -itemprefix changes how item ids look. The -treecolumn option must be an actual column. Previously it was any integer which defaulted to zero; now it must be specified. "identify" command result contains column id, not index. Moved dragSpecs to tkTreeColumn.c. Moved "columndrag" commands to tkTreeColumn.c.
* The result of "column create" is now a unique identifier.treectrl2005-05-131-51/+669
| | | | | | | | | | | | Moved "columndrag configure" and "columndrag cget" to the toplevel column command -> "column dragconfigure" and "column dragcget". Added custom option type for processing configuration options which expect a tree column. Columns may be specified in a robust way similar to item descriptions. Previously only -tag and visible index were supported. New command "column compare" should be used to see if two column descriptions refer to the same column. "column configure" accepts column description of "all" as long as one or more option-value pairs are given. "column delete" accepts column description of "all". New command "column id" resolves column description into a unique identifier. "column index" is deprecated. New command "column list" gives list of columns. New command "column order" gives index of column in the list of columns.
* Removed a bunch of conditional-compilation stuff and dead code.treectrl2005-05-118-654/+154
|
* Added arg to Ellipsis to force ellipsis.treectrl2005-05-101-12/+856
| | | | | | XImage2Photo added to support column drag-and-drop reordering. Truncation with "..." is less aggressive when space is available. Moved PerState stuff from tkTreeElem.c.
* Changed name of assoc data from TreeTheme to TreeCtrlTheme for consistency ↵treectrl2005-05-101-2/+2
| | | | with other calls to Tcl_SetAssocData.
* Fixed bug with column -justify center|right and horizontal expansion. ↵treectrl2005-05-101-94/+247
| | | | | | Elements could be shifted out of view. Added code to support new "window" element type.
* New <ItemDelete> event.treectrl2005-05-101-1/+64
|
* Changes for new -buttonimage and -buttonbitmap per-state options.treectrl2005-05-101-79/+327
| | | | | | | | New -minitemheight option. Fixed bug where buttons and lines could be drawn over another column if the -treecolumn was too narrow. Code added to support new "window" element type. New <ItemDelete> event generated before items are deleted. Fixed bug with <Selection> event not reporting all selected items being deleted.