Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | New command [bbox]. | treectrl | 2006-11-21 | 1 | -13/+40 | |
| | ||||||
* | Added per-tree theme data. | treectrl | 2006-11-21 | 1 | -3/+13 | |
| | ||||||
* | New routine OptionSpec_Find is used to search an option table. | treectrl | 2006-11-19 | 1 | -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 ↵ | treectrl | 2006-11-19 | 1 | -26/+95 | |
| | | | | OpenThemeData after too many calls. | |||||
* | Fixed display bugs with TreeItem_WalkSpans; some style routines were ↵ | treectrl | 2006-11-19 | 1 | -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. | treectrl | 2006-11-19 | 1 | -42/+21 | |
| | ||||||
* | Fixed a display bug with DebugDrawBorder. | treectrl | 2006-11-19 | 1 | -2/+2 | |
| | ||||||
* | Added per-tree theme data. | treectrl | 2006-11-19 | 1 | -5/+15 | |
| | ||||||
* | Fixed drawing of the drag indicator so it does not appear over columns with ↵ | treectrl | 2006-11-19 | 1 | -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 ↵ | treectrl | 2006-11-19 | 3 | -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 ↵ | treectrl | 2006-11-18 | 1 | -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 ↵ | treectrl | 2006-11-18 | 1 | -11/+19 | |
| | | | | matching a column description. | |||||
* | Use Tcl_GetIndexFromObjStruct to avoid having to update 2 lists when ↵ | treectrl | 2006-11-18 | 1 | -95/+52 | |
| | | | | changing the item commands. Also put the item commands in alphabetical order. | |||||
* | Fixed incorrect "wrong # args" message with [column count]. | treectrl | 2006-11-18 | 1 | -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. | treectrl | 2006-11-15 | 1 | -1/+3 | |
| | ||||||
* | Debug the drawing of borders. | treectrl | 2006-11-15 | 1 | -1/+49 | |
| | ||||||
* | Use TreeItem_FirstAndLast in the deprecated [range] command. | treectrl | 2006-11-15 | 1 | -17/+2 | |
| | ||||||
* | Don't draw the tail column header if the tail column is not visible. | treectrl | 2006-11-13 | 1 | -2/+5 | |
| | ||||||
* | Fixed bug resulting in redrawing the borders needlessly. | treectrl | 2006-11-13 | 1 | -17/+28 | |
| | ||||||
* | Fixed not being able to scroll horizontally when the header is wider than ↵ | treectrl | 2006-11-12 | 3 | -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 ↵ | treectrl | 2006-11-12 | 1 | -6/+6 | |
| | | | | [element names]. | |||||
* | Fixed crash with incorrect number of args in [element perstate]. | treectrl | 2006-11-10 | 1 | -2/+2 | |
| | ||||||
* | Always include tclInt.h to fix compilation under 8.5. | treectrl | 2006-11-10 | 1 | -6/+31 | |
| | | | | Fixed incorrect duplicating of list objects in PerStateInfo_Undefine. | |||||
* | Fixed bug with TreeItem_UpdateWindowPositions not stopping on the right edge ↵ | treectrl | 2006-11-10 | 1 | -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. | treectrl | 2006-11-10 | 1 | -7/+2 | |
| | ||||||
* | Changed 2 incorrect 'return' statements to 'goto'. | treectrl | 2006-11-10 | 1 | -3/+3 | |
| | ||||||
* | Added Tree_HeaderXXX macros for getting the position of the header. | treectrl | 2006-11-10 | 3 | -20/+31 | |
| | ||||||
* | Moved checks of tree->updateIndex into Tree_UpdateItemIndex. | treectrl | 2006-11-09 | 1 | -3/+2 | |
| | ||||||
* | Moved checks of tree->updateIndex into Tree_UpdateItemIndex. | treectrl | 2006-11-09 | 1 | -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. | treectrl | 2006-11-09 | 1 | -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. | treectrl | 2006-11-09 | 1 | -6/+2 | |
| | ||||||
* | Removed hundreds of type-casts and pointer copies. | treectrl | 2006-11-08 | 4 | -891/+770 | |
| | ||||||
* | Moved TreeCtrlColumnImage out of the global namespace. | treectrl | 2006-11-08 | 1 | -44/+39 | |
| | | | | Fixed clipping error on the drag image when a column header is wider than the window. | |||||
* | Code cleanup and comments added. | treectrl | 2006-11-08 | 1 | -68/+124 | |
| | ||||||
* | Attempt to avoid the white background behind the disclosure triangles on ↵ | treectrl | 2006-11-07 | 1 | -3/+29 | |
| | | | | OSX. Remains to be tested... | |||||
* | Declare TreeItem_GetElemRects, remove TreeStyle_ValidateElements. | treectrl | 2006-11-07 | 1 | -2/+6 | |
| | ||||||
* | Changed [dragimage add] to respect spans and locked columns. | treectrl | 2006-11-07 | 1 | -5/+103 | |
| | ||||||
* | Changed [item bbox] to respect spans. | treectrl | 2006-11-07 | 1 | -4/+110 | |
| | ||||||
* | TreeStyle_ValidateElements no longer used. | treectrl | 2006-11-07 | 1 | -7/+12 | |
| | ||||||
* | Sped up calculation of scroll increments when there is only a single range. | treectrl | 2006-11-07 | 1 | -37/+59 | |
| | ||||||
* | Remove COLUMN_LOCK-related code. | treectrl | 2006-11-07 | 6 | -654/+75 | |
| | ||||||
* | Remove COLUMN_SPAN-related code. | treectrl | 2006-11-07 | 3 | -305/+45 | |
| | ||||||
* | Remove NEW_SPAN_CODE-related code. | treectrl | 2006-11-07 | 5 | -163/+36 | |
| | ||||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -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 > ↵ | treectrl | 2006-11-06 | 1 | -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 > ↵ | treectrl | 2006-11-06 | 1 | -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 > ↵ | treectrl | 2006-11-06 | 1 | -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 > ↵ | treectrl | 2006-11-06 | 1 | -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 ↵ | treectrl | 2006-11-06 | 1 | -4/+33 | |
| | | | | it in AllocHax_Stats. | |||||
* | Fixed item background colors not drawing over the whole item in some cases. | treectrl | 2006-11-06 | 1 | -12/+20 | |
| |