PCB-FPW developer documentation based on version: 0.0.11

Functions | Variables

credits_dialog.c File Reference

Credits dialog for the pcb footprintwizard (pcb-lfpw). More...

Go to the source code of this file.

Functions

static void on_credits_dialog_close_button_clicked (Widget w, XtPointer client_data, XtPointer call_data)
 The "Close" button of the "Credits" dialog is clicked.
static void create_credits_dialog (Widget parent)
 Create the "Credits" dialog.
static XmString create_credits_dialog_xmstring ()
 This puts together the XmString text for display on the "Credits" dialog.
void show_credits_dialog ()
 Show the "Credits" dialog.

Variables

static Widget credits_dialog = NULL

Detailed Description

Credits dialog for the pcb footprintwizard (pcb-lfpw).

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

pcb-lfpw (Lesstif FootPrintWizard) is a program for the creation of footprint files to be used by the pcb layout application (see http://pcb.gpleda.org) for the placement of parts in a pcb layout.

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


Function Documentation

static void create_credits_dialog ( Widget  parent  )  [static]

Create the "Credits" dialog.

The advantage to using the XmCreate*Dialog functions over Xt ones is that the Popup Dialog is auto-centered over parent widget.

Parameters: parent is the ...

Returns: none.

Definition at line 79 of file credits_dialog.c.

References create_credits_dialog_xmstring(), get_fontlist(), get_pixel(), and on_credits_dialog_close_button_clicked().

Referenced by show_credits_dialog().

Here is the call graph for this function:

static XmString create_credits_dialog_xmstring (  )  [static]

This puts together the XmString text for display on the "Credits" dialog.

Parameters: none.

Returns: xms.

Definition at line 168 of file credits_dialog.c.

Referenced by create_credits_dialog().

static void on_credits_dialog_close_button_clicked ( Widget  w,
XtPointer  client_data,
XtPointer  call_data 
) [static]

The "Close" button of the "Credits" dialog is clicked.

Parameters: w is the caller widget.

Parameters: *client_data is the ...

Parameters: *call_data is the ...

Returns: none.

Definition at line 61 of file credits_dialog.c.

Referenced by create_credits_dialog().

void show_credits_dialog (  ) 

Show the "Credits" dialog.

Parameters: none.

Returns: none.

Definition at line 197 of file credits_dialog.c.

References create_credits_dialog().

Here is the call graph for this function: