summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Fixed y-position bug in Style_DoLayoutV.treectrl2005-06-041-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.treectrl2005-06-041-2/+25
| | | | PerStateInfo_Undefine changed to return indication of whether anything was modified.
* Renamed TreeItem_Undefine to TreeItem_UndefineState.treectrl2005-06-041-2/+2
|
* Increased size of static storage in TreeNotify_Selection.treectrl2005-06-041-2/+2
|
* PerStateInfo_Undefine changed to return indication of whether anything was ↵treectrl2005-06-041-4/+4
| | | | modified.
* ElementType.undefProc changed to return indication of whether anything was ↵treectrl2005-06-041-3/+3
| | | | modified. Ditto for PerStateOption_Undefine.
* 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.
* Free per-state options when column deleted.treectrl2005-06-041-1/+4
|
* Free button/bitmap per-state options when widget deleted.treectrl2005-06-041-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.treectrl2005-06-031-8/+148
|
* Added a custom option to handle all the per-state options.treectrl2005-06-031-270/+212
|
* Removed unnecessary variable init and casting.treectrl2005-06-031-5/+3
|
* Fixed crash with "item complex" when a column doesn't exist.treectrl2005-06-031-6/+19
|
* Added column description "end", equivalent to "last".treectrl2005-06-021-3/+4
|
* Added item description "end", equivalent to "last".treectrl2005-06-021-4/+6
|
* Added -destroy option to "window" element type.treectrl2005-06-021-1/+15
|
* Fixed bug with calculation of needed size of a style.treectrl2005-06-021-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.treectrl2005-06-021-1/+50
|
* Added "-draw" option to every element type (except window).treectrl2005-06-021-16/+258
|
* Add some calls to TreeItemColumn_InvalidateSize. FIXME: ↵treectrl2005-06-021-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.treectrl2005-06-021-1/+4
|
* Pass PACKAGE_PATCHLEVEL instead of PACKAGE_VERSION to tcl_findLibrary.treectrl2005-06-021-2/+2
|
* Fix TextUpdateStringRep under Tcl 8.5 by passing ClientData to the ↵treectrl2005-05-291-19/+20
| | | | clock/format command procedures.
* Fix XImage2Photo under Tk 8.5 (tree was undefined).treectrl2005-05-291-2/+2
|
* Fix layout bug with new LAYOUT_HAX code.treectrl2005-05-281-1/+11
|
* Another fix for "identify" and -treecolumn: make sure point is within the ↵treectrl2005-05-281-1/+2
| | | | visible width of the tree column.
* Fix "identify" command when -treecolumn is unspecified or not visible. [Bug ↵treectrl2005-05-281-3/+3
| | | | | | 1210357] Use PACKAGE_PATCHLEVEL in Tcl_PkgProvide (may change it back).
* Fix for Column_UpdateTextLayout under OSX.treectrl2005-05-271-2/+2
|
* New option -columnresizemode.treectrl2005-05-272-2/+10
|
* Fix for DrawXORLine.treectrl2005-05-271-1/+5
|
* Implemented Tree_DrawBitmapWithGC and Tree_DrawBitmap to work around bug ↵treectrl2005-05-241-1/+61
| | | | with drawing bitmaps into a window on Win32.
* Use Tree_DrawBitmap to draw bitmaps.treectrl2005-05-242-35/+7
|
* Limit number of lines of text in column header to 1 under Aqua when ↵treectrl2005-05-241-15/+12
| | | | | | -usetheme is true. Use Tree_DrawBitmapXXX to draw bitmaps.
* Changed -backgroundmode values "index"->"order" and ↵treectrl2005-05-241-2/+2
| | | | "visindex"->"ordervisible". Old values still accepted.
* Changed -backgroundmode constants.treectrl2005-05-241-4/+13
| | | | Declared Tree_DrawBitmapXXX.
* Changed -backgroundmode constants.treectrl2005-05-241-3/+7
|
* Handle <FocusIn>/<FocusOut> the way Tile does. See ↵treectrl2005-05-221-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 ↵treectrl2005-05-221-27/+43
| | | | Win32 and Mac.
* Added isActive flag to TreeCtrl to track <Activate>/<Deactivate> events on ↵treectrl2005-05-221-1/+5
| | | | Win32 and Mac.
* Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵treectrl2005-05-221-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.treectrl2005-05-221-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 ↵treectrl2005-05-221-3/+27
| | | | supported by QuickDraw, not CoreGraphics.
* Add "int arrow" arg to 2 routines to allow Appearance Manager to draw sort ↵treectrl2005-05-221-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.treectrl2005-05-221-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.treectrl2005-05-221-8/+8
|
* Various declarations.treectrl2005-05-221-4/+8
|
* Added -resize option.treectrl2005-05-221-6/+82
| | | | Numerous hacks under OSX/Aqua to let Appearance Manager draw the sort arrow.
* Added -maxwidth option.treectrl2005-05-211-13/+43
| | | | Aqua list headers have a fixed height.
* Aqua list headers have a fixed height. Guess the correct state.treectrl2005-05-211-4/+16
|
* Attempt fix for Tk_FillRegion using OffsetRgn.treectrl2005-05-211-1/+4
|