|
static void | create_help_dialog (void) |
|
static void | help_update_dialog (const struct help_item *pitem) |
|
static void | select_help_item_string (const char *item, enum help_page_type htype) |
|
static void | help_command_update (void) |
|
static void | help_command_callback (GtkWidget *w, gint response_id) |
|
void | help_system_init (void) |
|
static void | set_title_topic (char *topic) |
|
void | popdown_help_dialog (void) |
|
void | popup_help_dialog_typed (const char *item, enum help_page_type htype) |
|
void | popup_help_dialog_string (const char *item) |
|
static void | create_tech_tree (int tech, int levels, GtkTreeIter *parent) |
|
static void | help_tech_tree_activated_callback (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data) |
|
static void | help_tech_tree_expand_callback (GtkWidget *w, gpointer data) |
|
static void | help_tech_tree_collapse_callback (GtkWidget *w, gpointer data) |
|
static void | help_hyperlink_callback (GtkWidget *w) |
|
static GtkWidget * | help_hyperlink_new (GtkWidget *label, struct help_page_selection *select) |
|
static GtkWidget * | help_hyperlink_new_page (GtkWidget *label, enum help_page_type page) |
|
static GtkWidget * | help_slink_new (const gchar *txt, struct help_page_selection *select) |
|
static GtkWidget * | help_slink_new_page (const gchar *txt, enum help_page_type page) |
|
static void | help_box_hide (void) |
|
static void | help_box_add (GtkWidget *wdg) |
|
static void | help_box_clear (void) |
|
static void | help_destroy_callback (GtkWidget *w, gpointer data) |
|
static void | activated_topic (GtkTreeView *view, gpointer data) |
|
static void | set_help_tile_from_sprite (struct sprite *spr) |
|
static void | set_help_tile_from_terrain (struct terrain *pterr) |
|
static void | set_help_tile_from_extra (const struct extra_type *pextra) |
|
static void | help_update_improvement (const struct help_item *pitem, char *title) |
|
static void | help_update_wonder (const struct help_item *pitem, char *title) |
|
static void | help_update_unit_type (const struct help_item *pitem, char *title) |
|
static char * | fc_chomp (char *str, size_t len) |
|
static void | help_update_tech (const struct help_item *pitem, char *title) |
|
static void | add_act_help_for_terrain (const char *act_label, const char *result_link_label, enum help_page_type result_link_type, const char *descr_label) |
|
static void | help_extras_of_act_for_terrain (struct terrain *pterr, enum unit_activity act, char *label) |
|
static void | help_update_terrain (const struct help_item *pitem, char *title) |
|
static void | help_update_extra (const struct help_item *pitem, char *title) |
|
static void | help_update_goods (const struct help_item *pitem, char *title) |
|
static void | help_update_specialist (const struct help_item *pitem, char *title) |
|
static void | help_update_government (const struct help_item *pitem, char *title) |
|
static void | help_update_nation (const struct help_item *pitem, char *title, struct nation_type *pnation) |
|
static void | help_item_zoom (GtkTreePath *path) |
|
static GtkTreePath * | help_item_path (const struct help_item *pitem) |
|
static void create_tech_tree |
( |
int |
tech, |
|
|
int |
levels, |
|
|
GtkTreeIter * |
parent |
|
) |
| |
|
static |
Called by help_update_tech and itself Creates a node in the given tree for the given tech, and creates child nodes for any children it has up to levels deep. These are then expanded if they are less than expanded_levels deep. Avoids generating redundant subtrees, so that if Literacy occurs twice in a tech tree, only the first will have children. Color codes the node based on when it will be discovered: red >2 turns, yellow 1 turn, green 0 turns (discovered).
Definition at line 222 of file helpdlg.c.