Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added -tiled option to image element. | treectrl | 2005-07-16 | 1 | -1/+22 |
| | |||||
* | Added "none" to text element -wrap option to disable line wrapping. | treectrl | 2005-07-15 | 1 | -25/+34 |
| | | | | Removed unused layoutInvalid text element field. | ||||
* | Added IntegerCO_Init to init the "integer" custom option used by the text ↵ | treectrl | 2005-07-12 | 1 | -189/+162 |
| | | | | | | | | | element. Replaced a bunch of code in each ActualProcXXX with a macro. ActualProcXXX no longer return a default value, only what is specified for the per-state option. Added -draw to every ActualProcXXX. Replaced a bunch of custom option structs with XXXCO_Init calls for the text element. | ||||
* | Added 2 functions for initializing booean and string-table custom options. | treectrl | 2005-07-10 | 1 | -3/+48 |
| | | | | | OnScreenProcWindow: fix segfault when tkwin is NULL. Add stuff to stubs table to support shellicon extension. | ||||
* | Bitmap, image and text elements are drawn clipped if given less space than ↵ | treectrl | 2005-07-07 | 1 | -19/+65 |
| | | | | | | | they need. TextUpdateLayout: fiddled with debug messages. Fixed line wrapping of text elements. It did not work for single lines of text at all. | ||||
* | Added ElementType.onScreenProc which is called when an item becomes visible ↵ | treectrl | 2005-07-05 | 1 | -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 ↵ | treectrl | 2005-06-20 | 1 | -5/+4 |
| | | | | unused. | ||||
* | Removed gobs of conditional compilation code. | treectrl | 2005-06-14 | 1 | -89/+1 |
| | |||||
* | Renamed LayoutProcXXX to NeededProcXXX for all element types. | treectrl | 2005-06-13 | 1 | -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. | treectrl | 2005-06-10 | 1 | -93/+289 |
| | | | | Changes to support the new style layout option "-sticky". | ||||
* | Delete the code which was replaced by macros in the previous revision. | treectrl | 2005-06-04 | 1 | -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. | treectrl | 2005-06-03 | 1 | -8/+148 |
| | |||||
* | Added a custom option to handle all the per-state options. | treectrl | 2005-06-03 | 1 | -270/+212 |
| | |||||
* | Added -destroy option to "window" element type. | treectrl | 2005-06-02 | 1 | -1/+15 |
| | |||||
* | Added "-draw" option to every element type (except window). | treectrl | 2005-06-02 | 1 | -16/+258 |
| | |||||
* | Fix TextUpdateStringRep under Tcl 8.5 by passing ClientData to the ↵ | treectrl | 2005-05-29 | 1 | -19/+20 |
| | | | | clock/format command procedures. | ||||
* | Use Tree_DrawBitmap to draw bitmaps. | treectrl | 2005-05-24 | 1 | -24/+4 |
| | |||||
* | Call XSetClipOrigin after drawing bitmap. | treectrl | 2005-05-19 | 1 | -4/+5 |
| | |||||
* | Added -textvariable option to "text" elements. | treectrl | 2005-05-17 | 1 | -14/+168 |
| | |||||
* | Removed a bunch of conditional-compilation stuff and dead code. | treectrl | 2005-05-11 | 1 | -28/+15 |
| | |||||
* | Added new "window" element type. | treectrl | 2005-05-10 | 1 | -706/+752 |
| | | | | | Moved ObjectIsEmpty() and PerState stuff to tkTreeUtils.c. Renamed ElementType callbacks for consistency. | ||||
* | Bumped copyright to 2005. | treectrl | 2005-05-01 | 1 | -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 name | hobbs2 | 2004-11-30 | 1 | -11/+11 |
| | | | | collision (notable CreateBitmap on Windows). | ||||
* | whitespace police | hobbs2 | 2004-11-29 | 1 | -2702/+2527 |
| | |||||
* | Added some stubs entries. | treectrl | 2004-10-12 | 1 | -1/+5 |
| | |||||
* | Add Tk_RedrawElement(). | treectrl | 2004-08-13 | 1 | -1/+2 |
| | |||||
* | Moved PerStateXXX declarations to tkTreeElem.h. | treectrl | 2004-08-09 | 1 | -43/+61 |
| | | | | Add support for adding new Element types at runtime by extension writer. | ||||
* | Add copyright. | treectrl | 2004-07-30 | 1 | -0/+10 |
| | |||||
* | Fixed bug with bitmap and 'state undefine'. | treectrl | 2003-01-06 | 1 | -7/+14 |
| | |||||
* | Fix for problems when configure fails. | treectrl | 2003-01-01 | 1 | -14/+52 |
| | |||||
* | Fixes for image element choosing image. | treectrl | 2002-12-31 | 1 | -5/+5 |
| | |||||
* | Use StateFromObj public, rename private to StateFromObj2. | treectrl | 2002-12-31 | 1 | -38/+10 |
| | |||||
* | Fixed a typo in error message. | treectrl | 2002-12-28 | 1 | -1/+1 |
| | |||||
* | Return error for bad char in rectangle -open option. | treectrl | 2002-12-24 | 1 | -4/+20 |
| | |||||
* | Text layout fixes. | treectrl | 2002-12-21 | 1 | -21/+8 |
| | |||||
* | Fix for multi-byte strings. | treectrl | 2002-12-20 | 1 | -1/+1 |
| | |||||
* | Initial revision | treectrl | 2002-12-17 | 1 | -0/+3436 |