| 
            Last change
 on this file was             487, checked in by iritscen, 16 years ago           | 
        
        
          | 
             
Adding update feature; moving/neatening some code; adding globals.h 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            1.1 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | /***************************************************************************\
 | 
|---|
| 2 | | Project: AE Installer                                                                                                         |
 | 
|---|
| 3 | | By: Gumby & Iritscen                                                                                                          |
 | 
|---|
| 4 | | File: App_Resources.h                                                                                                         |
 | 
|---|
| 5 | | Function: Creates menubar and loads image resources into memory.                      |
 | 
|---|
| 6 | | Created: 06/05/2009 08:47:17                                                                                          |
 | 
|---|
| 7 | \***************************************************************************/
 | 
|---|
| 8 | 
 | 
|---|
| 9 | 
 | 
|---|
| 10 | #ifndef _APP_RESOURCES_H_
 | 
|---|
| 11 | #define _APP_RESOURCES_H_
 | 
|---|
| 12 | 
 | 
|---|
| 13 | /*!
 | 
|---|
| 14 |  * Control identifiers
 | 
|---|
| 15 |  */
 | 
|---|
| 16 | 
 | 
|---|
| 17 | ////@begin control identifiers
 | 
|---|
| 18 | #define Open 10002
 | 
|---|
| 19 | #define ID_MENU 10003
 | 
|---|
| 20 | #define ID_MENU1 10004
 | 
|---|
| 21 | ////@end control identifiers
 | 
|---|
| 22 | 
 | 
|---|
| 23 | class AppResources
 | 
|---|
| 24 | {
 | 
|---|
| 25 | public:
 | 
|---|
| 26 |     AppResources() {}
 | 
|---|
| 27 | 
 | 
|---|
| 28 | /*!
 | 
|---|
| 29 |  * Resource functions
 | 
|---|
| 30 |  */
 | 
|---|
| 31 | 
 | 
|---|
| 32 | ////@begin AppResources resource functions
 | 
|---|
| 33 |     /// Menubar creation function for ID_MENUBAR
 | 
|---|
| 34 |     static wxMenuBar* CreateMenuMenubar();
 | 
|---|
| 35 | 
 | 
|---|
| 36 |     /// Retrieves bitmap resources
 | 
|---|
| 37 |     static wxBitmap GetBitmapResource( const wxString& name );
 | 
|---|
| 38 | 
 | 
|---|
| 39 |     /// Retrieves icon resources
 | 
|---|
| 40 |     static wxIcon GetIconResource( const wxString& name );
 | 
|---|
| 41 | ////@end AppResources resource functions
 | 
|---|
| 42 | 
 | 
|---|
| 43 | };
 | 
|---|
| 44 | 
 | 
|---|
| 45 | #endif
 | 
|---|
| 46 |     // _APP_RESOURCES_H_
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.