Crossfire Client, Branch  R11627
Functions | Variables
about.c File Reference

Supports the client's about box dialog. More...

#include <gtk/gtk.h>
#include <glade/glade.h>
#include <ctype.h>
#include "client.h"
#include "main.h"
#include "image.h"
#include "gtk2proto.h"
#include "about.h"
#include "../../pixmaps/crossfiretitle.xpm"
Include dependency graph for about.c:

Go to the source code of this file.

Functions

void menu_about (GtkMenuItem *menuitem, gpointer user_data)
 Instantiates and displays the client's about box dialog.
void on_about_close_clicked (GtkButton *button, gpointer user_data)
 Closes and hides the client's about box dialog.

Variables

static GtkWidget * about_window = NULL
const char *const rcsid_gtk2_about_c = "$Id: about.c 9204 2008-06-01 18:01:36Z anmaster $"

Detailed Description

Supports the client's about box dialog.

Definition in file about.c.


Function Documentation

void menu_about ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Instantiates and displays the client's about box dialog.

Parameters:
menuitemThe menu item that launches the about box
user_data

Definition at line 55 of file about.c.

References about_window, dialog_xml, on_about_close_clicked(), text, TRUE, and VERSION_INFO.

Referenced by enable_menu_items().

Here is the call graph for this function:

Here is the caller graph for this function:

void on_about_close_clicked ( GtkButton *  button,
gpointer  user_data 
)

Closes and hides the client's about box dialog.

Parameters:
buttonThe about dialog's close button.
user_data

Definition at line 122 of file about.c.

References about_window.

Referenced by menu_about().

Here is the caller graph for this function:


Variable Documentation

GtkWidget* about_window = NULL [static]

Definition at line 46 of file about.c.

Referenced by menu_about(), and on_about_close_clicked().

const char* const rcsid_gtk2_about_c = "$Id: about.c 9204 2008-06-01 18:01:36Z anmaster $"

Definition at line 1 of file about.c.