Defines | Functions | Variables

ap_UnixDialog_PageSetup.cpp File Reference

#include "ut_assert.h"
#include "xap_App.h"
#include "xap_UnixApp.h"
#include "xap_Frame.h"
#include "ap_Strings.h"
#include "ut_string_class.h"
#include "xap_UnixDialogHelper.h"
#include "xap_GtkSignalBlocker.h"
#include "xap_GtkComboBoxHelpers.h"
#include "ap_UnixDialog_PageSetup.h"
#include <string.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include "orient-vertical.xpm"
#include "orient-horizontal.xpm"
#include "margin.xpm"
#include "ut_debugmsg.h"

Defines

#define _(a, x)   _0(pSS, a##_STRING_ID_##x)
#define FMT_STRING   "%0.2f"

Functions

static GtkWidget * create_pixmap (G_GNUC_UNUSED GtkWidget *w, const char **data)
static char * _ev_convert (char *bufResult, const char *szString)
char * _0 (const XAP_StringSet *pSS, XAP_String_Id id)
static void s_Landscape_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg)
static void s_page_size_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg)
static void s_page_units_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg)
static void s_margin_units_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg)
static void s_entryPageWidth_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg)
static void s_entryPageHeight_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg)
void Markup (GtkWidget *widget, const XAP_StringSet *, char *string)

Variables

static UT_Dimension last_margin_unit = DIM_IN
static char _ev_buf [256]

Define Documentation

#define _ (   a,
  x 
)    _0(pSS, a##_STRING_ID_##x)
#define FMT_STRING   "%0.2f"

Function Documentation

char* _0 ( const XAP_StringSet pSS,
XAP_String_Id  id 
) [inline]
static char* _ev_convert ( char *  bufResult,
const char *  szString 
) [static]

References s, and UT_ASSERT.

Referenced by _0().

static GtkWidget* create_pixmap ( G_GNUC_UNUSED GtkWidget *  w,
const char **  data 
) [static]
void Markup ( GtkWidget *  widget,
const XAP_StringSet ,
char *  string 
)
static void s_entryPageHeight_changed ( GtkWidget *  w,
AP_UnixDialog_PageSetup dlg 
) [static]
static void s_entryPageWidth_changed ( GtkWidget *  w,
AP_UnixDialog_PageSetup dlg 
) [static]
static void s_Landscape_changed ( GtkWidget *  w,
AP_UnixDialog_PageSetup dlg 
) [static]
static void s_margin_units_changed ( GtkWidget *  w,
AP_UnixDialog_PageSetup dlg 
) [static]
static void s_page_size_changed ( GtkWidget *  w,
AP_UnixDialog_PageSetup dlg 
) [static]
static void s_page_units_changed ( GtkWidget *  w,
AP_UnixDialog_PageSetup dlg 
) [static]

Variable Documentation

char _ev_buf[256] [static]

Referenced by _0().

UT_Dimension last_margin_unit = DIM_IN [static]