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) |
IDataSource * | choosePalette () |
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] |
static void file_selected | ( | GtkWidget * | widget, | |
gboolean * | selected | |||
) | [static] |
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().