comparison src/typedefs.h @ 1329:1fc356f629fe

Clean up histogram stuff: options saving/restoring, osd histogram separation, tidy up.
author zas_
date Thu, 26 Feb 2009 20:50:36 +0000
parents 055ed09d5a03
children f97450e632a1
comparison
equal deleted inserted replaced
1328:fb7708d359ea 1329:1fc356f629fe
209 209
210 typedef struct _EditorDescription EditorDescription; 210 typedef struct _EditorDescription EditorDescription;
211 211
212 typedef struct _CommandLine CommandLine; 212 typedef struct _CommandLine CommandLine;
213 213
214 struct _Histogram {
215 gint histogram_channel; /* drawing mode for histogram */
216 gint histogram_mode; /* logarithmical or not */
217 guint vgrid; /* number of vertical divisions, 0 for none */
218 guint hgrid; /* number of horizontal divisions, 0 for none */
219 struct {
220 int R; /* red */
221 int G; /* green */
222 int B; /* blue */
223 int A; /* alpha */
224 } grid_color; /* grid color */
225
226 };
227
228
214 struct _EditorDescription { 229 struct _EditorDescription {
215 gchar *key; /* desktop file name, not including path, including extension */ 230 gchar *key; /* desktop file name, not including path, including extension */
216 gchar *name; /* Name, localized name presented to user */ 231 gchar *name; /* Name, localized name presented to user */
217 gchar *icon; /* Icon */ 232 gchar *icon; /* Icon */
218 gchar *exec; /* Exec */ 233 gchar *exec; /* Exec */