From 5498390ba93922ea5977052068e81b42bf53cefc Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Wed, 16 Dec 2015 00:02:46 -0800 Subject: 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] --- endless/eosmacros.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'endless/eosmacros.h') 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 */ -- cgit v1.2.3