1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2025-04-21 12:27:27 +03:00

- keyboard functions for the canvas: - zoom out, + or = zoom in, . center,

* zoom and center to extents
- variables in tables weren't properly initialized, causing stray recursive
  evaluation errors
- replaced table->active index with table->active_row pointer
- added row selection
- for fun, added tab.fpd row selection example 



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5375 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-08-03 17:58:32 +00:00
parent e455b37abb
commit e1e758b54f
9 changed files with 72 additions and 16 deletions

9
obj.c
View File

@@ -223,18 +223,13 @@ fail:
static int iterate_tables(struct frame *frame, struct table *table,
struct coord base, int active)
{
int n;
if (!table)
return run_loops(frame, frame->loops, base, active);
n = 0;
for (table->curr_row = table->rows; table->curr_row;
table->curr_row = table->curr_row->next) {
table->curr_row = table->curr_row->next)
if (!iterate_tables(frame, table->next, base,
active && table->active == n))
active && table->active_row == table->curr_row))
return 0;
n++;
}
return 1;
}