Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed y-position bug in Style_DoLayoutV. | treectrl | 2005-06-04 | 1 | -135/+107 |
| | | | | | | | | | Fixed bug calculating needed height of style with -union elements. Not sure how Style_DoLayoutNeededV ever worked correctly. Combined Style_DoLayout and Style_DoLayout2 since they were 99% the same. Changed Style_NeededSize to return whether the style has any -squeeze elements. This is used to avoid an unnecessary call when determining the minimum style size. Optimize TreeStyle_NeededWidth/Height by using cached values. NEEDED_HAX code present simply to test that I am allowed to use those cached values. Optimize TreeStyle_UseHeight by using cached values. Style.layoutWidth already existed for this purpose but wasn't set properly. Changed TreeStyle_UndefineState to always invalidate the layout of every element/column/item. | ||||
* | Use ALLOC_HAX for allocating/freeing per-state data. | treectrl | 2005-06-04 | 1 | -2/+25 |
| | | | | PerStateInfo_Undefine changed to return indication of whether anything was modified. | ||||
* | Renamed TreeItem_Undefine to TreeItem_UndefineState. | treectrl | 2005-06-04 | 1 | -2/+2 |
| | |||||
* | Increased size of static storage in TreeNotify_Selection. | treectrl | 2005-06-04 | 1 | -2/+2 |
| | |||||
* | PerStateInfo_Undefine changed to return indication of whether anything was ↵ | treectrl | 2005-06-04 | 1 | -4/+4 |
| | | | | modified. | ||||
* | ElementType.undefProc changed to return indication of whether anything was ↵ | treectrl | 2005-06-04 | 1 | -3/+3 |
| | | | | modified. Ditto for PerStateOption_Undefine. | ||||
* | 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. | ||||
* | Free per-state options when column deleted. | treectrl | 2005-06-04 | 1 | -1/+4 |
| | |||||
* | Free button/bitmap per-state options when widget deleted. | treectrl | 2005-06-04 | 1 | -5/+11 |
| | | | | | Make sure "state undefine" affects button/bitmap per-state options. Fix bug 1210738: incorrect number of chars passed to Tk_ComputeTextLayout (was using number of bytes). | ||||
* | 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 |
| | |||||
* | Removed unnecessary variable init and casting. | treectrl | 2005-06-03 | 1 | -5/+3 |
| | |||||
* | Fixed crash with "item complex" when a column doesn't exist. | treectrl | 2005-06-03 | 1 | -6/+19 |
| | |||||
* | Added column description "end", equivalent to "last". | treectrl | 2005-06-02 | 1 | -3/+4 |
| | |||||
* | Added item description "end", equivalent to "last". | treectrl | 2005-06-02 | 1 | -4/+6 |
| | |||||
* | Added -destroy option to "window" element type. | treectrl | 2005-06-02 | 1 | -1/+15 |
| | |||||
* | Fixed bug with calculation of needed size of a style. | treectrl | 2005-06-02 | 1 | -7/+41 |
| | | | | | | Fixed drawing bug caused by LAYOUT_HAX changes. Add some calls to Tree_FreeItemDInfo. Replace some calls to Tree_InvalidateItemDInfo with Tree_FreeItemDInfo. | ||||
* | Added boolean PerStateType. | treectrl | 2005-06-02 | 1 | -1/+50 |
| | |||||
* | Added "-draw" option to every element type (except window). | treectrl | 2005-06-02 | 1 | -16/+258 |
| | |||||
* | Add some calls to TreeItemColumn_InvalidateSize. FIXME: ↵ | treectrl | 2005-06-02 | 1 | -5/+28 |
| | | | | | | | | Column.neededWidth/Height aren't actually used. Add some calls to Tree_FreeItemDInfo. Replace some calls to Tree_InvalidateItemDInfo with Tree_FreeItemDInfo. Invalidate should only be used when the size hasn't changed. Fix "item style map" and "item style set" not recalculating ranges. | ||||
* | Added boolean PerStateType. | treectrl | 2005-06-02 | 1 | -1/+4 |
| | |||||
* | Pass PACKAGE_PATCHLEVEL instead of PACKAGE_VERSION to tcl_findLibrary. | treectrl | 2005-06-02 | 1 | -2/+2 |
| | |||||
* | Fix TextUpdateStringRep under Tcl 8.5 by passing ClientData to the ↵ | treectrl | 2005-05-29 | 1 | -19/+20 |
| | | | | clock/format command procedures. | ||||
* | Fix XImage2Photo under Tk 8.5 (tree was undefined). | treectrl | 2005-05-29 | 1 | -2/+2 |
| | |||||
* | Fix layout bug with new LAYOUT_HAX code. | treectrl | 2005-05-28 | 1 | -1/+11 |
| | |||||
* | Another fix for "identify" and -treecolumn: make sure point is within the ↵ | treectrl | 2005-05-28 | 1 | -1/+2 |
| | | | | visible width of the tree column. | ||||
* | Fix "identify" command when -treecolumn is unspecified or not visible. [Bug ↵ | treectrl | 2005-05-28 | 1 | -3/+3 |
| | | | | | | 1210357] Use PACKAGE_PATCHLEVEL in Tcl_PkgProvide (may change it back). | ||||
* | Fix for Column_UpdateTextLayout under OSX. | treectrl | 2005-05-27 | 1 | -2/+2 |
| | |||||
* | New option -columnresizemode. | treectrl | 2005-05-27 | 2 | -2/+10 |
| | |||||
* | Fix for DrawXORLine. | treectrl | 2005-05-27 | 1 | -1/+5 |
| | |||||
* | Implemented Tree_DrawBitmapWithGC and Tree_DrawBitmap to work around bug ↵ | treectrl | 2005-05-24 | 1 | -1/+61 |
| | | | | with drawing bitmaps into a window on Win32. | ||||
* | Use Tree_DrawBitmap to draw bitmaps. | treectrl | 2005-05-24 | 2 | -35/+7 |
| | |||||
* | Limit number of lines of text in column header to 1 under Aqua when ↵ | treectrl | 2005-05-24 | 1 | -15/+12 |
| | | | | | | -usetheme is true. Use Tree_DrawBitmapXXX to draw bitmaps. | ||||
* | Changed -backgroundmode values "index"->"order" and ↵ | treectrl | 2005-05-24 | 1 | -2/+2 |
| | | | | "visindex"->"ordervisible". Old values still accepted. | ||||
* | Changed -backgroundmode constants. | treectrl | 2005-05-24 | 1 | -4/+13 |
| | | | | Declared Tree_DrawBitmapXXX. | ||||
* | Changed -backgroundmode constants. | treectrl | 2005-05-24 | 1 | -3/+7 |
| | |||||
* | Handle <FocusIn>/<FocusOut> the way Tile does. See ↵ | treectrl | 2005-05-22 | 1 | -3/+13 |
| | | | | https://sourceforge.net/tracker/?func=detail&atid=111464&aid=1206674&group_id=11464. | ||||
* | Call Tree_Activate to respond to <Activate> and <Deactivate> events for ↵ | treectrl | 2005-05-22 | 1 | -27/+43 |
| | | | | Win32 and Mac. | ||||
* | Added isActive flag to TreeCtrl to track <Activate>/<Deactivate> events on ↵ | treectrl | 2005-05-22 | 1 | -1/+5 |
| | | | | Win32 and Mac. | ||||
* | Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵ | treectrl | 2005-05-22 | 1 | -3/+30 |
| | | | | | | supported by QuickDraw, not CoreGraphics. Added Tree_Activate to respond to <Activate> and <Deactivate> events for Win32 and Mac. Causes the tree header to be redrawn if -usetheme is true. Only needed for OSX. | ||||
* | Use COLUMN_STATE_XXX macros for readability. | treectrl | 2005-05-22 | 1 | -14/+25 |
| | | | | Replace kThemeStateRollover with kThemeStateActive. I don't think the rollover state is supported. | ||||
* | Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵ | treectrl | 2005-05-22 | 1 | -3/+27 |
| | | | | supported by QuickDraw, not CoreGraphics. | ||||
* | Add "int arrow" arg to 2 routines to allow Appearance Manager to draw sort ↵ | treectrl | 2005-05-22 | 1 | -21/+29 |
| | | | | | | arrow under Aqua. Fix drawing location of headers and open/close buttons under Aqua. | ||||
* | Fixes to DotRect_xxx under Aqua since Quartz doesn't do XOR drawing. | treectrl | 2005-05-22 | 1 | -4/+76 |
| | | | | | Fix Tk_FillRegion under Aqua. Declare Tree_ScrollWindow to work around Tk bug with TkScrollWindow on the Mac. | ||||
* | Replace TkScrollWindow with Tree_ScrollWindow to work around Tk bug on the Mac. | treectrl | 2005-05-22 | 1 | -8/+8 |
| | |||||
* | Various declarations. | treectrl | 2005-05-22 | 1 | -4/+8 |
| | |||||
* | Added -resize option. | treectrl | 2005-05-22 | 1 | -6/+82 |
| | | | | Numerous hacks under OSX/Aqua to let Appearance Manager draw the sort arrow. | ||||
* | Added -maxwidth option. | treectrl | 2005-05-21 | 1 | -13/+43 |
| | | | | Aqua list headers have a fixed height. | ||||
* | Aqua list headers have a fixed height. Guess the correct state. | treectrl | 2005-05-21 | 1 | -4/+16 |
| | |||||
* | Attempt fix for Tk_FillRegion using OffsetRgn. | treectrl | 2005-05-21 | 1 | -1/+4 |
| |