示例#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);
}
示例#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);
}