]>
git.saurik.com Git - wxWidgets.git/blob - utils/screenshotgen/src/screenshot_main.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: screenshot_main.h
3 // Purpose: Defines the Application Frame
4 // Author: Utensil Candel (UtensilCandel@@gmail.com)
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef WXSCREENSHOTMAIN_H
10 #define WXSCREENSHOTMAIN_H
14 // when defined to 1, wxAui for the main frame
15 #define SCREENSHOTGEN_USE_AUI 0
22 #if SCREENSHOTGEN_USE_AUI
29 ScreenshotFrame(wxFrame
*frame
);
32 protected: // event handlers
34 virtual void OnClose(wxCloseEvent
& event
);
35 virtual void OnQuit(wxCommandEvent
& event
);
36 virtual void OnAbout(wxCommandEvent
& event
);
37 virtual void OnSeeScreenshots( wxCommandEvent
& event
);
39 virtual void OnCaptureFullScreen( wxCommandEvent
& event
);
40 virtual void OnCaptureRect( wxCommandEvent
& event
);
41 virtual void OnEndCaptureRect( wxCommandEvent
& event
);
42 virtual void OnCaptureAllControls( wxCommandEvent
& event
);
44 #if SCREENSHOTGEN_USE_AUI
45 virtual void OnNotebookPageChanged( wxAuiNotebookEvent
& event
);
46 virtual void OnNotebookPageChanging( wxAuiNotebookEvent
& event
);
48 virtual void OnNotebookPageChanged( wxNotebookEvent
& event
);
49 virtual void OnNotebookPageChanging( wxNotebookEvent
& event
);
54 void InitFBControls();
58 CtrlMaskOut
* m_maskout
;
61 #endif // WXSCREENSHOTMAIN_H