summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed QE_DeleteBinding to delete all bindings on the given object if the ↵treectrl2005-07-101-34/+84
| | | | | | | | eventString is NULL. This code was in TkWinEventProc. Changed TkWinEventProc to call QE_DeleteBinding. QE_GetAllBindings: stop searching if object was found since an object can only appear once in each BindValue chain. New QE_UnbindCmd allows unbinding all scripts on a given object.
* Declared QE_UnbindCmdtreectrl2005-07-101-1/+3
|
* Explorer (details) demo sets background color for the sort column like WinXP ↵treectrl2005-07-071-3/+3
| | | | does.
* UnsetClipMask works around Tk_DrawChars not clearing the clip region on Win32.treectrl2005-07-071-1/+17
|
* TreeTheme_DrawHeaderArrow implemented on WinXP to draw an arrow that looks ↵treectrl2005-07-071-4/+49
| | | | | | like Explorer's. TreeTheme_GetArrowSize added.
* Eliminated all "item I does not have column C" messages. There was no need ↵treectrl2005-07-071-88/+404
| | | | | | | | | | | | for the user to know if an item had a Column struct allocated for a given column or not. Implemented column spanning. A style may now extend over 2 or more columns within an item. Rewrote TreeItem_Draw. TreeItem_Identify, and TreeItem_Identify2. Added [item span] command. NoStyleMsg added to report an item doesn't have a style in a given column. Fixed new [item element configure] syntax to only check for + or , after every option-value pair. [item style set] returns a list with one string per tree column. Previously only allocated Column structs were reported. [item state forcolumn] now allocates a Column struct when setting the state for a column if one didn't exist. Previously an error was returned. [item bbox] no longer returns an error when getting the bounding box for an item column if the item column didn't have a Column struct allocated. [item text] returns one string per tree column if no column is specified.
* Bitmap, image and text elements are drawn clipped if given less space than ↵treectrl2005-07-071-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.
* [dragimage add] returns an error if a column has no style when attempting to ↵treectrl2005-07-071-16/+15
| | | | add specific elements to the drag image.
* Call new TreeTheme_GetArrowSize to determine size of sort arrow. I draw a ↵treectrl2005-07-071-5/+8
| | | | | | nice-looking sort arrow on WinXP (looks like Explorer's). Theme sort arrow is drawn offset by 1 when column header is pressed.
* Change TreeItem_Identify to write to a string instead of returning an ↵treectrl2005-07-071-1/+7
| | | | element name. Did this so the column can be determined by the item using its span info.
* Change TreeItem_Identify to write to a string instead of returning an ↵treectrl2005-07-071-2/+5
| | | | | | element name. Did this so the column can be determined by the item using its span info. Declare TreeTheme_GetArrowSize and UnsetClipMask.
* Don't update the Style Editor window if it isn't mapped.treectrl2005-07-051-1/+3
|
* Use new "item element configure" syntax to configure multiple elements at once.treectrl2005-07-052-11/+13
|
* Gave elements and styles meaningful names.treectrl2005-07-052-107/+105
|
* Use new "item element configure" syntax to configure multiple elements at ↵treectrl2005-07-052-72/+76
| | | | | | once (and remove calls to "item complex"). Gave elements and styles meaningful names.
* Use new "item element configure" syntax to configure multiple elements at ↵treectrl2005-07-051-25/+21
| | | | | | | once (and remove calls to "item complex"). Use new -open option to "item create". Don't update the Style Editor window if it isn't mapped.
* TreeItem_Delete: call TreeDisplay_ItemDeleted.treectrl2005-07-051-38/+285
| | | | | | | | Rename TreeItem_HideWindows to TreeItem_OnScreen. "item create" command accepts new arguments and allows creation of multiple items with a single call. "item element configure" allows configuring multiple elements in multiple columns with a single call. This deprecates the awful "item complex" command. "item style set" returns an error message if a style argument is missing. Previously an error was returned with no message. "item style set" does nothing when trying to replace a style with itself. Previously the old style was freed.
* Range_Redo/Range_TotalWidth: use new -itemwidth, -itemwidthequal and ↵treectrl2005-07-051-102/+188
| | | | | | | | -itemwidthmultiple options. UpdateDInfoForRange: avoid certain checks if a DItem is already marked for redraw. Tree_Display: moved the block of code which updates DInfo.itemVisHash before the code that draws items, and generate an <ItemVisibility> event. Added TreeDisplay_ItemDeleted to remove deleted items from DInfo.itemVisHash.
* TreeStyle_Draw: added call to Style_CheckNeededSize.treectrl2005-07-051-6/+7
| | | | Renamed TreeStyle_HideWindows to TreeStyle_OnScreen, and use the new ElementType.onScreen callback.
* Added <ItemVisibility> event.treectrl2005-07-051-1/+65
|
* 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.
* Added ElementType.onScreenProc which is called when an item becomes visible ↵treectrl2005-07-051-1/+5
| | | | on screen and when it is no longer visible on screen.
* New option -itemwidth, -itemwidthequal and -itemwidthmultiple to replace the ↵treectrl2005-07-052-7/+29
| | | | column options -stepwidth and -widthhack.
* Cache the size of the expand/collapse button under XP for a massive speedup ↵treectrl2005-06-301-1/+20
| | | | of item layout.
* Stopped window being destroyed when it was closed.treectrl2005-06-291-0/+1
|
* Fixed typo in comment.treectrl2005-06-291-2/+1
| | | | Removed unused eText2 element.
* Set correct patchlevel in VERSION variable.treectrl2005-06-291-1/+1
|
* Fixed description of "item state get".treectrl2005-06-293-9/+9
|
* UpdateDInfoForRange: Items were not being redisplayed properly if they moved ↵treectrl2005-06-291-6/+11
| | | | to a different-sized range.
* Fixed possible performance problem with "selection clear" (hash tables get ↵treectrl2005-06-291-1/+12
| | | | bigger, but they never get smaller. It can take a while to iterate over all those empty buckets).
* More Invalidate/FreeItemDInfo fixes.treectrl2005-06-291-1/+58
| | | | Fixed a massive performance hit with "item delete all" when there were many orphan items.
* Changed references to old -open/closedbuttonimage/bitmap options.treectrl2005-06-223-10/+10
|
* Removed ElementArgs.display.pad and ElementArgs.display.squeeze which were ↵treectrl2005-06-202-8/+5
| | | | unused.
* Style_DoLayoutH: Allow column justification to occur when a -detach element ↵treectrl2005-06-201-86/+77
| | | | | | | | is larger than the non-union, non-detach elements. Previously justification would only occur if the available space was greater than that needed by the style. Style_DoLayoutH: Allow column justification to occur when elements expand horizontally. This applies when -expand and -iexpand do not specify w or e, but -iexpand does specify x, and the -maxwidth is not {}. Basically, if there is some space left over after expansion then justification will occur. Style_DoLayoutH/V: The internal padding is added to the display area of -union elements, and the internal padding is set to zero. This works in conjunction with the changes in TreeStyle_Draw and TreeStyle_UpdateWindowPositions. TreeStyle_Draw/TreeStyle_UpdateWindowPositions: Fixed bug where -union elements were not displayed if the elements they surrounded had zero height or width. Also removed ElementArgs.display.pad and ElementArgs.display.squeeze which were unused.
* Bumped revision to 2.0.1.treectrl2005-06-182-3/+3
|
* Fixed unix compile issue. [BUG 1222277]treectrl2005-06-181-8/+23
| | | | Fixed per-state-info crash [BUG 1222419]
* Removed unused variable.treectrl2005-06-151-1/+5
|
* Added scrollbars the the canvas.treectrl2005-06-151-110/+64
| | | | | | Position the toplevel at the top-right of the screen. Add <Return> bindings to spinboxes to "activate" them. Don't create/destroy the treectrl used by the canvas code every time.
* Use style s4 which was defined but not used.treectrl2005-06-151-1/+1
|
* Allow expansion of non-detach non-union elements if a -detach element is ↵treectrl2005-06-151-254/+200
| | | | | | larger than them all. Previously expansion would only occur if the available space was greater than the needed space of the style. Alphabetized style layout options, and moved option-to-Tcl_Obj code to a new function.
* Removed gobs of conditional compilation code.treectrl2005-06-143-456/+9
|
* Added "-sticky" style layout option.treectrl2005-06-133-4/+29
|
* Added "Style Layout Options" section.treectrl2005-06-131-3/+62
|
* Updated the descriptions of various style layout options.treectrl2005-06-133-56/+174
| | | | | Added the new min/max width/height style layout options. Added "-draw" option to the "window" element type.
* Use -iexpand xy instead of -iexpand es because it is the display area I want ↵treectrl2005-06-132-8/+8
| | | | to expand, not the padding.
* Use -iexpand xy instead of -iexpand es because it is the display area I want ↵treectrl2005-06-131-7/+7
| | | | | | to expand, not the padding. Use -height 40 instead of -ipady {0 20} because -ipad values are no longer included in the display area of an element.
* Use -iexpand xy instead of -iexpand es because it is the display area I want ↵treectrl2005-06-131-2/+4
| | | | | | to expand, not the padding. Changed placement of the name-editting entry.
* Hide eRectTop using the -draw option instead of specifying empty values for ↵treectrl2005-06-131-5/+6
| | | | | | the -fill and -outline options. Use -iexpand x instead of -iexpand e because it is the display area I want to expand, not the padding.
* Added menu command for the new style layout editor window.treectrl2005-06-131-3/+22
| | | | | Added -textlayout option to the debug menu. Style and element names are sorted with -dictionary.
* Initial import of style layout editor.treectrl2005-06-131-0/+832
|