myApp Class Reference

List of all members.

Public Member Functions

bool OnInit ()
int OnExit ()
bool OnInit ()
int OnExit ()


Detailed Description

Definition at line 4 of file main.cxx.


Member Function Documentation

CREA_WXMAIN_WITH_CONSOLE bool myApp::OnInit (  ) 

Definition at line 15 of file main.cxx.

References creaImageIO::SetGimmickDebugMessageLevel(), and creaImageIO::SetGimmickMessageLevel().

00016 {        
00017   wxApp::OnInit();
00018 #ifdef __WXGTK__
00019   //See http://www.wxwindows.org/faqgtk.htm#locale
00020   setlocale(LC_NUMERIC, "C");
00021 #endif
00022    wxInitAllImageHandlers();
00023 
00024    
00025    creaImageIO::SetGimmickMessageLevel(5);
00026    creaImageIO::SetGimmickDebugMessageLevel(5);
00027    
00028 
00029    int threads = 1;
00030 
00031    creaImageIO::WxGimmickFrame* f = new
00032      creaImageIO::WxGimmickFrame(0,
00033                                  -1,
00034                                  _T("wxGimmick! (c) CREATIS-LRMN 2008"),
00035                                  wxDefaultPosition,
00036                                  wxSize(1200,800),
00037                                  threads);
00038    f->Show();
00039    
00040    return true;
00041 }

Here is the call graph for this function:

int myApp::OnExit (  )  [inline]

Definition at line 8 of file main.cxx.

00008 { return true; }

bool myApp::OnInit (  ) 

int myApp::OnExit (  )  [inline]

Definition at line 11 of file main.cxx.

00011 { return true; }


The documentation for this class was generated from the following files:
Generated on Mon Jun 22 10:49:51 2009 for CreaImageIO by  doxygen 1.5.3