#include "ut_compiler.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "ut_string.h"
#include "ut_assert.h"
#include "xap_UnixDialogHelper.h"
#include "xap_GtkComboBoxHelpers.h"
#include "xap_Dialog_Id.h"
#include "xap_Dlg_MessageBox.h"
#include "xap_UnixDlg_FileOpenSaveAs.h"
#include "xap_UnixApp.h"
#include "xap_Frame.h"
#include "xap_UnixFrameImpl.h"
#include "xap_Strings.h"
#include "xap_Prefs.h"
#include "ut_debugmsg.h"
#include "ut_string_class.h"
#include "ut_path.h"
#include "ut_png.h"
#include "ut_svg.h"
#include "ut_misc.h"
#include "fg_Graphic.h"
#include "fg_GraphicRaster.h"
#include "ie_impGraphic.h"
#include "gr_UnixImage.h"
#include "gr_Painter.h"
#include "gr_UnixCairoGraphics.h"
#include "ut_bytebuf.h"
#include "../../../wp/impexp/xp/ie_types.h"
#include "../../../wp/impexp/xp/ie_imp.h"
#include "../../../wp/impexp/xp/ie_exp.h"
Defines | |
#define | PREVIEW_WIDTH 100 |
#define | PREVIEW_HEIGHT 100 |
Functions | |
static void | s_dialog_response (GtkWidget *, gint answer, XAP_Dialog_FileOpenSaveAs::tAnswer *ptr, bool bQuit=true) |
static void | dialog_response (GtkWidget *widget, gint answer, XAP_Dialog_FileOpenSaveAs::tAnswer *ptr) |
static void | s_delete_clicked (GtkWidget *, GdkEvent *, gpointer data) |
static gint | s_preview_draw (GtkWidget *, cairo_t *, gpointer ptr) |
static void | s_filetypechanged (GtkWidget *w, gpointer p) |
static gint | fsel_key_event (GtkWidget *widget, GdkEventKey *event, XAP_Dialog_FileOpenSaveAs::tAnswer *answer) |
static void | s_file_activated (GtkWidget *w, XAP_Dialog_FileOpenSaveAs::tAnswer *answer) |
static void | file_selection_changed (GtkTreeSelection *, gpointer ptr) |
#define PREVIEW_HEIGHT 100 |
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
#define PREVIEW_WIDTH 100 |
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static void dialog_response | ( | GtkWidget * | widget, | |
gint | answer, | |||
XAP_Dialog_FileOpenSaveAs::tAnswer * | ptr | |||
) | [static] |
References s_dialog_response().
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static void file_selection_changed | ( | GtkTreeSelection * | , | |
gpointer | ptr | |||
) | [static] |
References XAP_UnixDialog_FileOpenSaveAs::previewPicture(), and UT_ASSERT.
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static gint fsel_key_event | ( | GtkWidget * | widget, | |
GdkEventKey * | event, | |||
XAP_Dialog_FileOpenSaveAs::tAnswer * | answer | |||
) | [static] |
References s_dialog_response().
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static void s_delete_clicked | ( | GtkWidget * | , | |
GdkEvent * | , | |||
gpointer | data | |||
) | [static] |
References XAP_UnixDialog_FileOpenSaveAs::onDeleteCancel().
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static void s_dialog_response | ( | GtkWidget * | , | |
gint | answer, | |||
XAP_Dialog_FileOpenSaveAs::tAnswer * | ptr, | |||
bool | bQuit = true | |||
) | [static] |
Referenced by dialog_response(), fsel_key_event(), and s_file_activated().
static void s_file_activated | ( | GtkWidget * | w, | |
XAP_Dialog_FileOpenSaveAs::tAnswer * | answer | |||
) | [static] |
References s_dialog_response().
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static void s_filetypechanged | ( | GtkWidget * | w, | |
gpointer | p | |||
) | [static] |
References XAP_UnixDialog_FileOpenSaveAs::fileTypeChanged(), and UT_ASSERT.
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().
static gint s_preview_draw | ( | GtkWidget * | , | |
cairo_t * | , | |||
gpointer | ptr | |||
) | [static] |
References XAP_UnixDialog_FileOpenSaveAs::previewPicture(), and UT_ASSERT.
Referenced by XAP_UnixDialog_FileOpenSaveAs::runModal().