xxx::Leave

 

Tool_Brush::Leave

Tool_Tag::Leave

Tool_Histo::Leave

Tool_Propagate::Leave

Tool_DB_Class::Leave

Tool_DB_File::Leave

 

This method is used to update the tool when the mouse cursor leave the tool.

 

 

Syntax

 

void  Leave(

          void

) ;

 

 

Parameters

 

This method does not have a parameter.

 

 

Return value

 

This method does not return a value.

 

 

Remarks

 

The method is usually called from within your Ctrl_Leave() function.

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

          Tool_work.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

          SliceO_Tools.lib

 

 

Example

 

// --- Interface tools ---

static          Boxs          box_box ;

 

// --- for Brush Selection Tool ---

static          Boxs          box_brush ;

static          Tool_Brush          tool_brush ;

 

...

 

extern "C" __declspec(dllexport) int          Ctrl_Leave( void )

{

          // --- if the window if off or invible, we can get out ---

          if ( ! Flag_Ctrl_Wnd_On )

              return( 1 ) ;

          if ( ! Flag_Ctrl_Visible )

              return( 1 ) ;

 

          tool_brush.Leave() ;

 

          return( 1 ) ;

}

 

 

See also