Crossfire Client, Branches  R11627
Notebook_Info Struct Reference
+ Collaboration diagram for Notebook_Info:

Data Fields

const char * name
 
int(* show_func )(item *it)
 
const char * tooltip
 
GtkTreeStore * treestore
 
GtkWidget * treeview
 
int type
 
const char *const * xpm
 

Detailed Description

Definition at line 96 of file inventory.c.

Field Documentation

const char* Notebook_Info::name

Name of this page, for the show command

Definition at line 97 of file inventory.c.

int(* Notebook_Info::show_func)(item *it)

Function that takes an item and returns INV_SHOW_* above on whether to show this item and if it should be shown in color

Definition at line 100 of file inventory.c.

Referenced by draw_inv_list().

const char* Notebook_Info::tooltip

Tooltip for menu

Definition at line 98 of file inventory.c.

GtkTreeStore* Notebook_Info::treestore

store of data for treeview

Definition at line 110 of file inventory.c.

Referenced by animate_inventory(), and inventory_init().

GtkWidget* Notebook_Info::treeview

treeview widget for this tab

Definition at line 109 of file inventory.c.

Referenced by inventory_init().

int Notebook_Info::type

Type of widget - currently unused, but I'm thinking it might be nice to have a pane just of icon view or something, and need some way to show that

Definition at line 104 of file inventory.c.

const char* const* Notebook_Info::xpm

Icon to draw for the notebook selector

Definition at line 99 of file inventory.c.


The documentation for this struct was generated from the following file: