#include "ut_compiler.h"
#include <stdlib.h>
#include <gdk/gdk.h>
#include "ut_locale.h"
#include "ut_string.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_unixColor.h"
#include "xap_UnixDialogHelper.h"
#include "xap_UnixDlg_ColorChooser.h"
#include "xap_GtkSignalBlocker.h"
#include "xap_GtkComboBoxHelpers.h"
#include "xap_App.h"
#include "xap_UnixApp.h"
#include "xap_Frame.h"
#include "ap_Strings.h"
#include "ap_Dialog_Id.h"
#include "ap_Dialog_FormatFrame.h"
#include "ap_UnixDialog_FormatFrame.h"
#include "ap_UnixDialog_Columns.h"
#include "fl_FrameLayout.h"
#include "fl_BlockLayout.h"
#include "gr_UnixCairoGraphics.h"
Defines | |
#define | WIDGET_ID_TAG_KEY "id" |
Functions | |
ABI_W_NO_CONST_QUAL static ABI_W_POP void | s_apply_changes (GtkWidget *widget, gpointer data) |
static void | s_close_window (GtkWidget *widget, gpointer data) |
static void | s_line_left (GtkWidget *widget, gpointer data) |
static void | s_line_right (GtkWidget *widget, gpointer data) |
static void | s_line_top (GtkWidget *widget, gpointer data) |
static void | s_line_bottom (GtkWidget *widget, gpointer data) |
static void | s_WrapButton (GtkWidget *widget, gpointer data) |
static void | s_border_thickness (GtkWidget *widget, gpointer data) |
static gboolean | s_preview_draw (GtkWidget *widget, gpointer, AP_UnixDialog_FormatFrame *dlg) |
static gboolean | s_select_image (GtkWidget *widget, gpointer data) |
static gboolean | s_remove_image (GtkWidget *widget, gpointer data) |
static gboolean | AP_UnixDialog_FormatFrame__onBorderColorClicked (GtkWidget *button, GdkEventButton *event, gpointer data) |
static gboolean | AP_UnixDialog_FormatFrame__onBackgroundColorClicked (GtkWidget *button, GdkEventButton *event, gpointer data) |
static void | s_destroy_clicked (GtkWidget *, AP_UnixDialog_FormatFrame *dlg) |
static void | s_delete_clicked (GtkWidget *widget, gpointer, gpointer *) |
#define WIDGET_ID_TAG_KEY "id" |
static gboolean AP_UnixDialog_FormatFrame__onBackgroundColorClicked | ( | GtkWidget * | button, | |
GdkEventButton * | event, | |||
gpointer | data | |||
) | [static] |
Intercept clicks on the color button and show an own GtkColorSelectionDialog with palette enabled.
References AP_UnixDialog_FormatFrame::event_previewExposed(), AP_UnixDialog_FormatFrame::getWindow(), AP_Dialog_FormatFrame::setBGColor(), UT_return_val_if_fail, and XAP_UnixDlg_RunColorChooser().
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static gboolean AP_UnixDialog_FormatFrame__onBorderColorClicked | ( | GtkWidget * | button, | |
GdkEventButton * | event, | |||
gpointer | data | |||
) | [static] |
Intercept clicks on the color button and show an own GtkColorSelectionDialog with palette enabled.
References AP_UnixDialog_FormatFrame::event_previewExposed(), AP_UnixDialog_FormatFrame::getWindow(), AP_Dialog_FormatFrame::setBorderColor(), UT_return_val_if_fail, and XAP_UnixDlg_RunColorChooser().
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
ABI_W_NO_CONST_QUAL static ABI_W_POP void s_apply_changes | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
References AP_UnixDialog_FormatFrame::event_ApplyToChanged(), and UT_return_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static void s_border_thickness | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
References AP_UnixDialog_FormatFrame::event_BorderThicknessChanged(), and UT_return_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static void s_close_window | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
References AP_UnixDialog_FormatFrame::event_Close(), and UT_return_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
References abiDestroyWidget().
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static void s_destroy_clicked | ( | GtkWidget * | , | |
AP_UnixDialog_FormatFrame * | dlg | |||
) | [static] |
References AP_UnixDialog_FormatFrame::event_Close(), and UT_ASSERT.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static void s_line_bottom | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
static void s_line_left | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
static void s_line_right | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
static void s_line_top | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
static gboolean s_preview_draw | ( | GtkWidget * | widget, | |
gpointer | , | |||
AP_UnixDialog_FormatFrame * | dlg | |||
) | [static] |
References AP_UnixDialog_FormatFrame::event_previewExposed(), and UT_return_val_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static gboolean s_remove_image | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
References AP_Dialog_FormatFrame::clearImage(), and UT_return_val_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static gboolean s_select_image | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
References AP_Dialog_FormatFrame::askForGraphicPathName(), and UT_return_val_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().
static void s_WrapButton | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
References AP_Dialog_FormatFrame::setWrapping(), and UT_return_if_fail.
Referenced by AP_UnixDialog_FormatFrame::_connectSignals().