Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

RoadFindFrame.cc File Reference

#include "RoadFindFrame.h"
#include "StatusBarHandler.h"
#include "ScrolledImageSourceWindow.h"
#include "ossimRoadFindController.h"

Go to the source code of this file.


Functions

  BEGIN_EVENT_TABLE (RoadFindFrame, wxFrame) EVT_MENU(wxID_OPEN, RoadFindFrame

Variables

const int  ROAD_FIND_RESET = wxNewId()
const int  ROAD_FIND_EDIT = wxNewId()

Function Documentation

BEGIN_EVENT_TABLE ( RoadFindFrame,
wxFrame )
 

Definition at line 9 of file RoadFindFrame.cc.

00018    : wxFrame( parent, id, title ),
00019      theScroller( NULL ),
00020      theStatusBarHandler( NULL ),
00021      theController( NULL )
00022 {
00023    wxStatusBar* statusBar = CreateStatusBar();
00024    wxMenuBar* menuBar = new wxMenuBar();
00025    wxMenu* fileMenu = new wxMenu();
00026    wxMenu* miscMenu = new wxMenu();   
00027    wxSizer* sizer = new wxBoxSizer( wxVERTICAL );
00028 
00029    SetMenuBar( menuBar );
00030 
00031    fileMenu->Append( wxID_OPEN, "Open", "Open an image file." );
00032    fileMenu->AppendSeparator();
00033    fileMenu->Append( wxID_EXIT, "Exit", "Exit the program" );
00034    menuBar->Append( fileMenu, "File" );
00035 
00036    miscMenu->Append( ROAD_FIND_RESET, "Reset", "Reset the state machine." );
00037    miscMenu->Append( ROAD_FIND_EDIT, "Edit", "Edit Diffgeom parameters." );
00038    menuBar->Append( miscMenu, "Misc" );
00039    
00040    theStatusBarHandler = new StatusBarHandler( statusBar );
00041    
00042    theScroller = new ScrolledImageSourceWindow( this, -1 );
00043    theScroller->PushEventHandler( theStatusBarHandler );
00044    sizer->Add( theScroller, 1, wxALL | wxEXPAND );
00045    
00046    SetSizer( sizer );
00047    SetAutoLayout( TRUE );
00048    sizer->Fit( this );   
00049 }

Variable Documentation

const int ROAD_FIND_EDIT = wxNewId()
 

Definition at line 7 of file RoadFindFrame.cc.

const int ROAD_FIND_RESET = wxNewId()
 

Definition at line 6 of file RoadFindFrame.cc.


Generated at Wed Mar 24 00:08:18 2004 for OSSIM - Open Source Image Map by doxygen1.2.6 written by , © 1997-2001