summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeCtrl.h
Commit message (Collapse)AuthorAgeFilesLines
* Added -itemtagexpr and -columntagexpr options.treectrl2007-11-121-1/+4
|
* Fixed partially-exposed transparent photo images not being redrawn when ↵treectrl2007-04-211-6/+15
| | | | scrolling under X11. This involved creating a wrapper around Tk_RedrawImage to ensure proper clipping of the source image to the bounds of the destination drawable. A new data type TreeDrawable remembers the height and width of a drawable.
* Misc format changes.treectrl2007-01-311-3/+3
|
* (vsnprintf): _vsnprintf on Windowshobbs22007-01-261-1/+5
|
* Renamed many symbols to avoid collisions under ELF.treectrl2007-01-231-38/+49
| | | | Renamed Element to TreeElement_.
* Moved tclInt.h to the main header file.treectrl2007-01-211-6/+4
| | | | Declare new dbwin stuff, remove #include "dbwin.h".
* With -doublebuffer=window, <Expose> events no longer invalidate parts of ↵treectrl2006-12-081-1/+2
| | | | items, only schedule a copy from the offscreen pixmap to the window.
* Added -span debug option.treectrl2006-12-081-1/+2
|
* Created a stack of TkRegions to avoid creating/destroying them repeatedly.treectrl2006-12-061-1/+6
| | | | Fixed a leak on X11 where the clipping region was not being freed after drawing dotted rectangles.
* Renamed the 2 PerStateGC_xxx functions since they had nothing to do with ↵treectrl2006-12-061-10/+13
| | | | per-state options. Call the renamed functions from several places where GCs are used. Removed ElementText.gc to save some more memory.
* DynamicOption_FindData returns void* to avoid lots of casts.treectrl2006-12-041-3/+3
| | | | DynamicOptionInitProc takes void* argument to avoid lots of casts.
* Theme-related changes to support tile-aware treectrl.treectrl2006-12-041-8/+17
| | | | Declare TreeDisplay_FreeColumnDInfo.
* Changed how the display code tracks column headers to better detect changes ↵treectrl2006-12-031-1/+4
| | | | | | to column size, position or visibility. Don't mark display info OUT_OF_DATE in some cases where only INVALIDATE is needed to redraw the items.
* Rename TreeColumn_Justify to TreeColumn_ItemJustify to handle the new column ↵treectrl2006-12-021-2/+6
| | | | | | option -itemjustify. Declare TreeTheme_ComputeGeometry and Tree_GetIntForIndex.
* The item option -button may now be "auto" in which case a button is drawn ↵treectrl2006-11-301-2/+4
| | | | only when the item has a child whose -visible option is true.
* Indentation nitpick.treectrl2006-11-271-2/+2
|
* Fix potential segfaults when a display update is requested in the middle of ↵treectrl2006-11-251-1/+3
| | | | drawing items.
* Added per-tree theme data.treectrl2006-11-211-3/+13
|
* Added 2 optional arguments to [selection get] to perform lindex- and ↵treectrl2006-11-191-1/+2
| | | | lrange-like operations on the sorted list of selected items.
* Fixed not being able to scroll horizontally when the header is wider than ↵treectrl2006-11-121-1/+2
| | | | | | | 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).
* Added Tree_HeaderXXX macros for getting the position of the header.treectrl2006-11-101-2/+13
|
* Declare TreeItem_GetElemRects, remove TreeStyle_ValidateElements.treectrl2006-11-071-2/+6
|
* Remove COLUMN_LOCK-related code.treectrl2006-11-071-36/+3
|
* Remove COLUMN_SPAN-related code.treectrl2006-11-071-2/+1
|
* Remove NEW_SPAN_CODE-related code.treectrl2006-11-071-8/+1
|
* 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.
* Added missing prototype.treectrl2006-11-061-1/+2
|
* Deprecated the treectrl option -defaultstyle.treectrl2006-11-031-4/+9
| | | | Added column option -itemstyle (replaces -defaultstyle).
* BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.treectrl2006-11-031-1/+3
|
* Added underline arg to TextLayout_Draw. [ Patch 1580928 ]treectrl2006-10-311-2/+3
|
* Changed handling of deleted items (again) so that the item is removed from ↵treectrl2006-10-301-2/+4
| | | | the heirarchy of known items but the record is not freed until it is not in use.
* COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵treectrl2006-10-291-2/+4
| | | | allowed.
* Added -uniform and -weight options to columns, which operate the same as the ↵treectrl2006-10-271-1/+5
| | | | [grid] geometry manager.
* Changed dynamic-option code to use AllocHax_xxx.treectrl2006-10-261-6/+8
|
* Declare DynamicOption_AllocIfNeeded (used by ElementText).treectrl2006-10-251-3/+5
|
* Tree_GetImage now uses reference counting on images. Tree_FreeImage ↵treectrl2006-10-181-3/+5
| | | | decrements the reference count and frees the image when needed.
* Merged with BRANCH_dynamic_options.treectrl2006-10-181-1/+29
|
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-161-9/+8
|
* Remove rowlabels.treectrl2006-10-141-108/+2
|
* 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.
* Added column option -lock.treectrl2006-10-111-13/+85
| | | | | Added -drawcolor to [debug configure]. Added -rowproxy option for resizing rows.
* Added AllocHax_Realloc.treectrl2006-10-051-7/+15
| | | | | | Changed TagInfo_xxx to accept a TreeCtrl arg and use AllocHax_xxx for a big speedup. Created a PerStateInfo custom option type. Added 2 fields to TreeCtrl to support larger-than-a-double custom options.
* TreeItemList stuff renamed to TreePtrList so columns and rowlabels can use them.treectrl2006-10-041-25/+219
| | | | | | | Added TreeCtrl.columnLast to point to the rightmost user-made column. New treectrl options: -rowlabelresize, -rowlabelwidth, -minrowlabelwidth, -maxrowlabelwidth, -rowlabelprefix, -rowproxy, -showrowlabels. Various declarations for handling rowlabels. Move TagInfo and TagExpr from tkTreeItem.c.
* Declare TreeTagCmd.treectrl2006-09-241-1/+2
|
* Added Tree_StateFromListObj.treectrl2006-09-221-1/+2
|
* New data type TreeItemList and related funcs are used instead of ↵treectrl2006-09-211-6/+38
| | | | | | | | | STATIC_ALLOC for handling lists of items. Removed TreeCtrl.displayInProgress flag. Added TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems for managing deleted items. Added IFO_NOTORPHAN flag for rejecting orphans. Various TreeNotify_xxx routines changed to accept TreeItemList args.
* Declare TreeItem_GetEnabled.treectrl2006-09-161-1/+2
|
* Bumped copyright to 2006.treectrl2006-09-051-2/+2
|
* * generic/tkTreeDisplay.c (Tree_Display): Allow Tree_DeselectHiddenhobbs22006-08-161-1/+2
| | | | | | | * generic/tkTreeItem.c (Item_Configure): to be deferred to next * generic/tkTreeCtrl.h: redraw by calling Tree_DInfoChanged(tree, DINFO_REDO_SELECTION). Significantly improves performance of multiple item visibility changes.
* Removed declarations of unused functions.treectrl2005-09-211-4/+1
|