gseg_frame_menu.cpp
/************************************************************************
* Switch on/off coordinate display on top of the image 
* By default, display the X/Y coordinates at the bottom of the graphic panel
************************************************************************/
Switch on/off coordinate display on top of the image
By default, display the X/Y coordinates at the bottom of the graphic panel
Switch on / off coordinate display on top of the image By default display the X / Y coordinates at the bottom of the graphic panel
void GsegFrame::OnViewDisplayCoordinates(wxCommandEvent& WXUNUSED(event))
{
int status = -1;
 if(m_gpanel != NULL) {
   status = m_gpanel->wxGP_Set_ViewDisplayCoordinates();
   if(status == -5) {
    wxMessageBox(wxT("ViewDisplayCoordinates not available in this mode"),
                 wxT("GsegFrame::OnViewDisplayCoordinates"), wxICON_ERROR);
   }
 }
}
void GsegFrame :: OnViewDisplayCoordinates ( wxCommandEvent & WXUNUSED ( event ) ) { int status = -1 ; if ( m_gpanel != NULL ) { status = m_gpanel -> wxGP_Set_ViewDisplayCoordinates ( ) ; if ( status == -5 ) { wxMessageBox ( wxT ( " " ) , wxT ( " " ) , wxICON_ERROR ) ; } } }
Switch on/off coordinate display on top of the image
By default, display the X/Y coordinates at the bottom of the graphic panel
Switch on / off coordinate display on top of the image By default display the X / Y coordinates at the bottom of the graphic panel