| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Added Tree_AreaBbox for getting the bounds of onscreen areas.
Renamed TREE_HIT_xxx to TREE_AREA_xxx.
Much improvement in displaying locked columns.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Renamed IFO_xxx flags.
Moved ItemForEach and ColumnForEach from their respective files.
Renamed TREE_HIT_xxx to TREE_AREA_xxx.
|
|
|
|
| |
Tree_InvalidateItemDInfo and Tree_InvalidateColumnWidth now take a TreeColumn arg.
|
| |
|
|
|
|
| |
Tree_InvalidateItemDInfo and Tree_InvalidateColumnWidth now take a TreeColumn arg.
|
|
|
|
| |
of a managed window.
|
| |
|
|
|
|
|
|
|
|
| |
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 -drawcolor to [debug configure].
Added -rowproxy option for resizing rows.
|
|
|
|
|
|
| |
Added -drawcolor to [debug configure].
Added [debug expose] command.
Added -rowproxy option for resizing rows.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Added a TreeCtrl arg to TagInfo_xxx.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Changed TagInfo_xxx to accept a TreeCtrl arg and use AllocHax_xxx for a big speedup.
Created a PerStateInfo custom option type.
|
| |
|
|
|
|
|
|
| |
TreeItemList_xxx renamed to TreePtrList_xxx so columns and rowlabels can use these routines.
TagExpr_xxx moved from tkTreeItem.c
TagInfo_xxx added.
|
|
|
|
|
| |
ElementLink -> MElementLink and IElementLink.
Rowlabels use styles too, so they get updated when styles/elements change.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Use Tree_ContentXXX macros.
Fix display bug when scrolling more than a screenful (pixels might be copied over the borders).
Draw -rowproxy like -columnproxy.
|
|
|
|
|
|
|
|
|
|
| |
-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).
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
| |
elements.
|
|
|
|
| |
mostly the same as TreeItem_Draw).
|
| |
|
| |
|
|
|
|
| |
Rewrote Tree_InvalidateRegion to make screen updates more efficient.
|
|
|
|
|
|
|
|
|
|
| |
Added [item descendants] command.
Added "descendants" modifier to item descriptions.
Added -tags option to [item create].
TagExpr_xxx routines added for evaluating tag expressions. Code was lifted from theTk Canvas.
Created a struct for holding info about qualifiers in item descriptions and added a new qualifiers"tag" and "!visible".
Allow keyword "tag" to be the first word in an item description.
"all" may now be followed by qualifiers in item descriptions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added TreeForEach_xxx to make iterating over item-list arguments easier.
Fix TreeItem_ListDescendants; it was appending the given item and skipping the last descendant.
Rewrote the following commands to accept multi-item item descriptions:
item element configure
item image
item style map
item style set
item state forcolumn
item state set
item remove
item span
item text
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TreeItem_FromObj renamed to TreeItemList_FromObj.
TreeItemList_FromObj: added "list", "range", "ancestors" and "children" keywords for matching multiple items.
Added TreeItem_FirstAndLast, TreeItem_ListDescendants.
[item create]: fixed bug where -nextsibling and -prevsibling options could specify an orphan item.
Tree_DeselectHidden rewritten to use TreeItemList.
TreeItemCmd: Use TreeItemList_FromObj to get lists of items to operate on instead of single items.
[item expand], [item collapse], [item toggle]: Only operate on items which exist when the command is called, not any that might get created by <Expand> or <Collapse> binding scripts. Handle item descriptions that refer to multiple items.
[item compare]: removed 2nd-arg code since argInfo[] was changed to handle an extra argument.
[item configure]: Handle item descriptions that refer to multiple items.
[item delete]: Handle item descriptions that refer to multiple items. Use TreeCtrl.preserveItemList to hold deleted items until any nested calls complete.
[item enabled]: Handle item descriptions that refer to multiple items.
[item id]: Handle item descriptions that refer to multiple items. Return a list of item ids instead of only one.
|
|
|
|
|
|
|
| |
Tree_Display: preserve the tree and items so binding scripts don't free them.
Tree_Display: if <Scroll> or <ItemVisibility> scripts cause a redraw request, jump to the top of the routine and start redisplaying again.
Tree_Display: the block of code handling itemVisHash was moved before any drawing code and rewritten to use TreeItemList. itemVisHash now uses TreeItems instead of item ids as indexes.
Tree_Display: moved TreeItem_UpdateWindowPositions from the itemVisHash block down to the drawing block.
|
|
|
|
|
|
| |
TreeItemList and related funcs instead of STATIC_ALLOC for handling lists of items.
TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems added for managing deleted items.
|
|
|
|
|
|
|
|
|
| |
STATIC_ALLOC for handling lists of items.
Removed TreeCtrl.displayInProgress flag.
Added TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems for managing deleted items.
Added IFO_NOTORPHAN flag for rejecting orphans.
Various TreeNotify_xxx routines changed to accept TreeItemList args.
|
|
|
|
|
|
|
|
| |
added a new qualifier "state xxx". The "state" qualifier filters out items which do not match a given list of states.
Added [item enabled] command to set/get the "enabled" state of an item.
Define TreeItem_GetEnabled.
Fix typo in comment.
|
|
|
|
| |
Removed some unused code.
|