X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-store.h;h=e4c2ecd827c47fd9bc6747fddcb1d710357e157b;hb=91fc7d27740431120fac25a2a56d44bd3fc4fb0e;hp=e60f96086c2c13e943c8cecedeb73253111afd84;hpb=8802135d750fdee1002c7e8bcaeda74a10e26d26;p=pspp diff --git a/src/ui/gui/psppire-var-store.h b/src/ui/gui/psppire-var-store.h index e60f96086c..e4c2ecd827 100644 --- a/src/ui/gui/psppire-var-store.h +++ b/src/ui/gui/psppire-var-store.h @@ -17,7 +17,6 @@ #ifndef __PSPPIRE_VAR_STORE_H__ #define __PSPPIRE_VAR_STORE_H__ -#include #include "psppire-dict.h" #include @@ -35,7 +34,7 @@ typedef enum } PsppireVarStoreFormatType; -#define G_TYPE_PSPPIRE_VAR_STORE_FORMAT_TYPE \ +#define PSPPIRE_TYPE_VAR_STORE_FORMAT_TYPE \ (psppire_var_store_format_type_get_type ()) /* PSPPIRE variable store. */ @@ -64,10 +63,8 @@ struct _PsppireVarStore GObject parent; /*< private >*/ - PsppireDict *dict; + PsppireDict *dictionary; GdkColor disabled; - const PangoFontDescription *font_desc; - gint trailing_rows; PsppireVarStoreFormatType format_type; }; @@ -87,9 +84,6 @@ GType psppire_var_store_get_type (void) G_GNUC_CONST; PsppireVarStore *psppire_var_store_new (PsppireDict *dict); struct variable * psppire_var_store_get_var (PsppireVarStore *store, glong row); -void psppire_var_store_set_dictionary (PsppireVarStore *var_store, PsppireDict *dict); - - /* Return the number of variables */ gint psppire_var_store_get_var_cnt (PsppireVarStore *var_store); @@ -98,4 +92,19 @@ void psppire_var_store_set_font (PsppireVarStore *store, const PangoFontDescript G_END_DECLS + +enum { + PSPPIRE_VAR_STORE_COL_NAME, + PSPPIRE_VAR_STORE_COL_TYPE, + PSPPIRE_VAR_STORE_COL_WIDTH, + PSPPIRE_VAR_STORE_COL_DECIMALS, + PSPPIRE_VAR_STORE_COL_LABEL, + PSPPIRE_VAR_STORE_COL_VALUES, + PSPPIRE_VAR_STORE_COL_MISSING, + PSPPIRE_VAR_STORE_COL_COLUMNS, + PSPPIRE_VAR_STORE_COL_ALIGN, + PSPPIRE_VAR_STORE_COL_MEASURE, + PSPPIRE_VAR_STORE_n_COLS +}; + #endif /* __PSPPIRE_VAR_STORE_H__ */