tips_dialog.C File Reference

#include <config.h>
#include <gtk/gtk.h>
#include <gnome.h>
#include <libgnome/libgnome.h>
#include <gdk/gdk.h>
#include "tips_dialog.h"
#include "wilber-stm.h"
#include "wilber-afm.h"
#include "wilber-spa.h"
#include "glbvars.h"

Go to the source code of this file.

Functions

static int tips_dialog_hide (GtkWidget *widget, gpointer data)
static int tips_show_next (GtkWidget *widget, gpointer data)
static void tips_toggle_update (GtkWidget *widget, gpointer data)
static void read_tips_file (char *filename)
gchar * gxsm_data_directory ()
gint draw_wilber (void *pv)
void tips_dialog_create ()
static void store_tip (char *str)

Variables

static GtkWidget * tips_dialog = NULL
static GtkWidget * tips_label
static char ** tips_text = NULL
static int tips_count = 0
static int old_show_tips
static int last_tip = 0
static int show_tips = -1
static gint twc_id = 0


Function Documentation

gint draw_wilber void *  pv  ) 
 

Definition at line 63 of file tips_dialog.C.

References HEADER_PIXEL, src, wilberafm_data, wilberafm_height, wilberafm_width, wilberspa_data, wilberspa_height, wilberspa_width, wilberstm_data, wilberstm_height, and wilberstm_width.

Referenced by tips_dialog_create().

gchar* gxsm_data_directory  ) 
 

Definition at line 58 of file tips_dialog.C.

References PACKAGE_TIPS_DIR.

Referenced by tips_dialog_create().

static void read_tips_file char *  filename  )  [static]
 

Definition at line 317 of file tips_dialog.C.

References _, and store_tip().

Referenced by tips_dialog_create().

static void store_tip char *  str  )  [static]
 

Definition at line 309 of file tips_dialog.C.

References tips_count, and tips_text.

Referenced by read_tips_file().

void tips_dialog_create void   ) 
 

Definition at line 95 of file tips_dialog.C.

Referenced by App::help_tip_callback(), and App::RemoveGxsmSplash().

static int tips_dialog_hide GtkWidget *  widget,
gpointer  data
[static]
 

Definition at line 245 of file tips_dialog.C.

References last_tip, XsmRescourceManager::Put(), XsmRescourceManager::PutBool(), show_tips, tips_dialog, TRUE, and twc_id.

Referenced by tips_dialog_create().

static int tips_show_next GtkWidget *  widget,
gpointer  data
[static]
 

Definition at line 275 of file tips_dialog.C.

References FALSE, last_tip, tips_count, tips_label, and tips_text.

Referenced by tips_dialog_create().

static void tips_toggle_update GtkWidget *  widget,
gpointer  data
[static]
 

Definition at line 295 of file tips_dialog.C.

References FALSE, and TRUE.

Referenced by tips_dialog_create().


Variable Documentation

int last_tip = 0 [static]
 

Definition at line 53 of file tips_dialog.C.

Referenced by tips_dialog_create(), tips_dialog_hide(), and tips_show_next().

int old_show_tips [static]
 

Definition at line 51 of file tips_dialog.C.

Referenced by tips_dialog_create().

int show_tips = -1 [static]
 

Definition at line 54 of file tips_dialog.C.

Referenced by tips_dialog_create(), and tips_dialog_hide().

int tips_count = 0 [static]
 

Definition at line 50 of file tips_dialog.C.

Referenced by store_tip(), tips_dialog_create(), and tips_show_next().

GtkWidget* tips_dialog = NULL [static]
 

Definition at line 47 of file tips_dialog.C.

Referenced by tips_dialog_create(), and tips_dialog_hide().

GtkWidget* tips_label [static]
 

Definition at line 48 of file tips_dialog.C.

Referenced by tips_dialog_create(), and tips_show_next().

char** tips_text = NULL [static]
 

Definition at line 49 of file tips_dialog.C.

Referenced by store_tip(), tips_dialog_create(), and tips_show_next().

gint twc_id = 0 [static]
 

Definition at line 56 of file tips_dialog.C.

Referenced by tips_dialog_create(), and tips_dialog_hide().


Generated on Sat Apr 1 09:04:39 2006 for GXSM by  doxygen 1.4.6