1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-09-30 01:10:22 +03:00
fped/gui_status.h
werner 605bd52dc9 Finished deletion. Assorted bug fixes.
- columns can now be deleted/undeleted
- reset active row if deleting that row
- grammar now accepts an empty file
- when a non-canvas entry becomes editable, we set the focus to it
- when adding the first reference to a frame, make it active
- when deleting the active reference to a frame, set the pointer to NULL
- measurements didn't have a drag_new action, causing trying to create them to
  crash fped
- offset field of measurements was incorrectly labeled "width"
- fixed operator precedence in gridify. Someone needs more sleep :-(



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5398 99fdad57-331a-0410-800a-d7fa5415bdb3
2009-08-07 00:48:06 +00:00

56 lines
1.7 KiB
C

/*
* gui_status.h - GUI, status area
*
* 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_STATUS_H
#define GUI_STATUS_H
#include <gtk/gtk.h>
#include "coord.h"
#include "expr.h"
void edit_unique(const char **s, int (*validate)(const char *s, void *ctx),
void *ctx, int focus);
void edit_unique_null(const char **s, int (*validate)(const char *s, void *ctx),
void *ctx, int focus);
void edit_name(char **s, int (*validate)(const char *s, void *ctx), void *ctx,
int focus);
void edit_expr(struct expr **expr, int focus);
void edit_x(struct expr **expr);
void edit_y(struct expr **expr);
void edit_nothing(void);
void status_set_type_x(const char *fmt, ...);
void status_set_type_y(const char *fmt, ...);
void status_set_type_entry(const char *fmt, ...);
void status_set_name(const char *fmt, ...);
void status_set_x(const char *fmt, ...);
void status_set_y(const char *fmt, ...);
void status_set_r(const char *fmt, ...);
void status_set_angle(const char *fmt, ...);
void status_set_sys_x(const char *fmt, ...);
void status_set_sys_y(const char *fmt, ...);
void status_set_user_x(const char *fmt, ...);
void status_set_user_y(const char *fmt, ...);
void status_set_zoom(const char *fmt, ...);
void status_set_grid(const char *fmt, ...);
void status_set_xy(struct coord coord);
void status_begin_reporting(void);
void make_status_area(GtkWidget *vbox) ;
#endif /* !GUI_STATUS_H */