PCB-FPW developer documentation based on version: 0.0.11

Functions

util.c File Reference

utilities for the pcb footprintwizard (pcb-lfpw). More...

Go to the source code of this file.

Functions

Pixel get_pixel (Widget w, char *resource_value)
 Get the pixel color.
XmFontList get_fontlist (Widget w, char *fontname)
 Get the fontlist.

Detailed Description

utilities for the pcb footprintwizard (pcb-lfpw).

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 util.c.


Function Documentation

XmFontList get_fontlist ( Widget  w,
char *  fontname 
)

Get the fontlist.

Returns:
fontlist.

Definition at line 60 of file util.c.

Referenced by create_about_dialog(), and create_credits_dialog().

Pixel get_pixel ( Widget  w,
char *  resource_value 
)

Get the pixel color.

Returns:
color.pixel.

Definition at line 37 of file util.c.

Referenced by create_about_dialog(), and create_credits_dialog().