1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-23 02:25:54 +01:00

changed stuff in WMSetBoxExpandsToParent

This commit is contained in:
kojima
2001-01-21 00:19:02 +00:00
parent f9778df784
commit e0fbdaa15e
4 changed files with 1789 additions and 6 deletions

View File

@@ -649,7 +649,7 @@ static void drawRow(WMTableView *table, int row, WMRect clipRect)
int i;
WMRange cols = columnsInRect(table, clipRect);
WMTableColumn *column;
for (i = cols.position; i < cols.position+cols.count; i++) {
column = WMGetFromArray(table->columns, i);
@@ -718,10 +718,13 @@ static void repaintTable(WMTableView *table, int x, int y,
table->rows * table->rowHeight + 1);
}
if (x >= table->tableWidth-1)
return;
rect.pos = wmkpoint(x,y);
rect.size = wmksize(width, height);
if (table->drawsGrid) {
drawGrid(table, rect);
}
@@ -793,6 +796,9 @@ void WMReloadTableView(WMTableView *table)
{
WMRect rect = WMGetScrollViewVisibleRect(table->scrollView);
if (table->editingRow >= 0)
stopRowEdit(table, table->editingRow);
/* when this is called, nothing in the table can be assumed to be
* like the last time we accessed it (ie, rows might have disappeared) */