mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-18 09:35:20 +02:00
4bfb601a40
- gui_frame.c (build_table): restructured code to build tables column by column instead of row by row - gui_frame.c (build_table): wrap tables wider than the screen area available for variables and tables - gui_util.h, gui_util.c (get_widget_width): new helper function that returns a widget's requested width - gui.c, gui_style.h: replace hard-coded initial pane size with constants DEFAULT_FRAME_AREA_WIDTH and DEFAULT_FRAME_AREA_HEIGHT - gui.c (change_world): pass the width of the left pane as a wrapping hint to build_frames - gui_frame.c (build_frames): subtract width of longest package template or frame name from available width - gui.c (change_world): moved call to build_frames to separate function do_build_frames - gui.c (gui_main): used g_signal_connect_swapped instead of g_signal_connect for no good reason git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5847 99fdad57-331a-0410-800a-d7fa5415bdb3
33 lines
722 B
C
33 lines
722 B
C
/*
|
|
* gui_frame.h - GUI, frame window
|
|
*
|
|
* Written 2009, 2010 by Werner Almesberger
|
|
* Copyright 2009, 2010 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_FRAME_H
|
|
#define GUI_FRAME_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
extern int show_vars;
|
|
|
|
|
|
void make_popups(void);
|
|
|
|
void select_frame(struct frame *frame);
|
|
|
|
void gui_frame_select_inst(struct inst *inst);
|
|
void gui_frame_deselect_inst(struct inst *inst);
|
|
|
|
void build_frames(GtkWidget *vbox, int warp_width);
|
|
|
|
#endif /* !GUI_FRAME_H */
|