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.


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)


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.

gchar* gxsm_data_directory  ) 

Definition at line 58 of file tips_dialog.C.


static void read_tips_file char *  filename  )  [static]

Definition at line 317 of file tips_dialog.C.

References _, and store_tip().

static void store_tip char *  str  )  [static]

Definition at line 309 of file tips_dialog.C.

References tips_count, and tips_text.

void tips_dialog_create void   ) 

Definition at line 95 of file tips_dialog.C.

References _, draw_wilber(), FALSE, XsmRescourceManager::Get(), XsmRescourceManager::GetBool(), gxsm_data_directory(), last_tip, old_show_tips, read_tips_file(), show_tips, tips_count, tips_dialog, tips_dialog_hide(), tips_label, tips_show_next(), tips_text, tips_toggle_update(), TRUE, and twc_id.

static int tips_dialog_hide GtkWidget *  widget,
gpointer  data

Definition at line 245 of file tips_dialog.C.

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

static int tips_show_next GtkWidget *  widget,
gpointer  data

Definition at line 275 of file tips_dialog.C.

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

static void tips_toggle_update GtkWidget *  widget,
gpointer  data

Definition at line 295 of file tips_dialog.C.

References FALSE, and TRUE.

Variable Documentation

int last_tip = 0 [static]

Definition at line 53 of file tips_dialog.C.

int old_show_tips [static]

Definition at line 51 of file tips_dialog.C.

int show_tips = -1 [static]

Definition at line 54 of file tips_dialog.C.

int tips_count = 0 [static]

Definition at line 50 of file tips_dialog.C.

GtkWidget* tips_dialog = NULL [static]

Definition at line 47 of file tips_dialog.C.

GtkWidget* tips_label [static]

Definition at line 48 of file tips_dialog.C.

char** tips_text = NULL [static]

Definition at line 49 of file tips_dialog.C.

gint twc_id = 0 [static]

Definition at line 56 of file tips_dialog.C.

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