summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed declarations of unused functions.treectrl2005-09-151-14/+1
|
* Add Tcl block comments above each function.treectrl2005-09-151-162/+1510
|
* Add Tcl block comments above each function. Comment function arguments.treectrl2005-09-151-102/+1705
|
* #include <tclInt.h> on OSX for TCL_ALIGN definition.treectrl2005-09-141-1/+2
|
* Fixed alignment problem with allocated array of structures affecting some ↵treectrl2005-09-091-5/+5
| | | | systems.
* Commented AllocHax stuff. Changed how AllocHax_Free calculates the address ↵treectrl2005-09-071-13/+59
| | | | of the AllocElem using Tcl_DbCkfree() as a guide.
* Removed wipefree() function.treectrl2005-09-071-13/+6
| | | | | Replaced wipefree() calls with WIPEFREE(). AllocHax_Free(): replaced memset() with WIPE().
* Style_DoLayoutH/V: Removed unused return values.treectrl2005-09-071-21/+12
| | | | Replaced wipefree() with WCFREE().
* Changed TreeItem_RemoveColumn to delete a range of columns. This is to ↵treectrl2005-09-071-15/+16
| | | | support the updated [column delete] command.
* [column delete] now accepts an optional second argument so a range of ↵treectrl2005-09-071-31/+53
| | | | | | columns can be deleted in one call. Replaced wipefree() call with WCFREE macro.
* Fixed a typo.treectrl2005-09-071-2/+2
|
* Added an argument to TreeItem_RemoveColumn to delete a range of columns to ↵treectrl2005-09-071-6/+13
| | | | | | support the updated [column delete] command. Removed the wipefree() function, and changed WFREE to only memset() freed memory when TREECTRL_WIPE_MEM is defined. The STATIC_FREE was changed to take advantage of this.
* * generic/tkTreeStyle.c (Style_DoLayout): use if instead ofhobbs22005-08-101-4/+6
| | | | tertiary ?: operator for funcs with different return types.
* Simplified and corrected calculation of item width. Fixed bug where ↵treectrl2005-07-231-56/+49
| | | | | | indentation wasn't counted if an item-column had no style. Added call to XSycn() to improve debugging of display.
* Eliminate "type-punned pointer" warnings from GCC.treectrl2005-07-233-46/+80
|
* Don't overwrite object result of interpreter in case it is shared.treectrl2005-07-231-7/+8
|
* Added offset args to Tree_DrawTiledImage so image element can use it.treectrl2005-07-161-2/+8
| | | | Redo ranges when an item's -height option changes.
* Added -tiled option to image element.treectrl2005-07-161-1/+22
|
* Added offset args to Tree_DrawTiledImage so image element can use it.treectrl2005-07-161-2/+2
|
* Range_Redo: Add missing braces.treectrl2005-07-161-39/+38
| | | | Added offset args to Tree_DrawTiledImage so image element can use it.
* Added [element perstate] command.treectrl2005-07-151-3/+39
|
* Added "none" to text element -wrap option to disable line wrapping.treectrl2005-07-151-25/+34
| | | | Removed unused layoutInvalid text element field.
* Range_Redo: removed redundant rangePrev variable; use -itemwidthmultiple; ↵treectrl2005-07-151-19/+50
| | | | | | make sure at least one item is in each range if -wrap width is smaller than any item. Range_TotalWidth: correct usage of -itemwidthmultiple.
* Fix bug "[ 1237934 ] ColumnDrag problem". The ximage->red_mask etc were all ↵treectrl2005-07-151-10/+11
| | | | zeroes, causing an infinite loop.
* Make sure the column header drag image is properly clipped under X11, ↵treectrl2005-07-151-1/+19
| | | | otherwise it disappears when out of bounds.
* Declare TreeStyle_GetImage and TreeStyle_SetImage.treectrl2005-07-121-2/+4
|
* Whitespace nitpick with ...treectrl2005-07-122-8/+8
|
* Whitespace nitpick with ...treectrl2005-07-123-6/+6
|
* Add TreeStyle_GetImage and TreeStyle_SetImage.treectrl2005-07-121-27/+56
|
* Added [item element perstate] alias to deprecate [item element actual].treectrl2005-07-121-25/+63
| | | | Added [item image] command.
* Added IntegerCO_Init to init the "integer" custom option used by the text ↵treectrl2005-07-121-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.
* When an item has span > 1, the starting column's background color is no ↵treectrl2005-07-111-20/+30
| | | | | | longer drawn in all of the spanned columns. Renamed the -noresult option to [item create] to -returnid.
* Added [notify unbind] command.treectrl2005-07-101-3/+8
|
* Added -height option to Item option table and [item create] command.treectrl2005-07-101-10/+28
| | | | [item element configure]: fixed checking for special + and , args; return after first error.
* Added 2 functions for initializing booean and string-table custom options.treectrl2005-07-101-3/+48
| | | | | OnScreenProcWindow: fix segfault when tkwin is NULL. Add stuff to stubs table to support shellicon extension.
* Added a bunch of stuff to the stubs table to support the shellicon ↵treectrl2005-07-101-1/+8
| | | | extension. This stubs table is not well-defined like the Tcl/Tk stubs tables.
* 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
|
* 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.
* 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
|