pentpal.cpp File Reference

Go to the source code of this file.

Functions

bool loadPalette (Pentagram::Palette *pal, const ConvertShapeFormat *format)
static void file_sel_delete (GtkWidget *widget, GtkWidget **file_sel)
static void file_selected (GtkWidget *widget, gboolean *selected)
IDataSourcechoosePalette ()


Function Documentation

IDataSource* choosePalette (  ) 

Definition at line 148 of file pentpal.cpp.

References file_sel_delete(), file_selected(), FileSystem::get_instance(), and FileSystem::ReadFile().

Referenced by loadPalette().

static void file_sel_delete ( GtkWidget *  widget,
GtkWidget **  file_sel 
) [static]

Definition at line 137 of file pentpal.cpp.

Referenced by choosePalette().

static void file_selected ( GtkWidget *  widget,
gboolean *  selected 
) [static]

Definition at line 143 of file pentpal.cpp.

Referenced by choosePalette().

bool loadPalette ( Pentagram::Palette pal,
const ConvertShapeFormat format 
)

Definition at line 34 of file pentpal.cpp.

References choosePalette(), Crusader2DShapeFormat, CrusaderShapeFormat, pal, PentagramShapeFormat, IDataSource::seek(), U82DShapeFormat, U8ShapeFormat, and U8SKFShapeFormat.

Referenced by load_image().


Generated on Fri Jul 27 22:28:08 2007 for pentagram by  doxygen 1.4.7