summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeElem.c
Commit message (Collapse)AuthorAgeFilesLines
* Added ElementType.onScreenProc which is called when an item becomes visible ↵treectrl2005-07-051-10/+27
| | | | | | on screen and when it is no longer visible on screen. OnScreenProcWindow is used to hide Tk windows in "window" elements when an item is no longer on screen.
* Removed ElementArgs.display.pad and ElementArgs.display.squeeze which were ↵treectrl2005-06-201-5/+4
| | | | unused.
* Removed gobs of conditional compilation code.treectrl2005-06-141-89/+1
|
* Renamed LayoutProcXXX to NeededProcXXX for all element types.treectrl2005-06-131-115/+206
| | | | | | | | | Added heightProc to all element types (NULL for all except "text"). Moved some statements in TextUpdateLayout to return earlier if possible. Also handle new args fixedWidth and maxWidth which were added to support the -width and -maxwidth style layout options. TextRedoLayoutIfNeeded replaces a bit of code in the old LayoutProcText. Call TextRedoLayoutIfNeeded within DisplayProcText. Previously we knew TextUpdateLayout was called by LayoutProc, but that may no longer be the case if the style layout -width and -height options are set. The old LayoutProc (renamed to NeededProc) was changed to always update the text layout. Also handle the -width and -maxwidth style layout options. Added HeightProcText to figure out if the height of the text changed due to lines wrapping. LayoutProc used to be overloaded to perform this calculation.
* Added -draw option to the new "window" element type.treectrl2005-06-101-93/+289
| | | | Changes to support the new style layout option "-sticky".
* Delete the code which was replaced by macros in the previous revision.treectrl2005-06-041-671/+305
| | | | | Revert custom option code of revision 1.25. Custom options can't have an internal form > Tk_SavedOption.internalForm, which is a double. ElementType.undefProc changed to return indication of whether anything was modified.
* Replaced big chunks of per-state code with macros.treectrl2005-06-031-8/+148
|
* Added a custom option to handle all the per-state options.treectrl2005-06-031-270/+212
|
* Added -destroy option to "window" element type.treectrl2005-06-021-1/+15
|
* Added "-draw" option to every element type (except window).treectrl2005-06-021-16/+258
|
* Fix TextUpdateStringRep under Tcl 8.5 by passing ClientData to the ↵treectrl2005-05-291-19/+20
| | | | clock/format command procedures.
* Use Tree_DrawBitmap to draw bitmaps.treectrl2005-05-241-24/+4
|
* Call XSetClipOrigin after drawing bitmap.treectrl2005-05-191-4/+5
|
* Added -textvariable option to "text" elements.treectrl2005-05-171-14/+168
|
* Removed a bunch of conditional-compilation stuff and dead code.treectrl2005-05-111-28/+15
|
* Added new "window" element type.treectrl2005-05-101-706/+752
| | | | | Moved ObjectIsEmpty() and PerState stuff to tkTreeUtils.c. Renamed ElementType callbacks for consistency.
* Bumped copyright to 2005.treectrl2005-05-011-23/+97
| | | | Replaced global elementTypeList with multi-interp friendly code. Problem was ElementType contained per-interp Tk_OptionTables.
* * generic/tkTreeElem.c: add "Elem" to a few names to prevent namehobbs22004-11-301-11/+11
| | | | collision (notable CreateBitmap on Windows).
* whitespace policehobbs22004-11-291-2702/+2527
|
* Added some stubs entries.treectrl2004-10-121-1/+5
|
* Add Tk_RedrawElement().treectrl2004-08-131-1/+2
|
* Moved PerStateXXX declarations to tkTreeElem.h.treectrl2004-08-091-43/+61
| | | | Add support for adding new Element types at runtime by extension writer.
* Add copyright.treectrl2004-07-301-0/+10
|
* Fixed bug with bitmap and 'state undefine'.treectrl2003-01-061-7/+14
|
* Fix for problems when configure fails.treectrl2003-01-011-14/+52
|
* Fixes for image element choosing image.treectrl2002-12-311-5/+5
|
* Use StateFromObj public, rename private to StateFromObj2.treectrl2002-12-311-38/+10
|
* Fixed a typo in error message.treectrl2002-12-281-1/+1
|
* Return error for bad char in rectangle -open option.treectrl2002-12-241-4/+20
|
* Text layout fixes.treectrl2002-12-211-21/+8
|
* Fix for multi-byte strings.treectrl2002-12-201-1/+1
|
* Initial revisiontreectrl2002-12-171-0/+3436