1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-07-03 01:53:51 +03:00
fped/gui_meas.h
werner 75d9780131 - band-aid: make canvas grab focus on click and scroll, so that it's easy to
get it back when we lose it
- improved heuristics for measx/measy: instead of looking for "next" or "max"
  on secondary coordinate, pick the one that's closest. I.e., if there's a
  chance to just connect with x' = 0 or y' = 0, do it.
- mouse wheel on loop value now selects next/previous value
- corrected proximity calculation for measurements
- vec/frame/meas toggle now deselects, so that we don't accidently leave a
  supposedly hidden item selected



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5413 99fdad57-331a-0410-800a-d7fa5415bdb3
2009-08-09 01:51:20 +00:00

28 lines
641 B
C

/*
* gui_meas.c - GUI, measurements
*
* Written 2009 by Werner Almesberger
* Copyright 2009 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef GUI_MEAS_H
#define GUI_MEAS_H
#include "gui_tool.h"
extern struct tool_ops tool_meas_ops;
extern struct tool_ops tool_meas_ops_x;
extern struct tool_ops tool_meas_ops_y;
void begin_drag_move_meas(struct inst *inst, int i);
#endif /* !GUI_MEAS_H */