summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeColumn.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright to 2008.treectrl2008-01-221-2/+2
|
* Fixed compiler warnings.treectrl2008-01-221-2/+2
|
* The new option -columntagexpr is checked to disable tag expressions in ↵treectrl2007-11-121-19/+81
| | | | column descriptions. [Patch 1684169]
* Fixed partially-exposed transparent photo images not being redrawn when ↵treectrl2007-04-211-67/+63
| | | | scrolling under X11. This involved creating a wrapper around Tk_RedrawImage to ensure proper clipping of the source image to the bounds of the destination drawable. A new data type TreeDrawable remembers the height and width of a drawable.
* Renamed many symbols to avoid collisions under ELF.treectrl2007-01-231-24/+25
| | | | Renamed Element to TreeElement_.
* Formatting of braces (again).treectrl2006-12-231-3/+2
|
* Formatting of braces.treectrl2006-12-221-87/+44
|
* Added DEPRECATED around a variable.treectrl2006-12-081-2/+5
|
* Renamed the 2 PerStateGC_xxx functions since they had nothing to do with ↵treectrl2006-12-061-5/+3
| | | | per-state options. Call the renamed functions from several places where GCs are used. Removed ElementText.gc to save some more memory.
* TreeDisplay_FreeColumnDInfo is called when a column is deleted to free ↵treectrl2006-12-041-1/+2
| | | | display info for a column.
* Changed how the display code tracks column headers to better detect changes ↵treectrl2006-12-031-18/+59
| | | | | | to column size, position or visibility. Don't mark display info OUT_OF_DATE in some cases where only INVALIDATE is needed to redraw the items.
* New column option -itemjustify.treectrl2006-12-021-10/+22
|
* Fixed a bug where items wouldn't be redrawn when 2 columns swapped ↵treectrl2006-11-271-2/+8
| | | | visibility and position.
* Prevent column headers requesting width from the layout when the treectrl ↵treectrl2006-11-231-1/+4
| | | | option -showheader is false.
* Fixed drawing of the drag indicator so it does not appear over columns with ↵treectrl2006-11-191-25/+73
| | | | | | a different -lock option. Changed the -background option to use DEF_BUTTON_ACTIVE_BG_COLOR when the mouse is over a column header.
* Added an optional arg to [column count] to return the number of columns ↵treectrl2006-11-181-11/+19
| | | | matching a column description.
* Fixed incorrect "wrong # args" message with [column count].treectrl2006-11-181-4/+9
| | | | Tweaked drawing of the drag indicator so it isn't drawn partly offscreen for the left-most or right-most column.
* Don't draw the tail column header if the tail column is not visible.treectrl2006-11-131-2/+5
|
* Fixed not being able to scroll horizontally when the header is wider than ↵treectrl2006-11-121-11/+12
| | | | | | | the window but no items are displayed. Merged the DINFO_REDO_COLUMN_WIDTH and DINFO_CHECK_COLUMN_WIDTH blocks. Recalculate tree->columnBgCnt here since it wasn't being done when columns were deleted etc. Make sure whitespace is redrawn when changing from complex to non-complex drawing (i.e., drawing -itembackground colors).
* Added Tree_HeaderXXX macros for getting the position of the header.treectrl2006-11-101-14/+14
|
* Removed hundreds of type-casts and pointer copies.treectrl2006-11-081-305/+275
|
* Moved TreeCtrlColumnImage out of the global namespace.treectrl2006-11-081-44/+39
| | | | Fixed clipping error on the drag image when a column header is wider than the window.
* Remove COLUMN_LOCK-related code.treectrl2006-11-071-308/+12
|
* Remove NEW_SPAN_CODE-related code.treectrl2006-11-071-10/+8
|
* Keep an array of column indexes for each item that has at least one span > ↵treectrl2006-11-061-1/+17
| | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed.
* Deprecated the treectrl option -defaultstyle.treectrl2006-11-031-6/+71
| | | | Added column option -itemstyle (replaces -defaultstyle).
* Removed unneeded COLU_CONF_xxx constants.treectrl2006-11-031-24/+26
| | | | Fix problem when an error occurs configuring -image or -itembackground options.
* Fixed handling of Tcl_Obj with per-state custom options.treectrl2006-11-031-6/+33
|
* Added underline arg to TextLayout_Draw. [ Patch 1580928 ]treectrl2006-10-311-10/+25
|
* COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵treectrl2006-10-291-284/+170
| | | | | | | | allowed. Renamed some static functions. Qualifiers may now be the first part of a column description. Removed old code from "delete" command.
* Deprecated commands and options are wrapped inside #ifdef DEPRECATED.treectrl2006-10-281-6/+14
|
* Consolidated the column-layout code, and applied the -uniform and -weight ↵treectrl2006-10-271-269/+474
| | | | options to locked columns.
* The -weight option affects how extra space is allocated amongst -expand columns.treectrl2006-10-271-5/+30
|
* Added -uniform and -weight options to columns, which operate the same as the ↵treectrl2006-10-271-1/+219
| | | | [grid] geometry manager.
* Column description of "all" doesn't return the tail column if the command ↵treectrl2006-10-261-53/+57
| | | | | | prohibits the tail. Fixed crash with "range a b" when a or b was the tail column.
* Fixed "state" qualifier in column descriptions.treectrl2006-10-161-129/+142
|
* Remove rowlabels.treectrl2006-10-141-22/+1
|
* TreeColumn_FromObj sets CFO_NOT_MANY by default.treectrl2006-10-141-50/+221
| | | | | | | | | Added -indicatorside option to [column dragconfigure]. Added CFO_LIST_ALL flag. Moved ColumnForEach declarations to tkTreeCtrl.h. Disallow changing the -lock option of the tail column. Rewrote [column delete] to use multi-column descriptions. Fix [column move] to allow proper reordering of locked columns.
* Added column option -lock.treectrl2006-10-111-190/+850
| | | | | | | Fixed bug with "prev" in column descriptions. Added "list" and "range" keywords to column descriptions. Added TreeColumn_Bbox and Tree_HeaderUnderPoint. Tree_InvalidateColumnWidth/Height accept a TreeColumn instead of an index.
* Use the new PerStateInfo custom option, eliminating some code.treectrl2006-10-051-53/+21
| | | | Added a TreeCtrl arg to TagInfo_xxx.
* The -tag option is now -tags and uses a TagInfo struct.treectrl2006-10-041-326/+923
| | | | | | | | "tail" is no longer a tag; it remains a keyword in column descriptions. Added Column.prev to make the list of columns double-linked. Allow column descriptions to refer to multiple columns. Added [column tag] command. [column id] returns a list of matching columns.
* Bumped copyright to 2006.treectrl2006-09-051-2/+2
|
* Playing around with span widths.treectrl2006-07-111-1/+14
|
* Added Tcl block comments above each function. Commented function arguments.treectrl2005-09-161-100/+1112
| | | | Fixed bug where the header of a column would not be redisplayed if an image displayed in the header was changed.
* [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.
* Eliminate "type-punned pointer" warnings from GCC.treectrl2005-07-231-9/+24
|
* Make sure the column header drag image is properly clipped under X11, ↵treectrl2005-07-151-1/+19
| | | | otherwise it disappears when out of bounds.
* Whitespace nitpick with ...treectrl2005-07-121-2/+2
|
* 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.
* Aesthetic changes.treectrl2005-06-101-25/+15
|