Exemplo n.º 1
0
//---------------------------------------------------------------------------
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);
}
Exemplo n.º 2
0
//---------------------------------------------------------------------------
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);
}