{
const char* VERTEX_SHADER = MAKE_SHADER(
attribute mediump vec2 aPosition;
-uniform mediump mat4 uMvpMatrix;
+uniform highp mat4 uMvpMatrix;
void main()
{
{
mHighlightActor = Actor::New();
-#ifdef DECORATOR_DEBUG
mHighlightActor.SetName( "HighlightActor" );
-#endif
mHighlightActor.SetParentOrigin( ParentOrigin::TOP_LEFT );
mHighlightActor.SetAnchorPoint( AnchorPoint::TOP_LEFT );
mHighlightActor.SetColor( mHighlightColor );
return mImpl->mIsHighlightBoxActive;
}
+bool Decorator::IsHighlightVisible() const
+{
+ return ( mImpl->mHighlightActor && mImpl->mHighlightActor.GetParent() );
+}
+
void Decorator::SetTextDepth( int textDepth )
{
mImpl->mTextDepth = textDepth;