From 751e8452503beeacec16c11d6a5f7fd21879f676 Mon Sep 17 00:00:00 2001 From: werner Date: Sat, 8 Aug 2009 18:50:17 +0000 Subject: [PATCH] New-style measurements are coming to the GUI soon ! - moved measurement operations from gui_tools.c to new file gui_meas.c - added support for creating new-style measurements through the GUI - the offset is optional in new-style expressions git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5407 99fdad57-331a-0410-800a-d7fa5415bdb3 --- Makefile | 2 +- README | 2 +- coord.h | 6 + fpd.y | 2 +- gui_meas.c | 337 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gui_meas.h | 22 ++++ gui_tools.c | 112 +++-------------- gui_tools.h | 24 +++- inst.c | 29 +++++ inst.h | 4 + meas.c | 32 +++-- 11 files changed, 465 insertions(+), 107 deletions(-) create mode 100644 gui_meas.c create mode 100644 gui_meas.h diff --git a/Makefile b/Makefile index f109b04..ab62898 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ OBJS = fped.o expr.o coord.o obj.o delete.o inst.o util.o error.o \ unparse.o dump.o meas.o \ cpp.o lex.yy.o y.tab.o \ gui.o gui_util.o gui_style.o gui_inst.o gui_status.o gui_canvas.o \ - gui_tools.o gui_over.o + gui_tools.o gui_over.o gui_meas.o XPMS = point.xpm delete.xpm vec.xpm frame.xpm frame_locked.xpm frame_ready.xpm \ line.xpm rect.xpm pad.xpm circ.xpm meas.xpm meas_x.xpm meas_y.xpm diff --git a/README b/README index dd356d5..0723aa4 100644 --- a/README +++ b/README @@ -445,7 +445,7 @@ Known issues: Syntax: - [