summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added new "window" element type.treectrl2005-05-101-48/+12
| | | | | Moved PerState declarations to tkTreeCtrl.h. Changes to ElementArgs to support new "window" element type (or any other element type which changes itself outside of configure).
* Added new "window" element type.treectrl2005-05-101-706/+752
| | | | | Moved ObjectIsEmpty() and PerState stuff to tkTreeUtils.c. Renamed ElementType callbacks for consistency.
* Keep a list of free DItems to reduce memory alloc/free.treectrl2005-05-101-2/+129
| | | | | Maintain a list of visible items to support new "window" element type. Fixed bug where buttons and lines could be drawn over another column if the -treecolumn was very narrow.
* Replaced -openbuttonbitmap, -closedbuttonbitmap, -openbuttonimage, and ↵treectrl2005-05-101-25/+148
| | | | | | | | | -closedbuttonimage with per-state options -buttonbitmap and -buttonimage. Added -minitemheight option. Drag-and-drop column reordering now supported. Added "columndrag" command. Moved PerState stuff from tkTreeElem.h. Various declarations.
* Replaced -openbuttonbitmap, -closedbuttonbitmap, -openbuttonimage, and ↵treectrl2005-05-101-185/+248
| | | | | | | | -closedbuttonimage with per-state options -buttonbitmap and -buttonimage. Added -minitemheight option. Drag-and-drop column reordering now supported. Added "columndrag" command. Fixed bug where some options would not be properly processed when a treectrl was created. This was only a problem when the option database changed the defaults.
* Changed -background option to a per-state option.treectrl2005-05-101-367/+1079
| | | | | | | | Added -arrowimage and -arrowbitmap per-state options. Replaced -arrowpad with -arrowpadx and -arrowpady. Multi-line column titles now supported. Added -textlines option. Replaced -relief and -sunken options with -state. Drag-and-drop column reordering now supported.
* * generic/tkTreeTheme.c: correct headers to build on unix and usehobbs22005-05-021-6/+11
| | | | of c++-style var decls.
* Initial import of Theme API file.treectrl2005-05-011-0/+657
|
* Bumped copyright to 2005.treectrl2005-05-011-8/+13
| | | | | Use new TreeElement_TypeFromObj. Changed comparison against elemTypeText because ElementTypes are now malloc'd.
* Bumped copyright to 2005.treectrl2005-05-013-6/+6
|
* Bumped copyright to 2005.treectrl2005-05-011-7/+17
| | | | | Don't draw horizontal line unless it connects to a vertical line. Use new Theme API to draw buttons.
* Bumped copyright to 2005.treectrl2005-05-011-4/+3
| | | | | Removed declaration of elementTypeList. Added declaration of TreeElement_TypeFromObj.
* Bumped copyright to 2005.treectrl2005-05-011-23/+97
| | | | Replaced global elementTypeList with multi-interp friendly code. Problem was ElementType contained per-interp Tk_OptionTables.
* Bumped copyright to 2005.treectrl2005-05-011-2/+2
|
* Bumped copyright to 2005.treectrl2005-05-011-2/+3
| | | | Force redraw of header in Tk_RelayoutWindow.
* Bumped copyright to 2005.treectrl2005-05-011-3/+22
| | | | | Added -usetheme option. Various declarations for Theme API.
* Bumped copyright to 2005.treectrl2005-05-011-7/+68
| | | | | | | | Added -usetheme option. "identify" command returns empty string if point is not inside borders. Was only a problem in the header. Fixed bug where open/closedButtonWidth/Height were not always updated. Use Theme API to get size of buttons. Initialize Theme stuff.
* Bumped copyright to 2005.treectrl2005-05-011-5/+52
| | | | | | Removed call to Tk_Draw3DRectangle() since Tk_Fill3DRectangle() calls it for us. Added -state option. Draw column headers using the Theme API.
* Bumped copyright to 2005.treectrl2005-05-012-4/+4
|
* Removed spurious '\' character.treectrl2005-03-291-2/+2
|
* Added %P and %? %-substitution characters.treectrl2005-03-291-6/+39
|
* New -showrootlines config option.treectrl2005-03-291-2/+25
| | | | Don't draw horizontal line to self unless it connects to a vertical line or our button.
* New -showrootlines config option.treectrl2005-03-291-1/+4
| | | | Declare TreeItem_NextSiblingVisible.
* New -showrootlines config option.treectrl2005-03-291-2/+9
| | | | Check for visible next sibling before reporting "line" in "identify" command.