Commit 850e9b36 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Add some new icons


2000-12-07  Jody Goldberg <jgoldberg@home.com>

	* src/application.c (application_init) : Add some new icons

	* src/gnumeric.xml : Use the new icons
	* src/workbook-control-gui.c : Ditto
	* src/workbook-format-toolbar.c : Ditto.
parent 3a7b4305
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_init) : Add some new icons
* src/gnumeric.xml : Use the new icons
* src/workbook-control-gui.c : Ditto
* src/workbook-format-toolbar.c : Ditto.
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/mstyle.c (mstyle_hash) : add indent.
(mstyle_element_equal) : Ditto.
(mstyle_new_default) : Ditto.
(mstyle_[gs]et_orientation) : new functions.
2000-12-06 Jody Goldberg <jgoldberg@home.com>
* configure.in : Update GAL req.
......
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_init) : Add some new icons
* src/gnumeric.xml : Use the new icons
* src/workbook-control-gui.c : Ditto
* src/workbook-format-toolbar.c : Ditto.
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/mstyle.c (mstyle_hash) : add indent.
(mstyle_element_equal) : Ditto.
(mstyle_new_default) : Ditto.
(mstyle_[gs]et_orientation) : new functions.
2000-12-06 Jody Goldberg <jgoldberg@home.com>
* configure.in : Update GAL req.
......
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_init) : Add some new icons
* src/gnumeric.xml : Use the new icons
* src/workbook-control-gui.c : Ditto
* src/workbook-format-toolbar.c : Ditto.
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/mstyle.c (mstyle_hash) : add indent.
(mstyle_element_equal) : Ditto.
(mstyle_new_default) : Ditto.
(mstyle_[gs]et_orientation) : new functions.
2000-12-06 Jody Goldberg <jgoldberg@home.com>
* configure.in : Update GAL req.
......
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_init) : Add some new icons
* src/gnumeric.xml : Use the new icons
* src/workbook-control-gui.c : Ditto
* src/workbook-format-toolbar.c : Ditto.
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/mstyle.c (mstyle_hash) : add indent.
(mstyle_element_equal) : Ditto.
(mstyle_new_default) : Ditto.
(mstyle_[gs]et_orientation) : new functions.
2000-12-06 Jody Goldberg <jgoldberg@home.com>
* configure.in : Update GAL req.
......
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_init) : Add some new icons
* src/gnumeric.xml : Use the new icons
* src/workbook-control-gui.c : Ditto
* src/workbook-format-toolbar.c : Ditto.
2000-12-07 Jody Goldberg <jgoldberg@home.com>
* src/mstyle.c (mstyle_hash) : add indent.
(mstyle_element_equal) : Ditto.
(mstyle_new_default) : Ditto.
(mstyle_[gs]et_orientation) : new functions.
2000-12-06 Jody Goldberg <jgoldberg@home.com>
* configure.in : Update GAL req.
......
......@@ -185,15 +185,18 @@
_label="_Sheet" _tip="Insert a new spreadsheet"/>
<menuitem name="InsertRows" verb=""
pixtype="stock" pixname="Gnumeric_RowAdd"
_label="_Rows" _tip="Insert new rows"/>
<menuitem name="InsertColumns" verb=""
pixtype="stock" pixname="Gnumeric_ColumnAdd"
_label="_Columns" _tip="Insert new columns"/>
<menuitem name="InsertCells" verb=""
_label="_Cells" _tip="Insert new cells"/>
<menuitem name="InsertObject" verb=""
pixtype="stock" pixname="Gnumeric_InsertShapedComponent"
_label="_Object" _tip="Inserts a Bonobo object"/>
<separator/>
......@@ -206,6 +209,7 @@
</submenu>
<menuitem name="InsertComment" verb=""
pixtype="stock" pixname="Gnumeric_CommentAdd"
_label="_Add / modify comment..."
_tip="Edit the selected cell's comment"/>
......@@ -239,14 +243,17 @@
_tip="Ensure columns are just wide enough to display content" />
<menuitem name="Size" verb="ColumnSize"
pixtype="stock" pixname="Gnumeric_ColumnSize"
_label="_Width..."
_tip="Change width of the selected columns" />
<menuitem name="Hide" verb="ColumnHide"
pixtype="stock" pixname="Gnumeric_ColumnHide"
_label="_Hide"
_tip="Hide the selected columns" />
<menuitem name="Unhide" verb="ColumnUnhide"
pixtype="stock" pixname="Gnumeric_ColumnUnhide"
_label="_Unhide"
_tip="Make any hidden columns in the selection visible" />
......@@ -261,14 +268,17 @@
_tip="Ensure rows are just tall enough to display content" />
<menuitem name="Size" verb="RowSize"
pixtype="stock" pixname="Gnumeric_RowSize"
_label="_Height..."
_tip="Change height of the selected rows" />
<menuitem name="Hide" verb="RowHide"
pixtype="stock" pixname="Gnumeric_RowHide"
_label="_Hide"
_tip="Hide the selected rows" />
<menuitem name="Unhide" verb="RowUnhide"
pixtype="stock" pixname="Gnumeric_RowUnhide"
_label="_Unhide"
_tip="Make any hidden rows in the selection visible" />
......@@ -372,7 +382,7 @@
</menu>
<dockitem name="StandardToolbar" behavior="exclusive" homogeneous="0"
band_num="1" look="icons" relief="none">
band_num="1" look="icon" relief="none">
<toolitem name="New" pixtype="stock" pixname="New"
_label="New" _tip="Create a new workbook"
......@@ -454,7 +464,7 @@
</dockitem>
<dockitem name="FormatToolbar" band_num="2" behavior="exclusive"
homogeneous="0" look="icons" relief="none">
homogeneous="0" look="icon" relief="none">
<control name="FontName" _tip="Font selector"
vdisplay="button" verb="FontSelect" pixtype="stock"
......@@ -490,6 +500,11 @@
_label="Right" _tip="Right justifies the contents of each cell"
verb="AlignRight"/>
<toolitem type="toggle" name="CenterAcrossSelection"
pixtype="stock" pixname="Gnumeric_CenterAcrossSelection"
_label="CenterAcrossSelection" _tip="Right justifies the contents of each cell"
verb="CenterAcrossSelection"/>
<separator/>
<toolitem name="Money" pixtype="stock" pixname="Gnumeric_FormatAsMoney"
......@@ -522,9 +537,10 @@
</dockitem>
<dockitem name="ObjectToolbar" band_num="2" placement="left"
homogeneous="0" look="icons" relief="none">
homogeneous="0" look="icon" relief="none">
<toolitem name="Label" pixtype="stock" pixname="Gnumeric_Label"
look="icon"
_label="Label" _tip="Create a label" verb="CreateLabel"/>
<toolitem name="Frame" pixtype="stock" pixname="Gnumeric_Frame"
......
......@@ -23,7 +23,6 @@
#include "pixmaps/equal-sign.xpm"
#include "pixmaps/function_selector.xpm"
#include "pixmaps/graphic.xpm"
#include "pixmaps/object.xpm"
#include "pixmaps/insert-bonobo-component.xpm"
#include "pixmaps/label.xpm"
......@@ -45,6 +44,39 @@
#include "pixmaps/add_decimals.xpm"
#include "pixmaps/remove_decimals.xpm"
#include "pixmaps/16_add_column.xpm"
#include "pixmaps/16_add_comment.xpm"
#include "pixmaps/16_add_row.xpm"
#include "pixmaps/16_cell_height.xpm"
#include "pixmaps/16_cell_width.xpm"
#include "pixmaps/16_center_across_selection.xpm"
#include "pixmaps/16_delete_column.xpm"
#include "pixmaps/16_delete_comment.xpm"
#include "pixmaps/16_delete_row.xpm"
#include "pixmaps/16_edit_comment.xpm"
#include "pixmaps/16_hide_column.xpm"
#include "pixmaps/16_hide_row.xpm"
#include "pixmaps/16_insert_shaped_object.xpm"
#include "pixmaps/16_merge_cells.xpm"
#include "pixmaps/16_split_cells.xpm"
#include "pixmaps/16_unhide_column.xpm"
#include "pixmaps/16_unhide_row.xpm"
#include "pixmaps/24_add_column.xpm"
#include "pixmaps/24_add_row.xpm"
#include "pixmaps/24_cell_height.xpm"
#include "pixmaps/24_cell_width.xpm"
#include "pixmaps/24_center_across_selection.xpm"
#include "pixmaps/24_delete_column.xpm"
#include "pixmaps/24_delete_row.xpm"
#include "pixmaps/24_hide_column.xpm"
#include "pixmaps/24_hide_row.xpm"
#include "pixmaps/24_insert_shaped_object.xpm"
#include "pixmaps/24_merge_cells.xpm"
#include "pixmaps/24_split_cells.xpm"
#include "pixmaps/24_unhide_column.xpm"
#include "pixmaps/24_unhide_row.xpm"
typedef struct
{
/* Clipboard */
......@@ -78,7 +110,46 @@ application_init (void)
gchar **xpm_data;
} const entry_names [] = {
{ 16, 16, "Menu_Gnumeric_PrintPreview", menu_print_preview_xpm },
{ 16, 16, "Menu_Gnumeric_InsertShapedComponent", i16_insert_shaped_object_xpm },
{ 16, 16, "Menu_Gnumeric_CommentAdd", i16_add_comment_xpm },
{ 16, 16, "Menu_Gnumeric_CommentDelete", i16_delete_comment_xpm },
{ 16, 16, "Menu_Gnumeric_CommentEdit", i16_edit_comment_xpm },
{ 16, 16, "Menu_Gnumeric_ColumnAdd", i16_add_column_xpm },
{ 16, 16, "Menu_Gnumeric_ColumnDelete", i16_delete_column_xpm },
{ 16, 16, "Menu_Gnumeric_ColumnSize", i16_cell_width_xpm },
{ 16, 16, "Menu_Gnumeric_ColumnHide", i16_hide_column_xpm },
{ 16, 16, "Menu_Gnumeric_ColumnUnhide", i16_unhide_column_xpm },
{ 16, 16, "Menu_Gnumeric_RowAdd", i16_add_row_xpm },
{ 16, 16, "Menu_Gnumeric_RowDelete", i16_delete_row_xpm },
{ 16, 16, "Menu_Gnumeric_RowSize", i16_cell_height_xpm },
{ 16, 16, "Menu_Gnumeric_RowHide", i16_hide_row_xpm },
{ 16, 16, "Menu_Gnumeric_RowUnhide", i16_unhide_row_xpm },
{ 16, 16, "Menu_Gnumeric_MergeCells", i16_merge_cells_xpm },
{ 16, 16, "Menu_Gnumeric_SplitCells", i16_split_cells_xpm },
{ 16, 16, "Menu_Gnumeric_CenterAcrossSelection", i16_center_across_selection_xpm },
{ 24, 24, "Gnumeric_PrintPreview", print_preview_xpm },
{ 24, 24, "Gnumeric_InsertShapedComponent", i24_insert_shaped_object_xpm },
#if 0
{ 24, 24, "Gnumeric_CommentAdd", i24_add_comment_xpm },
{ 24, 24, "Gnumeric_CommentDelete", i24_delete_comment_xpm },
{ 24, 24, "Gnumeric_CommentEdit", i24_edit_comment_xpm },
#endif
{ 24, 24, "Gnumeric_ColumnAdd", i24_add_column_xpm },
{ 24, 24, "Gnumeric_ColumnDelete", i24_delete_column_xpm },
{ 24, 24, "Gnumeric_ColumnSize", i24_cell_width_xpm },
{ 24, 24, "Gnumeric_ColumnHide", i24_hide_column_xpm },
{ 24, 24, "Gnumeric_ColumnUnhide", i24_unhide_column_xpm },
{ 24, 24, "Gnumeric_RowAdd", i24_add_row_xpm },
{ 24, 24, "Gnumeric_RowDelete", i24_delete_row_xpm },
{ 24, 24, "Gnumeric_RowSize", i24_cell_height_xpm },
{ 24, 24, "Gnumeric_RowHide", i24_hide_row_xpm },
{ 24, 24, "Gnumeric_RowUnhide", i24_unhide_row_xpm },
{ 24, 24, "Gnumeric_MergeCells", i24_merge_cells_xpm },
{ 24, 24, "Gnumeric_SplitCells", i24_split_cells_xpm },
{ 24, 24, "Gnumeric_CenterAcrossSelection", i24_center_across_selection_xpm },
{ 24, 24, "Gnumeric_SortAscending", sort_ascending_xpm },
{ 24, 24, "Gnumeric_SortDescending", sort_descending_xpm },
{ 24, 24, "Gnumeric_AutoSum", auto_sum_xpm },
......@@ -86,7 +157,6 @@ application_init (void)
{ 24, 24, "Gnumeric_FormulaGuru", formula_guru_xpm },
{ 24, 24, "Gnumeric_GraphGuru", graph_guru_xpm },
{ 24, 24, "Gnumeric_InsertComponent", insert_component_xpm },
{ 24, 24, "Gnumeric_InsertShapedComponent", insert_shaped_component_xpm },
{ 24, 21, "Gnumeric_FormatAsMoney", money_xpm },
{ 24, 21, "Gnumeric_FormatAsPercent", percent_xpm },
......@@ -105,6 +175,7 @@ application_init (void)
{ 21, 21, "Gnumeric_Arrow", arrow_xpm },
{ 21, 21, "Gnumeric_Rectangle", rect_xpm },
{ 21, 21, "Gnumeric_Oval", oval_xpm },
{ 0, 0, NULL, NULL}
};
static GnomeStockPixmapEntry entry[sizeof(entry_names)/sizeof(struct GnumericStockPixmap)-1];
......
......@@ -667,7 +667,7 @@ gnumeric_sheet_key_mode_sheet (GnumericSheet *gsheet, GdkEventKey *event)
case GDK_KP_Page_Up:
case GDK_Page_Up:
if ((event->state & GDK_CONTROL_MASK) != 0)
gtk_notebook_prev_page (GTK_NOTEBOOK (wbcg->notebook));
gtk_notebook_prev_page (wbcg->notebook);
else if ((event->state & GDK_MOD1_MASK) == 0)
(*movefn_vertical)(gsheet, -(gsheet->row.last_visible-gsheet->row.first), FALSE);
else
......@@ -677,7 +677,7 @@ gnumeric_sheet_key_mode_sheet (GnumericSheet *gsheet, GdkEventKey *event)
case GDK_KP_Page_Down:
case GDK_Page_Down:
if ((event->state & GDK_CONTROL_MASK) != 0)
gtk_notebook_next_page (GTK_NOTEBOOK (wbcg->notebook));
gtk_notebook_next_page (wbcg->notebook);
else if ((event->state & GDK_MOD1_MASK) == 0)
(*movefn_vertical)(gsheet, gsheet->row.last_visible-gsheet->row.first, FALSE);
else
......
......@@ -667,7 +667,7 @@ gnumeric_sheet_key_mode_sheet (GnumericSheet *gsheet, GdkEventKey *event)
case GDK_KP_Page_Up:
case GDK_Page_Up:
if ((event->state & GDK_CONTROL_MASK) != 0)
gtk_notebook_prev_page (GTK_NOTEBOOK (wbcg->notebook));
gtk_notebook_prev_page (wbcg->notebook);
else if ((event->state & GDK_MOD1_MASK) == 0)
(*movefn_vertical)(gsheet, -(gsheet->row.last_visible-gsheet->row.first), FALSE);
else
......@@ -677,7 +677,7 @@ gnumeric_sheet_key_mode_sheet (GnumericSheet *gsheet, GdkEventKey *event)
case GDK_KP_Page_Down:
case GDK_Page_Down:
if ((event->state & GDK_CONTROL_MASK) != 0)
gtk_notebook_next_page (GTK_NOTEBOOK (wbcg->notebook));
gtk_notebook_next_page (wbcg->notebook);
else if ((event->state & GDK_MOD1_MASK) == 0)
(*movefn_vertical)(gsheet, gsheet->row.last_visible-gsheet->row.first, FALSE);
else
......
......@@ -185,15 +185,18 @@
_label="_Sheet" _tip="Insert a new spreadsheet"/>
<menuitem name="InsertRows" verb=""
pixtype="stock" pixname="Gnumeric_RowAdd"
_label="_Rows" _tip="Insert new rows"/>
<menuitem name="InsertColumns" verb=""
pixtype="stock" pixname="Gnumeric_ColumnAdd"
_label="_Columns" _tip="Insert new columns"/>
<menuitem name="InsertCells" verb=""
_label="_Cells" _tip="Insert new cells"/>
<menuitem name="InsertObject" verb=""
pixtype="stock" pixname="Gnumeric_InsertShapedComponent"
_label="_Object" _tip="Inserts a Bonobo object"/>
<separator/>
......@@ -206,6 +209,7 @@
</submenu>
<menuitem name="InsertComment" verb=""
pixtype="stock" pixname="Gnumeric_CommentAdd"
_label="_Add / modify comment..."
_tip="Edit the selected cell's comment"/>
......@@ -239,14 +243,17 @@
_tip="Ensure columns are just wide enough to display content" />
<menuitem name="Size" verb="ColumnSize"
pixtype="stock" pixname="Gnumeric_ColumnSize"
_label="_Width..."
_tip="Change width of the selected columns" />
<menuitem name="Hide" verb="ColumnHide"
pixtype="stock" pixname="Gnumeric_ColumnHide"
_label="_Hide"
_tip="Hide the selected columns" />
<menuitem name="Unhide" verb="ColumnUnhide"
pixtype="stock" pixname="Gnumeric_ColumnUnhide"
_label="_Unhide"
_tip="Make any hidden columns in the selection visible" />
......@@ -261,14 +268,17 @@
_tip="Ensure rows are just tall enough to display content" />
<menuitem name="Size" verb="RowSize"
pixtype="stock" pixname="Gnumeric_RowSize"
_label="_Height..."
_tip="Change height of the selected rows" />
<menuitem name="Hide" verb="RowHide"
pixtype="stock" pixname="Gnumeric_RowHide"
_label="_Hide"
_tip="Hide the selected rows" />
<menuitem name="Unhide" verb="RowUnhide"
pixtype="stock" pixname="Gnumeric_RowUnhide"
_label="_Unhide"
_tip="Make any hidden rows in the selection visible" />
......@@ -372,7 +382,7 @@
</menu>
<dockitem name="StandardToolbar" behavior="exclusive" homogeneous="0"
band_num="1" look="icons" relief="none">
band_num="1" look="icon" relief="none">
<toolitem name="New" pixtype="stock" pixname="New"
_label="New" _tip="Create a new workbook"
......@@ -454,7 +464,7 @@
</dockitem>
<dockitem name="FormatToolbar" band_num="2" behavior="exclusive"
homogeneous="0" look="icons" relief="none">
homogeneous="0" look="icon" relief="none">
<control name="FontName" _tip="Font selector"
vdisplay="button" verb="FontSelect" pixtype="stock"
......@@ -490,6 +500,11 @@
_label="Right" _tip="Right justifies the contents of each cell"
verb="AlignRight"/>
<toolitem type="toggle" name="CenterAcrossSelection"
pixtype="stock" pixname="Gnumeric_CenterAcrossSelection"
_label="CenterAcrossSelection" _tip="Right justifies the contents of each cell"
verb="CenterAcrossSelection"/>
<separator/>
<toolitem name="Money" pixtype="stock" pixname="Gnumeric_FormatAsMoney"
......@@ -522,9 +537,10 @@
</dockitem>
<dockitem name="ObjectToolbar" band_num="2" placement="left"
homogeneous="0" look="icons" relief="none">
homogeneous="0" look="icon" relief="none">
<toolitem name="Label" pixtype="stock" pixname="Gnumeric_Label"
look="icon"
_label="Label" _tip="Create a label" verb="CreateLabel"/>
<toolitem name="Frame" pixtype="stock" pixname="Gnumeric_Frame"
......
......@@ -155,7 +155,7 @@ gnumeric_main (void *closure, int argc, char *argv [])
gnumeric_arg_parse (argc, argv);
if (gnumeric_show_version) {
printf (_("gnumeric version %s\ndatadir := %s\nlibdir := %s\n"),
printf (_("gnumeric version '%s'\ndatadir := '%s'\nlibdir := '%s'\n"),
GNUMERIC_VERSION, GNUMERIC_DATADIR, GNUMERIC_LIBDIR);
return;
}
......
......@@ -155,7 +155,7 @@ gnumeric_main (void *closure, int argc, char *argv [])
gnumeric_arg_parse (argc, argv);
if (gnumeric_show_version) {
printf (_("gnumeric version %s\ndatadir := %s\nlibdir := %s\n"),
printf (_("gnumeric version '%s'\ndatadir := '%s'\nlibdir := '%s'\n"),
GNUMERIC_VERSION, GNUMERIC_DATADIR, GNUMERIC_LIBDIR);
return;
}
......
......@@ -52,6 +52,7 @@ typedef struct {
guint16 v;
guint16 h;
} align;
int indent;
StyleOrientation orientation;
gboolean fit_in_cell;
......@@ -120,6 +121,7 @@ const char *mstyle_names[MSTYLE_ELEMENT_MAX] = {
"Format",
"Align.v",
"Align.h",
"Indent",
"Orientation",
"FitInCell"
};
......@@ -164,6 +166,9 @@ mstyle_hash (gconstpointer st)
case MSTYLE_ANY_GUINT32:
hash = hash ^ e->u.any_guint32;
break;
case MSTYLE_INDENT:
hash = hash ^ e->u.indent;
break;
case MSTYLE_ORIENTATION:
hash = hash ^ e->u.orientation;
break;
......@@ -327,6 +332,10 @@ mstyle_element_equal (const MStyleElement a,
if (a.u.align.h == b.u.align.h)
return TRUE;
break;
case MSTYLE_INDENT:
if (a.u.indent == b.u.indent)
return TRUE;
break;
case MSTYLE_ORIENTATION:
if (a.u.orientation == b.u.orientation)
return TRUE;
......@@ -554,6 +563,7 @@ mstyle_new_default (void)
mstyle_set_format_text (mstyle, "General");
mstyle_set_align_v (mstyle, VALIGN_BOTTOM);
mstyle_set_align_h (mstyle, HALIGN_GENERAL);
mstyle_set_indent (mstyle, 0);
mstyle_set_orientation (mstyle, ORIENT_HORIZ);
mstyle_set_fit_in_cell (mstyle, FALSE);
mstyle_set_font_name (mstyle, DEFAULT_FONT);
......@@ -1148,6 +1158,23 @@ mstyle_get_align_v (const MStyle *style)
return style->elements[MSTYLE_ALIGN_V].u.align.v;
}
void
mstyle_set_indent (MStyle *style, int i)
{
g_return_if_fail (style != NULL);
style->elements[MSTYLE_INDENT].type = MSTYLE_INDENT;
style->elements[MSTYLE_INDENT].u.indent = i;
}
int
mstyle_get_indent (const MStyle *style)
{
g_return_val_if_fail (mstyle_is_element_set (style, MSTYLE_INDENT), 0);
return style->elements[MSTYLE_INDENT].u.indent;
}
void
mstyle_set_orientation (MStyle *style, StyleOrientation o)
{
......@@ -1162,7 +1189,7 @@ mstyle_get_orientation (const MStyle *style)
{
g_return_val_if_fail (mstyle_is_element_set (style, MSTYLE_ORIENTATION), 0);
return style->elements[MSTYLE_ORIENTATION].u.align.v;
return style->elements[MSTYLE_ORIENTATION].u.orientation;
}
void
......
......@@ -39,6 +39,7 @@ enum _MStyleElementType {
MSTYLE_ALIGN_V,
MSTYLE_ALIGN_H,
MSTYLE_INDENT,
MSTYLE_ORIENTATION,
......@@ -97,6 +98,8 @@ void mstyle_set_align_h (MStyle *st, StyleHAlignFlags a);
StyleHAlignFlags mstyle_get_align_h (const MStyle *st);
void mstyle_set_align_v (MStyle *st, StyleVAlignFlags a);
StyleVAlignFlags mstyle_get_align_v (const MStyle *st);
void mstyle_set_indent (MStyle *st, int i);
int mstyle_get_indent (const MStyle *st);
void mstyle_set_orientation (MStyle *st, StyleOrientation o);
StyleOrientation mstyle_get_orientation (const MStyle *st);
void mstyle_set_fit_in_cell (MStyle *st, gboolean f);
......@@ -109,4 +112,5 @@ char *mstyle_to_string (const MStyle *st); /* Debug only ! leaks like a
void mstyle_dump (const MStyle *st);
MStyle *mstyle_do_merge (const GList *list, MStyleElementType max);
#endif /* GNUMERIC_MSTYLE_H */
/* XPM */
static char * i16_add_column_xpm[] = {
"16 16 23 1",
" c None",
". c #000000",
"+ c #7C612E",
"@ c #595959",
"# c #A8833F",
"$ c #FFC662",
"% c #4C3B1C",
"& c #330000",
"* c #FCFCFC",
"= c #F7F7F1",
"- c #E6E6DA",
"; c #CCCC98",
"> c #9E9E91",
", c #FFFFFF",
"' c #E4E4E4",
") c #CCCC97",
"! c #9D9D90",
"~ c #ECECEC",
"{ c #B8B8B8",
"] c #F5F5ED",
"^ c #E1E1D3",
"/ c #ABAB9A",
"( c #7E7E7C",
" .+. ",
" @.#$#.@ ",
" .$$$% ",
" .$. ",
" . ",
" ..&.. ",
" .*=-. ",
" .....=;>..... ",
" .,,'.=)!.,,'. ",
" .,~{.=)!.,~{. ",
" .,~{.=)!.,~{. ",
" .,~{.=)!.,~{. ",
" .,~{.];>.,~{. ",
" .,~{.^/(.,~{. ",
" .'{{.....'{{. ",
" ..... ..... "};
/* XPM */
static char * i16_add_comment_xpm[] = {
"16 16 49 1",
" c None",
". c #000000",
"+ c #ADADAD",
"@ c #D2D2D2",
"# c #FFFFFF",
"$ c #CFCFCF",
"% c #CACACA",
"& c #C8C8C8",
"* c #D3D3D3",
"= c #EDEDED",
"- c #F8F8F8",
"; c #C9C9C9",
"> c #434343",
", c #F9F9F9",
"' c #D5D5D5",
") c #FBFBFB",
"! c #999999",
"~ c #949494",
"{ c #EFEFEF",
"] c #ABABAB",
"^ c #F3F3F3",
"/ c #5F5F5F",
"( c #FCFCFC",
"_ c #E8E8E8",
": c #FDFDFD",
"< c #DEDEDE",
"[ c #EEEEEE",
"} c #C5C5C5",
"| c #F2F2F2",
"1 c #474747",
"2 c #181818",
"3 c #C2C2C2",
"4 c #B8B8B8",
"5 c #F0F0F0",
"6 c #525252",
"7 c #464646",
"8 c #F6F2F2",
"9 c #FAFAFA",
"0 c #9D9D9D",
"a c #C1C1C1",
"b c #DBDBDB",
"c c #EBEBEB",
"d c #8F8F8F",
"e c #E5E5E5",
"f c #F7F7F7",
"g c #9B9B9B",
"h c #E9E9E9",
"i c #E0E0E0",
"j c #C0C0C0",
" ",
" ",
" ",
" ....... ",
" ..+@##$%&.. ",
" .*=-##;.>,='. ",
".')####!.~##{]. ",
".^#####/.###(_. ",
"._:#####<###([. ",
".}|-##12###:(3. ",
" .45[:67##890. ",