| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Added -visible option to [item count].
|
| |
|
|
|
|
|
|
|
| |
* generic/tkTreeItem.c (Item_Configure): to be deferred to next
* generic/tkTreeCtrl.h: redraw by calling
Tree_DInfoChanged(tree, DINFO_REDO_SELECTION). Significantly
improves performance of multiple item visibility changes.
|
|
|
|
| |
verify that the value actually changed, because it can be expensive.
|
|
|
|
| |
active item changes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
columns. Not used yet.
Renamed SortData.count to columnCount for readability.
Reformatted some function headers.
CompareProc: identity test to save work.
find_pivot: bug fix.
ItemSortCmd: fix memory leak with -command option.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
causes flashing) on OS X.
|
| |
|
|
|
|
|
| |
Win32 code to use grab size constraints and honor the virtual
system metrics (OS X needs similar correction still).
|
| |
|
|
|
|
|
| |
* generic/tkTreeCtrl.c (LoupeCmd): add Win32 code to enable loupe
functionality on Windows.
|
| |
|
| |
|
| |
|
| |
|
| |
|