summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed some unnecessary casts.treectrl2006-12-021-18/+18
|
* Removed some unnecessary casts.treectrl2006-12-021-166/+2
| | | | Removed unused code.
* Avoid unnecessary work in Tree_InvalidateItemDInfo.treectrl2006-12-021-62/+74
|
* Removed some unnecessary casts.treectrl2006-12-021-15/+20
| | | | Call TreeTheme_ComputeGeometry to let themes handle borders.
* New column option -itemjustify.treectrl2006-12-021-10/+22
|
* The item option -button may now be "auto" in which case a button is drawn ↵treectrl2006-11-304-34/+212
| | | | only when the item has a child whose -visible option is true.
* Merge with VERSION2_2fixes.treectrl2006-11-271-6/+8
|
* Changed a comment.treectrl2006-11-271-3/+4
|
* Indentation nitpick.treectrl2006-11-271-2/+2
|
* Fixed a bug where items wouldn't be redrawn when 2 columns swapped ↵treectrl2006-11-271-2/+8
| | | | visibility and position.
* Fix potential segfaults when a display update is requested in the middle of ↵treectrl2006-11-255-19/+120
| | | | drawing items.
* Fixed crash with [style elements] when items were using the style.treectrl2006-11-231-11/+12
|
* Changed Style_NeededSize to calculate the needed and minimum sizes in one ↵treectrl2006-11-231-46/+36
| | | | call, rather than calling it twice.
* Fix window elements not respecting -squeeze layout.treectrl2006-11-231-6/+13
|
* Prevent column headers requesting width from the layout when the treectrl ↵treectrl2006-11-231-1/+4
| | | | option -showheader is false.
* Testing SW_SCROLLCHILDREN.treectrl2006-11-221-1/+53
|
* Added some conditional compilation around the size cache of elements and ↵treectrl2006-11-221-90/+297
| | | | styles to test performance without it.
* Comment added.treectrl2006-11-221-2/+2
|
* Renamed themeData global to appThemeData.treectrl2006-11-211-27/+29
|
* 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
|