summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tweaked column drag-and-drop behaviour: when the pointer is over a column ↵treectrl2006-10-271-1/+9
| | | | adjacent to the dragged column a drop is indicated without having to move the cursor to the left or right half of the adjacent column.
* Consolidated the column-layout code, and applied the -uniform and -weight ↵treectrl2006-10-271-269/+474
| | | | options to locked columns.
* Sync with current features.treectrl2006-10-271-37/+271
|
* Added column options -uniform and -weight.treectrl2006-10-273-265/+305
| | | | Misc rewrites.
* The -weight option affects how extra space is allocated amongst -expand columns.treectrl2006-10-271-5/+30
|
* Added -uniform and -weight options to columns, which operate the same as the ↵treectrl2006-10-272-2/+224
| | | | [grid] geometry manager.
* Don't scroll horizontally if the initial click is in a locked column.treectrl2006-10-261-31/+45
|
* Don't allocate an item-column if setting its style to NULL.treectrl2006-10-261-4/+6
|
* Changed dynamic-option code to use AllocHax_xxx.treectrl2006-10-264-46/+130
|
* Nitpicks.treectrl2006-10-261-5/+5
|
* Column description of "all" doesn't return the tail column if the command ↵treectrl2006-10-261-53/+57
| | | | | | prohibits the tail. Fixed crash with "range a b" when a or b was the tail column.
* Declare DynamicOption_AllocIfNeeded (used by ElementText).treectrl2006-10-251-3/+5
|
* Moved 4 fields out of ElementText into a dynamic-option record.treectrl2006-10-251-77/+119
|
* Tree_GetImage now uses reference counting on images. Tree_FreeImage ↵treectrl2006-10-182-23/+85
| | | | decrements the reference count and frees the image when needed.
* DumpDInfo sets the interpreter result instead of calling dbwin.treectrl2006-10-181-9/+21
|
* Per-state images call Tree_FreeImage to decrement the reference count on an ↵treectrl2006-10-181-36/+37
| | | | | | | image. Previously the image instance was not freed until the tree was destroyed. Fiddled with AllocHax code. AllocHax_Stats dumps the result to the interpreter directly, instead of returning an malloc'd string.
* Merged with BRANCH_dynamic_options.treectrl2006-10-189-820/+3236
|
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-161-20/+29
| | | | TreeItem_UpdateWindowPositions only considers columns that are onscreen; this is possible because of the changes in tkTreeStyle.c.
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-161-28/+43
| | | | Lowered memory usage by lowering the "round up" argument to AllocHax_CAlloc.
* Fixed "state" qualifier in column descriptions.treectrl2006-10-161-129/+142
|
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-162-63/+157
|
* Added [debug alloc] command to display info about memory allocations.treectrl2006-10-161-3/+15
|
* Track which item-columns are onscreen so that window elements are unmapped ↵treectrl2006-10-161-35/+288
| | | | when columns are moved, hidden or obscurred.
* Remove rowlabels.treectrl2006-10-1412-4291/+24
|
* Remove tkTreeRowLabel.c.treectrl2006-10-142-5/+3
|
* Added a right-locked column.treectrl2006-10-141-13/+47
|
* Rearranged the "Debug" right-click menu.treectrl2006-10-141-16/+29
| | | | Added zoom radiobuttons to the loupe window (renamed to TreeCtrl Magnifier).
* Use [item collapse] instead of deprecated [collpase].treectrl2006-10-141-2/+2
|
* Fixed various commands using an arbitrary item if multiple items were ↵treectrl2006-10-141-14/+14
| | | | specified but forbidden.
* Fix resizing and dragging locked columns.treectrl2006-10-141-39/+129
| | | | Fix typos.
* Renamed TreeItemList_ItemN to TreeItemList_Nth.treectrl2006-10-141-340/+458
| | | | | | | | | Added IFO_LIST_ALL flag and renamed other IFO_xxx flags. Moved ItemForEach delcarations to tkTreeCtrl.h. Added TreeItem_GetSpans so display code can invalidate columns properly. Use Tree_AreaBbox for getting the bounds when displaying window elements. Fixed [item element], [item style], [item configure] and [item enabled] commands using an arbitrary item if multiple items were specified but forbidden. Rewrote [item element configure], [item image], [item span], [item state forcolumn], [item style map], [item style set] and [item text] to use multi-column column descriptions.
* 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.