summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Renamed TreeItemList_ItemN to TreeItemList_Nth.treectrl2006-10-142-6/+6
|
* Fix Tree_InvalidateItemDInfo not considering column spans.treectrl2006-10-141-739/+724
| | | | | | Added Tree_AreaBbox for getting the bounds of onscreen areas. Renamed TREE_HIT_xxx to TREE_AREA_xxx. Much improvement in displaying locked columns.
* Renamed IFO_xxx flags.treectrl2006-10-141-2/+2
|
* TreeColumn_FromObj sets CFO_NOT_MANY by default.treectrl2006-10-141-50/+221
| | | | | | | | | Added -indicatorside option to [column dragconfigure]. Added CFO_LIST_ALL flag. Moved ColumnForEach declarations to tkTreeCtrl.h. Disallow changing the -lock option of the tail column. Rewrote [column delete] to use multi-column descriptions. Fix [column move] to allow proper reordering of locked columns.
* [contentbox] returns an empty string if the content area is <= 0 height or ↵treectrl2006-10-141-75/+91
| | | | | | | | width. Updated the deprecated [expand], [collpase] and [toggle] to agree with the preferred [item expand] etc. Renamed IFO_xxx flags. Renamed TreeItemList_ItemN to TreeItemList_Nth.
* Added -indicatorside option to [column dragconfigure].treectrl2006-10-141-12/+65
| | | | | | Renamed IFO_xxx flags. Moved ItemForEach and ColumnForEach from their respective files. Renamed TREE_HIT_xxx to TREE_AREA_xxx.
* New file to demonstrate the column option -lock.treectrl2006-10-111-0/+176
|
* Verify [console] command exists so demo can be run in a slave interp.treectrl2006-10-111-10/+66
| | | | | | | | | <Control-Shift-ButtonXXX> bindings will drag the marquee and redraw the selected area. Added -drawcolor to [debug configure]. Added -displaydelay to Debug right-click menu. Added -lock to column right-click menu. Added "Column Locking" demo. The loupe window is now hidden by default, and hiding it will cancel the "after" command. It can be displayed via the main menu.
* 2 nitpicks.treectrl2006-10-111-2/+5
|
* Added StyleDrawArgs.bounds for clipping window elements.treectrl2006-10-111-43/+56
| | | | Tree_InvalidateItemDInfo and Tree_InvalidateColumnWidth now take a TreeColumn arg.
* Tree_ItemsInArea returns a TreeItemList.treectrl2006-10-111-9/+11
|
* Added column option -lock.treectrl2006-10-111-52/+193
| | | | Tree_InvalidateItemDInfo and Tree_InvalidateColumnWidth now take a TreeColumn arg.
* Fixed a bug with window elements when another geometry manager takes control ↵treectrl2006-10-111-7/+18
| | | | of a managed window.
* Added column option -lock.treectrl2006-10-111-1/+5
|
* Added column option -lock.treectrl2006-10-111-85/+999
| | | | | | | | Added Tree_HitTest to determine the area of the window containing a point. Tree_ItemsInArea returns a TreeItemList. Changed DInfo.columnWidth to track column, offset and width. Tree_InvalidateItemDInfo can now invalidate a single column rather than the entire item. Tree_InvalidateRegion invalidates only the parts of the item overlapped by the region.
* Added column option -lock.treectrl2006-10-111-13/+85
| | | | | Added -drawcolor to [debug configure]. Added -rowproxy option for resizing rows.
* Added column option -lock.treectrl2006-10-111-42/+97
| | | | | | Added -drawcolor to [debug configure]. Added [debug expose] command. Added -rowproxy option for resizing rows.
* Added column option -lock.treectrl2006-10-111-190/+850
| | | | | | | Fixed bug with "prev" in column descriptions. Added "list" and "range" keywords to column descriptions. Added TreeColumn_Bbox and Tree_HeaderUnderPoint. Tree_InvalidateColumnWidth/Height accept a TreeColumn instead of an index.
* Use the new PerStateInfo custom option, eliminating some code.treectrl2006-10-051-53/+21
| | | | Added a TreeCtrl arg to TagInfo_xxx.
* Use the new PerStateInfo custom option, eliminating some code.treectrl2006-10-051-36/+12
|
* Added AllocHax_Realloc.treectrl2006-10-051-7/+15
| | | | | | Changed TagInfo_xxx to accept a TreeCtrl arg and use AllocHax_xxx for a big speedup. Created a PerStateInfo custom option type. Added 2 fields to TreeCtrl to support larger-than-a-double custom options.
* Fix a bug with -orient horizontal and rowlabels.treectrl2006-10-051-2/+11
|
* Use the new PerStateInfo custom option, eliminating a lot of code.treectrl2006-10-051-263/+80
|
* Changed TagInfo_xxx to accept a TreeCtrl arg.treectrl2006-10-052-11/+11
|
* Added AllocHax_Realloc.treectrl2006-10-051-18/+290
| | | | | Changed TagInfo_xxx to accept a TreeCtrl arg and use AllocHax_xxx for a big speedup. Created a PerStateInfo custom option type.
* [tag] -> [item tag]treectrl2006-10-041-57/+62
|
* New file.treectrl2006-10-041-0/+145
|
* Added tkTreeRowLabel.c.treectrl2006-10-042-3/+5
|
* Use the window element -clip option.treectrl2006-10-041-4/+13
|
* Column -tag is now -tags (although -tag is still backwards-compatible).treectrl2006-10-048-47/+47
|
* Column -tag is now -tags (although -tag is still backwards-compatible).treectrl2006-10-041-11/+41
| | | | | | Added rowlabels demo. Added -columnrsizemode, -showrowlabels, -rowlabelresize to right-click menu. Use -columnbreak option on the column and span menus.
* Column -tag is now -tags (although -tag is still backwards-compatible).treectrl2006-10-041-5/+4
| | | | ttk::entry is no longer imported since it fubars the library text-editing code.
* Column -tag is now -tags (although -tag is still backwards-compatible).treectrl2006-10-045-32/+31
|
* Handle resizing rowlabels.treectrl2006-10-041-18/+190
|
* New file.treectrl2006-10-041-0/+3107
|
* Wrap various fields in TREECTRL_DEBUG define to save some memory.treectrl2006-10-041-92/+1036
| | | | | | TreeItemList_xxx renamed to TreePtrList_xxx so columns and rowlabels can use these routines. TagExpr_xxx moved from tkTreeItem.c TagInfo_xxx added.
* Separated Style into MStyle and IStyle to save some memory.treectrl2006-10-041-356/+827
| | | | | ElementLink -> MElementLink and IElementLink. Rowlabels use styles too, so they get updated when styles/elements change.
* Moved ItemTags and TagExpr stuff to tkTreeCtrl.h and tkTreeUtils.c.treectrl2006-10-041-1062/+406
| | | | | | | | Added -tags option to items. Renamed [tag] to [item tag]. Removed unused fields from Item and Column to save a bit of memory. Cleaned up TreeItemList_FromObj a bit. Allow tag expressions to be the first part of an item description without using the "tag" keyword. Rename TreeForEach stuff to ItemForEach.
* Added TreeRowLabel field/arg.treectrl2006-10-042-4/+42
|
* Arrange and draw rowlabels.treectrl2006-10-041-241/+664
| | | | | | Use Tree_ContentXXX macros. Fix display bug when scrolling more than a screenful (pixels might be copied over the borders). Draw -rowproxy like -columnproxy.
* New treectrl options: -rowlabelresize, -rowlabelwidth, -minrowlabelwidth, ↵treectrl2006-10-041-41/+107
| | | | | | | | | | -maxrowlabelwidth, -rowlabelprefix, -rowproxy, -showrowlabels. Added [rowlabel] command. Moved [tag] command to [item tag] since columns and rowlabels have tags too. [identify] command may return "rowlabel ...". Use Tree_ContentXXX macros. Moved TreeStyle_Init out of package init routine into treectrl create routine because it initialized TreeCtrl.styleOptionTable now (before it did nothing).
* TreeItemList stuff renamed to TreePtrList so columns and rowlabels can use them.treectrl2006-10-041-25/+219
| | | | | | | Added TreeCtrl.columnLast to point to the rightmost user-made column. New treectrl options: -rowlabelresize, -rowlabelwidth, -minrowlabelwidth, -maxrowlabelwidth, -rowlabelprefix, -rowproxy, -showrowlabels. Various declarations for handling rowlabels. Move TagInfo and TagExpr from tkTreeItem.c.
* The -tag option is now -tags and uses a TagInfo struct.treectrl2006-10-041-326/+923
| | | | | | | | "tail" is no longer a tag; it remains a keyword in column descriptions. Added Column.prev to make the list of columns double-linked. Allow column descriptions to refer to multiple columns. Added [column tag] command. [column id] returns a list of matching columns.
* Fix control- and shift-clicks in an empty list. [Patch 1556387]treectrl2006-09-271-5/+10
|
* Added -clip option to window elements.treectrl2006-09-271-3813/+353
|
* Added -clip option to window elements.treectrl2006-09-273-4/+29
|
* Clip window elements.treectrl2006-09-271-14/+39
| | | | Use Tile if available.
* Moved check for Tile from firefox.tcl.treectrl2006-09-271-1/+9
|
* Nitpick.treectrl2006-09-271-5/+6
|
* Moved check for Tile to demo.tcl.treectrl2006-09-271-31/+114
| | | | Clip window elements.