//--------------------------------------------------------------------------- void tTVPLayerManager::SetAttentionPointOf(tTJSNI_BaseLayer *layer) { if(!LayerTreeOwner) return; tjs_int x, y; if(SearchAttentionPoint(layer, x, y)) LayerTreeOwner->SetAttentionPoint(this, layer, x, y); else LayerTreeOwner->DisableAttentionPoint(this); }
//--------------------------------------------------------------------------- void tTVPLayerManager::SetAttentionPointOf(tTJSNI_BaseLayer *layer) { if(!Window) return; tjs_int x, y; if(SearchAttentionPoint(layer, x, y)) Window->GetDrawDevice()->SetAttentionPoint(this, layer, x, y); else Window->GetDrawDevice()->DisableAttentionPoint(this); }