| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
exposing areas of the widget.
Call FormatResult in two places.
Misc format changes.
|
|
|
|
| |
Renamed Element to TreeElement_.
|
| |
|
| |
|
|
|
|
| |
invalidate was obscurred by child windows, then the items would not be marked as needing to be redrawn.
|
| |
|
|
|
|
| |
items, only schedule a copy from the offscreen pixmap to the window.
|
|
|
|
| |
Hold on to the pixmap used for displaying items instead of creating/destroying it during every display update.
|
|
|
|
| |
first in a span.
|
|
|
|
| |
Fixed a leak on X11 where the clipping region was not being freed after drawing dotted rectangles.
|
|
|
|
| |
per-state options. Call the renamed functions from several places where GCs are used. Removed ElementText.gc to save some more memory.
|
| |
|
|
|
|
| |
an item which results in random crash.
|
|
|
|
|
| |
TreeDisplay_FreeColumnDInfo is called when a column is deleted to free display info for a column.
Theme-related changes to support tile-aware treectrl.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
drawing items.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
Removed lots of type-casts.
Changed the drawing order of -itembackground colors in the whitespace region to match that of item drawing (center, left then right).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
Use DStringAppendf in various places.
Cleaned up the column-tracking code.
DumpDInfo now takes an index to indicate which kind of information to return.
|
| |
|
| |
|
|
|
|
|
| |
Draw -itembackground colors into the whitespace region, but only for -orient=verical, wrap={}, and -itemheight or -minitemheight > 0.
Fixed vertical-scrolling bug when no non-locked column are displayed.
|
| |
|
|
|
|
|
|
|
|
|
| |
freed when the treectrl was destroyed.
Memory leak: DInfo.itemVisHash column lists weren't freed when the treectrl was destroyed.
BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.
Fixed vertical-scrolling producing garbage under X11.
Added some code (not used yet) for extending the -itembackground colors into the whitespace area.
|
| |
|
| |
|
| |
|
|
|
|
| |
when columns are moved, hidden or obscurred.
|
| |
|
|
|
|
|
|
| |
Added Tree_AreaBbox for getting the bounds of onscreen areas.
Renamed TREE_HIT_xxx to TREE_AREA_xxx.
Much improvement in displaying locked columns.
|
|
|
|
|
|
|
|
| |
Added Tree_HitTest to determine the area of the window containing a point.
Tree_ItemsInArea returns a TreeItemList.
Changed DInfo.columnWidth to track column, offset and width.
Tree_InvalidateItemDInfo can now invalidate a single column rather than the entire item.
Tree_InvalidateRegion invalidates only the parts of the item overlapped by the region.
|
| |
|
|
|
|
|
|
| |
Use Tree_ContentXXX macros.
Fix display bug when scrolling more than a screenful (pixels might be copied over the borders).
Draw -rowproxy like -columnproxy.
|
|
|
|
| |
Rewrote Tree_InvalidateRegion to make screen updates more efficient.
|
|
|
|
|
|
|
| |
Tree_Display: preserve the tree and items so binding scripts don't free them.
Tree_Display: if <Scroll> or <ItemVisibility> scripts cause a redraw request, jump to the top of the routine and start redisplaying again.
Tree_Display: the block of code handling itemVisHash was moved before any drawing code and rewritten to use TreeItemList. itemVisHash now uses TreeItems instead of item ids as indexes.
Tree_Display: moved TreeItem_UpdateWindowPositions from the itemVisHash block down to the drawing block.
|
| |
|
|
|
|
|
|
|
| |
* generic/tkTreeItem.c (Item_Configure): to be deferred to next
* generic/tkTreeCtrl.h: redraw by calling
Tree_DInfoChanged(tree, DINFO_REDO_SELECTION). Significantly
improves performance of multiple item visibility changes.
|
| |
|