HexEdit/AerialView.cpp
bool CAerialView::update_tip(int elt)
{
	tip_elt_ = elt;
	tip_.Clear();
	FILE_ADDRESS addr = FILE_ADDRESS(elt)*GetDocument()->GetBpe();

	ASSERT(phev_ != NULL);
	if (phev_->DecAddresses())
	{
		// Show dec then hex address in the tip
		dec_addr_tip(addr);
		hex_addr_tip(addr);
	}
	else
	{
		// Show hex then decimal address in the tip
		hex_addr_tip(addr);
		dec_addr_tip(addr);
	}

	tip_.SetAlpha(theApp.tip_transparency_);
	return true;
}
// Returns true if tip text was updated or false if there is nothing to show.
// The parameter (elt) if the elt about which we show information

Returns true if tip text was updated or false if there is nothing to show.
The parameter (elt) if the elt about which we show information
Returns true if tip text was updated or false if there is nothing to show . The parameter ( elt ) if the elt about which we show information
bool CAerialView::update_tip(int elt)
{
	tip_elt_ = elt;
	tip_.Clear();
	FILE_ADDRESS addr = FILE_ADDRESS(elt)*GetDocument()->GetBpe();
	ASSERT(phev_ != NULL);
	if (phev_->DecAddresses())
	{
		dec_addr_tip(addr);
		hex_addr_tip(addr);
	}
	else
	{
		hex_addr_tip(addr);
		dec_addr_tip(addr);
	}
	tip_.SetAlpha(theApp.tip_transparency_);
	return true;
}
bool CAerialView :: update_tip ( int elt ) { tip_elt_ = elt ; tip_ . Clear ( ) ; FILE_ADDRESS addr = FILE_ADDRESS ( elt ) * GetDocument ( ) -> GetBpe ( ) ; ASSERT ( phev_ != NULL ) ; if ( phev_ -> DecAddresses ( ) ) { dec_addr_tip ( addr ) ; hex_addr_tip ( addr ) ; } else { hex_addr_tip ( addr ) ; dec_addr_tip ( addr ) ; } tip_ . SetAlpha ( theApp . tip_transparency_ ) ; return true ; }
Returns true if tip text was updated or false if there is nothing to show.
Returns true if tip text was updated or false if there is nothing to show .
// Show dec then hex address in the tip
 // Show hex then decimal address in the tip
