PCB-FPW developer documentation based on version: 0.0.11

Functions | Variables

about_dialog.c File Reference

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

Go to the source code of this file.

Functions

static void on_about_dialog_close_button_clicked (Widget w, XtPointer client_data, XtPointer call_data)
 The "Close" button of the "About pcb-lfpw" dialog is clicked.
static void on_about_dialog_credits_button_clicked (Widget w, XtPointer client_data, XtPointer call_data)
 The "Credits" button of the "About pcb-lfpw" dialog is clicked.
static void on_about_dialog_license_button_clicked (Widget w, XtPointer client_data, XtPointer call_data)
 The "License" button of the "About pcb-lfpw" dialog is clicked.
void create_about_dialog (Widget parent)
 Create the "About pcb-lfpw" dialog.
static XmString create_about_dialog_xmstring ()
 This puts together the XmString text for display on the "About" dialog.

Variables

static Widget about_dialog

Detailed Description

About 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 lesstif/about_dialog.c.


Function Documentation

void create_about_dialog ( Widget  parent  ) 

Create the "About pcb-lfpw" 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 115 of file lesstif/about_dialog.c.

References about_dialog, create_about_dialog_xmstring(), get_fontlist(), get_pixel(), on_about_dialog_close_button_clicked(), on_about_dialog_credits_button_clicked(), and on_about_dialog_license_button_clicked().

Here is the call graph for this function:

static XmString create_about_dialog_xmstring (  )  [static]

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

Parameters: none.

Returns: xms.

Definition at line 263 of file lesstif/about_dialog.c.

Referenced by create_about_dialog().

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

The "Close" button of the "About pcb-lfpw" 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 lesstif/about_dialog.c.

References about_dialog.

Referenced by create_about_dialog().

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

The "Credits" button of the "About pcb-lfpw" dialog is clicked.

Parameters: w is the caller widget.

Parameters: *client_data is the ...

Parameters: *call_data is the ...

Returns: none.

Todo:
Add code ...

Definition at line 79 of file lesstif/about_dialog.c.

Referenced by create_about_dialog().

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

The "License" button of the "About pcb-lfpw" dialog is clicked.

Parameters: w is the caller widget.

Parameters: *client_data is the ...

Parameters: *call_data is the ...

Returns: none.

Todo:
Add code ...

Definition at line 97 of file lesstif/about_dialog.c.

Referenced by create_about_dialog().