[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: prototype.h
User: sdb
Date: 06/08/12 14:57:38
Modified: . prototype.h x_menu.h
Log:
Made cell text different colors depending upon attribute visibility.
Revision Changes Path
1.12 +4 -2 eda/geda/gaf/gattrib/include/prototype.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: prototype.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/include/prototype.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- prototype.h 26 Jul 2006 22:56:39 -0000 1.11
+++ prototype.h 12 Aug 2006 18:57:38 -0000 1.12
@@ -234,10 +234,12 @@
void x_notebook_init();
void x_gtksheet_add_row_labels(GtkSheet *sheet, int count, STRING_LIST *list_head);
void x_gtksheet_add_col_labels(GtkSheet *sheet, int count, STRING_LIST *list_head);
-void x_gtksheet_add_cell_item(GtkSheet *sheet, int i, int j, char *text);
+void x_gtksheet_add_cell_item(GtkSheet *sheet, gint i, gint j,
+ char *text, gint visibility, gint show_name_value);
int x_gtksheet_get_min_col(GtkSheet *sheet);
int x_gtksheet_get_max_col(GtkSheet *sheet);
-
+void x_gtksheet_set_cell_text_color(GtkSheet *sheet, gint row, gint col,
+ gint color_name);
void format_text (GtkSheet *sheet, gchar *text, gint *justification, char *label);
void alarm_change(GtkWidget *widget, gint row, gint col,
1.8 +5 -5 eda/geda/gaf/gattrib/include/x_menu.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_menu.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/include/x_menu.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- x_menu.h 6 Aug 2006 16:45:28 -0000 1.7
+++ x_menu.h 12 Aug 2006 18:57:38 -0000 1.8
@@ -53,7 +53,7 @@
"<LastBranch>" -> create a right justified branch
*/
-static GtkItemFactoryEntry menu_items[] = {
+GtkItemFactoryEntry menu_items[] = {
/* ------- File menu ------- */
{ "/_File",
NULL,
@@ -174,25 +174,25 @@
{ "/Visibility/Set selected invisible",
NULL,
s_visibility_set_invisible,
- 0,
+ 10,
NULL
},
{ "/Visibility/Set selected name visible only",
NULL,
s_visibility_set_name_only,
- 0,
+ 11,
NULL
},
{ "/Visibility/Set selected value visible only",
NULL,
s_visibility_set_value_only,
- 0,
+ 12,
NULL
},
{ "/Visibility/Set selected name and value visible",
NULL,
s_visibility_set_name_and_value,
- 0,
+ 13,
NULL
},
/* ------- Help menu ------- */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs