diff options
author | Thomas Thurman <tthurman@gnome.org> | 2008-01-18 05:07:53 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-01-18 05:07:53 +0000 |
commit | 7b031a1c28b461998cb4c88971c884919a3d9929 (patch) | |
tree | f09803807624de8164d67afae583f9521c7784ae /src/ui/theme.h | |
parent | ca098b2416763928c61aa2291e7f5ec94902c4b6 (diff) | |
download | metacity-7b031a1c28b461998cb4c88971c884919a3d9929.tar.gz metacity-7b031a1c28b461998cb4c88971c884919a3d9929.tar.bz2 |
some more commenting.
2008-01-18 Thomas Thurman <tthurman@gnome.org>
* src/ui/theme.[ch]: some more commenting.
svn path=/trunk/; revision=3523
Diffstat (limited to 'src/ui/theme.h')
-rw-r--r-- | src/ui/theme.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/ui/theme.h b/src/ui/theme.h index d04892b..24927ea 100644 --- a/src/ui/theme.h +++ b/src/ui/theme.h @@ -373,14 +373,29 @@ typedef struct } d; } PosToken; +/** + * + * Created by meta_draw_spec_new(), destroyed by meta_draw_spec_free(). + * pos_eval() fills this with ...FIXME. Are tokens a tree or a list? + * \bug FIXME finish filling this in + * \ingroup tokenizer + */ typedef struct _MetaDrawSpec { + /** + * If this spec is constant, this is the value of the constant; + * otherwise it is zero. + */ int value; + /** A list of tokens in the expression. */ PosToken *tokens; + + /** How many tokens are in the tokens list. */ int n_tokens; - gboolean constant : 1; /* Does the expression contain any variables? */ + /** Does the expression contain any variables? */ + gboolean constant : 1; } MetaDrawSpec; struct _MetaDrawOp |