Mercurial > geeqie
diff 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 |
line wrap: on
line diff
--- a/src/typedefs.h Thu Feb 26 17:34:14 2009 +0000 +++ b/src/typedefs.h Thu Feb 26 20:50:36 2009 +0000 @@ -211,6 +211,21 @@ typedef struct _CommandLine CommandLine; +struct _Histogram { + gint histogram_channel; /* drawing mode for histogram */ + gint histogram_mode; /* logarithmical or not */ + guint vgrid; /* number of vertical divisions, 0 for none */ + guint hgrid; /* number of horizontal divisions, 0 for none */ + struct { + int R; /* red */ + int G; /* green */ + int B; /* blue */ + int A; /* alpha */ + } grid_color; /* grid color */ + +}; + + struct _EditorDescription { gchar *key; /* desktop file name, not including path, including extension */ gchar *name; /* Name, localized name presented to user */