diff options
author | Philip Chimento <philip@endlessm.com> | 2015-12-16 00:02:46 -0800 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2015-12-16 00:02:46 -0800 |
commit | 5498390ba93922ea5977052068e81b42bf53cefc (patch) | |
tree | fcb9d76b7cc6aa6c1518b53e5caaa728571a6156 /endless/eosmacros.h | |
parent | fef6ea4704c375876b844ade88b0a344e1cd9519 (diff) |
Add composite CSS class to EosWindow
If an EosWindow is on a composite TV screen, then add the "composite"
CSS class to it. Also add a constant, EOS_STYLE_CLASS_COMPOSITE. This
allows us to do specific styling for composite.
[endlessm/eos-sdk#3930]
Diffstat (limited to 'endless/eosmacros.h')
-rw-r--r-- | endless/eosmacros.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/endless/eosmacros.h b/endless/eosmacros.h index 1dfa786..ba4b5f0 100644 --- a/endless/eosmacros.h +++ b/endless/eosmacros.h @@ -30,4 +30,16 @@ enum_type##_get_type (void) \ return g_define_type_id__volatile; \ } +/** + * EOS_STYLE_CLASS_COMPOSITE: + * + * A CSS class to match a window on a composite TV. + * + * This is added to #EosWindow when it is detected to be on a composite TV + * screen. + * + * Since: 0.6 + */ +#define EOS_STYLE_CLASS_COMPOSITE "composite" + #endif /* EOS_MACROS_H */ |