Commit c49e2a18 authored by claes's avatar claes

Arg change in brow_IsVisible

parent 2248990d
...@@ -1382,7 +1382,7 @@ static int attrnav_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -1382,7 +1382,7 @@ static int attrnav_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( attrnav->brow->ctx); brow_SelectClear( attrnav->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( attrnav->brow->ctx, object); brow_SelectInsert( attrnav->brow->ctx, object);
if ( !brow_IsVisible( attrnav->brow->ctx, object)) if ( !brow_IsVisible( attrnav->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( attrnav->brow->ctx, object, 0.25); brow_CenterObject( attrnav->brow->ctx, object, 0.25);
if ( node_count) if ( node_count)
free( node_list); free( node_list);
...@@ -1418,7 +1418,7 @@ static int attrnav_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -1418,7 +1418,7 @@ static int attrnav_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( attrnav->brow->ctx); brow_SelectClear( attrnav->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( attrnav->brow->ctx, object); brow_SelectInsert( attrnav->brow->ctx, object);
if ( !brow_IsVisible( attrnav->brow->ctx, object)) if ( !brow_IsVisible( attrnav->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( attrnav->brow->ctx, object, 0.75); brow_CenterObject( attrnav->brow->ctx, object, 0.75);
if ( node_count) if ( node_count)
free( node_list); free( node_list);
...@@ -1483,7 +1483,7 @@ static int attrnav_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -1483,7 +1483,7 @@ static int attrnav_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( attrnav->brow->ctx); brow_SelectClear( attrnav->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( attrnav->brow->ctx, object); brow_SelectInsert( attrnav->brow->ctx, object);
if ( !brow_IsVisible( attrnav->brow->ctx, object)) if ( !brow_IsVisible( attrnav->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( attrnav->brow->ctx, object, 0.25); brow_CenterObject( attrnav->brow->ctx, object, 0.25);
free( node_list); free( node_list);
break; break;
......
...@@ -381,7 +381,7 @@ static int subgraphs_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -381,7 +381,7 @@ static int subgraphs_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( subgraphs->brow->ctx); brow_SelectClear( subgraphs->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( subgraphs->brow->ctx, object); brow_SelectInsert( subgraphs->brow->ctx, object);
if ( !brow_IsVisible( subgraphs->brow->ctx, object)) if ( !brow_IsVisible( subgraphs->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( subgraphs->brow->ctx, object, 0.25); brow_CenterObject( subgraphs->brow->ctx, object, 0.25);
if ( node_count) if ( node_count)
free( node_list); free( node_list);
...@@ -417,7 +417,7 @@ static int subgraphs_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -417,7 +417,7 @@ static int subgraphs_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( subgraphs->brow->ctx); brow_SelectClear( subgraphs->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( subgraphs->brow->ctx, object); brow_SelectInsert( subgraphs->brow->ctx, object);
if ( !brow_IsVisible( subgraphs->brow->ctx, object)) if ( !brow_IsVisible( subgraphs->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( subgraphs->brow->ctx, object, 0.75); brow_CenterObject( subgraphs->brow->ctx, object, 0.75);
if ( node_count) if ( node_count)
free( node_list); free( node_list);
...@@ -488,7 +488,7 @@ static int subgraphs_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -488,7 +488,7 @@ static int subgraphs_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( subgraphs->brow->ctx); brow_SelectClear( subgraphs->brow->ctx);
brow_SetInverse( node_list[0], 1); brow_SetInverse( node_list[0], 1);
brow_SelectInsert( subgraphs->brow->ctx, node_list[0]); brow_SelectInsert( subgraphs->brow->ctx, node_list[0]);
if ( !brow_IsVisible( subgraphs->brow->ctx, node_list[0])) if ( !brow_IsVisible( subgraphs->brow->ctx, node_list[0], flow_eVisible_Full))
brow_CenterObject( subgraphs->brow->ctx, node_list[0], 0.25); brow_CenterObject( subgraphs->brow->ctx, node_list[0], 0.25);
free( node_list); free( node_list);
break; break;
......
...@@ -375,7 +375,7 @@ static int subpalette_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -375,7 +375,7 @@ static int subpalette_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( subpalette->brow->ctx); brow_SelectClear( subpalette->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( subpalette->brow->ctx, object); brow_SelectInsert( subpalette->brow->ctx, object);
if ( !brow_IsVisible( subpalette->brow->ctx, object)) if ( !brow_IsVisible( subpalette->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( subpalette->brow->ctx, object, 0.25); brow_CenterObject( subpalette->brow->ctx, object, 0.25);
if ( node_count) if ( node_count)
free( node_list); free( node_list);
...@@ -411,7 +411,7 @@ static int subpalette_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -411,7 +411,7 @@ static int subpalette_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( subpalette->brow->ctx); brow_SelectClear( subpalette->brow->ctx);
brow_SetInverse( object, 1); brow_SetInverse( object, 1);
brow_SelectInsert( subpalette->brow->ctx, object); brow_SelectInsert( subpalette->brow->ctx, object);
if ( !brow_IsVisible( subpalette->brow->ctx, object)) if ( !brow_IsVisible( subpalette->brow->ctx, object, flow_eVisible_Full))
brow_CenterObject( subpalette->brow->ctx, object, 0.75); brow_CenterObject( subpalette->brow->ctx, object, 0.75);
if ( node_count) if ( node_count)
free( node_list); free( node_list);
...@@ -511,7 +511,7 @@ static int subpalette_brow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -511,7 +511,7 @@ static int subpalette_brow_cb( FlowCtx *ctx, flow_tEvent event)
brow_SelectClear( subpalette->brow->ctx); brow_SelectClear( subpalette->brow->ctx);
brow_SetInverse( node_list[0], 1); brow_SetInverse( node_list[0], 1);
brow_SelectInsert( subpalette->brow->ctx, node_list[0]); brow_SelectInsert( subpalette->brow->ctx, node_list[0]);
if ( !brow_IsVisible( subpalette->brow->ctx, node_list[0])) if ( !brow_IsVisible( subpalette->brow->ctx, node_list[0], flow_eVisible_Full))
brow_CenterObject( subpalette->brow->ctx, node_list[0], 0.25); brow_CenterObject( subpalette->brow->ctx, node_list[0], 0.25);
free( node_list); free( node_list);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment