PCB-FPW developer documentation based on version: 0.0.11

Functions

dimensions.h File Reference

Header file for functions for a footprint dimensions preview widget. More...

Go to the source code of this file.

Functions

static void dimensions_window_close_cb (GtkWidget *, GtkWidget *)
void dimensions_window_delete_event (GtkWidget *, GdkEvent *)
 Delete the window.
void dimensions_window_expose_event (GtkWidget *, GdkEventExpose *, GdkPixbuf *)
 Expose the window.
int dimensions_create_window (gchar *, gchar *)
 Create a dialog window containing a pre-defined pixbuf (from file).

Detailed Description

Header file for functions for a footprint dimensions preview widget.

Author:
Copyright 2007, 2008, 2009, 2010 by Bert Timmerman <bert.timmerman@xs4all.nl>

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.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition in file dimensions.h.


Function Documentation

int dimensions_create_window ( gchar *  image_filename,
gchar *  footprint_type 
)

Create a dialog window containing a pre-defined pixbuf (from file).

The footprint_name variable is used in the dialog title.

Returns:
0 when successful.

The footprint_name variable is used in the dialog title.

Returns:
0 when successfull.
Parameters:
image_filename : is the filename of the image to draw in the window.
footprint_type : is the footprint type.

Definition at line 106 of file dimensions.c.

void dimensions_window_delete_event ( GtkWidget *  ,
GdkEvent *   
)

Delete the window.

Definition at line 53 of file dimensions.c.

void dimensions_window_expose_event ( GtkWidget *  ,
GdkEventExpose *  ,
GdkPixbuf *   
)

Expose the window.

Definition at line 69 of file dimensions.c.