summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* New command [bbox].treectrl2006-11-211-13/+40
|
* Added per-tree theme data.treectrl2006-11-211-3/+13
|
* New routine OptionSpec_Find is used to search an option table.treectrl2006-11-191-52/+182
| | | | Added a new custom option that stores a boolean value in a single bit.
* Added per-tree theme data to avoid getting back an invalid handle from ↵treectrl2006-11-191-26/+95
| | | | OpenThemeData after too many calls.
* Fixed display bugs with TreeItem_WalkSpans; some style routines were ↵treectrl2006-11-191-32/+46
| | | | | | changing the StyleDrawArgs argument. Replaced the hasButton and isVisible integer boolean options with a single bit each in the flags field by using a custom option.
* Use OptionSpec_Find in a few places.treectrl2006-11-191-42/+21
|
* Fixed a display bug with DebugDrawBorder.treectrl2006-11-191-2/+2
|
* Added per-tree theme data.treectrl2006-11-191-5/+15
|
* Fixed drawing of the drag indicator so it does not appear over columns with ↵treectrl2006-11-191-25/+73
| | | | | | a different -lock option. Changed the -background option to use DEF_BUTTON_ACTIVE_BG_COLOR when the mouse is over a column header.
* Added 2 optional arguments to [selection get] to perform lindex- and ↵treectrl2006-11-193-3/+106
| | | | lrange-like operations on the sorted list of selected items.
* Added an optional arg to [item count] to return the number of items matching ↵treectrl2006-11-181-26/+9
| | | | an item description. This replaces the -visible option added earlier.
* Added an optional arg to [column count] to return the number of columns ↵treectrl2006-11-181-11/+19
| | | | matching a column description.
* Use Tcl_GetIndexFromObjStruct to avoid having to update 2 lists when ↵treectrl2006-11-181-95/+52
| | | | changing the item commands. Also put the item commands in alphabetical order.
* Fixed incorrect "wrong # args" message with [column count].treectrl2006-11-181-4/+9
| | | | Tweaked drawing of the drag indicator so it isn't drawn partly offscreen for the left-most or right-most column.
* Avoid creating an empty list object in the [item ancestors] command.treectrl2006-11-151-1/+3
|
* Debug the drawing of borders.treectrl2006-11-151-1/+49
|
* Use TreeItem_FirstAndLast in the deprecated [range] command.treectrl2006-11-151-17/+2
|
* Don't draw the tail column header if the tail column is not visible.treectrl2006-11-131-2/+5
|
* 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
|