summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed bug resulting in redrawing the borders needlessly.treectrl2006-11-131-17/+28
|
* Fixed not being able to scroll horizontally when the header is wider than ↵treectrl2006-11-123-59/+101
| | | | | | | the window but no items are displayed. Merged the DINFO_REDO_COLUMN_WIDTH and DINFO_CHECK_COLUMN_WIDTH blocks. Recalculate tree->columnBgCnt here since it wasn't being done when columns were deleted etc. Make sure whitespace is redrawn when changing from complex to non-complex drawing (i.e., drawing -itembackground colors).
* Removed a useless #args check from [element delete] and added one to ↵treectrl2006-11-121-6/+6
| | | | [element names].
* Fixed crash with incorrect number of args in [element perstate].treectrl2006-11-101-2/+2
|
* Always include tclInt.h to fix compilation under 8.5.treectrl2006-11-101-6/+31
| | | | Fixed incorrect duplicating of list objects in PerStateInfo_Undefine.
* Fixed bug with TreeItem_UpdateWindowPositions not stopping on the right edge ↵treectrl2006-11-101-3/+3
| | | | | | of the visible area (was using the bottom edge by mistake). Make TreeItem_Identify2 stop checking spans that are past the right edge of the area being hit-tested.
* Always include tclInt.h to fix compilation under 8.5.treectrl2006-11-101-7/+2
|
* Changed 2 incorrect 'return' statements to 'goto'.treectrl2006-11-101-3/+3
|
* Added Tree_HeaderXXX macros for getting the position of the header.treectrl2006-11-103-20/+31
|
* Moved checks of tree->updateIndex into Tree_UpdateItemIndex.treectrl2006-11-091-3/+2
|
* Moved checks of tree->updateIndex into Tree_UpdateItemIndex.treectrl2006-11-091-74/+111
| | | | | Removed lots of type-casts. Changed the drawing order of -itembackground colors in the whitespace region to match that of item drawing (center, left then right).
* Moved checks of tree->updateIndex into Tree_UpdateItemIndex.treectrl2006-11-091-24/+24
| | | | | Fixed [item bbox] not working when the widget was not mapped. Fixed [item bbox] not returning an error if the element name was invalid.
* Fixed disclosure triangles being drawn with a white background under OSX.treectrl2006-11-091-6/+2
|
* Removed hundreds of type-casts and pointer copies.treectrl2006-11-084-891/+770
|
* Moved TreeCtrlColumnImage out of the global namespace.treectrl2006-11-081-44/+39
| | | | Fixed clipping error on the drag image when a column header is wider than the window.
* Code cleanup and comments added.treectrl2006-11-081-68/+124
|
* Attempt to avoid the white background behind the disclosure triangles on ↵treectrl2006-11-071-3/+29
| | | | OSX. Remains to be tested...
* Declare TreeItem_GetElemRects, remove TreeStyle_ValidateElements.treectrl2006-11-071-2/+6
|
* Changed [dragimage add] to respect spans and locked columns.treectrl2006-11-071-5/+103
|
* Changed [item bbox] to respect spans.treectrl2006-11-071-4/+110
|
* TreeStyle_ValidateElements no longer used.treectrl2006-11-071-7/+12
|
* Sped up calculation of scroll increments when there is only a single range.treectrl2006-11-071-37/+59
|
* Remove COLUMN_LOCK-related code.treectrl2006-11-076-654/+75
|
* Remove COLUMN_SPAN-related code.treectrl2006-11-073-305/+45
|
* Remove NEW_SPAN_CODE-related code.treectrl2006-11-075-163/+36
|
* Keep an array of column indexes for each item that has at least one span > ↵treectrl2006-11-061-1/+11
| | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. Declare DStringAppendf.
* Keep an array of column indexes for each item that has at least one span > ↵treectrl2006-11-061-3/+30
| | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. DumpDInfo now takes an index to indicate which kind of information to return.
* Keep an array of column indexes for each item that has at least one span > ↵treectrl2006-11-061-115/+145
| | | | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. Use DStringAppendf in various places. Cleaned up the column-tracking code. DumpDInfo now takes an index to indicate which kind of information to return.
* Keep an array of column indexes for each item that has at least one span > ↵treectrl2006-11-061-1/+17
| | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed.
* Keep an array of column indexes for each item that has at least one span > ↵treectrl2006-11-061-13/+276
| | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. TreeItem_OnScreen disabled since the display code tracks each column's visibility.
* Added DStringAppendf to append a formatted string to a dynamic string. Use ↵treectrl2006-11-061-4/+33
| | | | it in AllocHax_Stats.
* Fixed item background colors not drawing over the whole item in some cases.treectrl2006-11-061-12/+20
|
* Fix some cases where left/right locked columns weren't being redisplayed.treectrl2006-11-061-25/+65
|
* Chopped out WALK_SPANS unused code.treectrl2006-11-061-454/+1
|
* Added missing prototype.treectrl2006-11-061-1/+2
|
* Be more efficient when calculating which columns are onscreen.treectrl2006-11-061-5/+21
|
* Avoid unnecessary calculation of column offset.treectrl2006-11-061-10/+4
| | | | Remove forgotten line of code.
* Added a routine to walk over each span of an item and call a callback ↵treectrl2006-11-061-77/+536
| | | | routine. This is used for drawing, updating window positions, and hit-testing. Previously the same complicated code for walking over spans was used in each case.
* Fixed improper use of DInfo.empty.treectrl2006-11-051-363/+328
| | | | | Draw -itembackground colors into the whitespace region, but only for -orient=verical, wrap={}, and -itemheight or -minitemheight > 0. Fixed vertical-scrolling bug when no non-locked column are displayed.
* Checkin complex whitespace code before pruning it.treectrl2006-11-041-107/+214
|
* Deprecated the treectrl option -defaultstyle.treectrl2006-11-036-19/+220
| | | | Added column option -itemstyle (replaces -defaultstyle).
* Removed unneeded COLU_CONF_xxx constants.treectrl2006-11-031-24/+26
| | | | Fix problem when an error occurs configuring -image or -itembackground options.
* Fix crash when destroying a treectrl with non-empty -backgroundimage.treectrl2006-11-031-9/+22
| | | | Fix possible memory leak when an error occurs configuring -backgroundimage and/or -defaultstyles.
* Fixed handling of Tcl_Obj with per-state custom options.treectrl2006-11-031-14/+27
|
* Fix compilation when ALLOC_HAX is undefined.treectrl2006-11-031-3/+3
|
* Fixed handling of Tcl_Obj with per-state and dynamic custom options.treectrl2006-11-031-32/+103
| | | | | Fix compilation when ALLOC_HAX is undefined. Fix crash caused by double-freeing memory when freeing dynamic options.
* Fixed handling of Tcl_Obj with per-state custom options.treectrl2006-11-031-6/+33
|
* BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.treectrl2006-11-031-4/+15
| | | | | | Fixed handling of Tcl_Obj with per-state custom options. Memory leak: TreeCtrl.defaultStyles wasn't freed when the treectrl was destroyed. Fix compilation when ALLOC_HAX is undefined.
* BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.treectrl2006-11-031-1/+3
|
* Memory leak: DItem.spans wasn't being preserved when reusing a DItem or ↵treectrl2006-11-031-29/+449
| | | | | | | | | freed when the treectrl was destroyed. Memory leak: DInfo.itemVisHash column lists weren't freed when the treectrl was destroyed. BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED. Fixed vertical-scrolling producing garbage under X11. Added some code (not used yet) for extending the -itembackground colors into the whitespace area.