Crossfire Client, Trunk  R19707
Functions | Variables
about.c File Reference

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

#include <ctype.h>
#include <gtk/gtk.h>
#include "client.h"
#include "main.h"
#include "image.h"
#include "gtk2proto.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. More...
 
void on_about_close_clicked (GtkButton *button, gpointer user_data)
 Closes and hides the client's about box dialog. More...
 

Variables

static GtkWidget * about_window = NULL
 

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 41 of file about.c.

References about_window, and dialog_xml.

Referenced by init_menu_items().

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 67 of file about.c.

References about_window.

Variable Documentation

GtkWidget* about_window = NULL
static

Definition at line 33 of file about.c.

Referenced by menu_about(), and on_about_close_clicked().