source: AE/Installer/trunk/source/app_resources.cpp@ 521

Last change on this file since 521 was 487, checked in by iritscen, 15 years ago

Adding update feature; moving/neatening some code; adding globals.h

  • Property svn:executable set to *
File size: 1.7 KB
RevLine 
[487]1/***************************************************************************\
2| Project: AE Installer |
3| By: Gumby & Iritscen |
4| File: App_Resources.cpp |
5| Function: Creates the menubar and loads image resources into memory. |
6| Created: 06/05/2009 08:47:16 |
7\***************************************************************************/
[324]8
9
10////@begin includes
11////@end includes
[487]12#include "globals.h"
[324]13#include "app_resources.h"
14
15////@begin XPM images
16////@end XPM images
17
18/*!
19 * Resource functions
20 */
21
22////@begin AppResources resource functions
23
24/*
25 * Menubar creation function for ID_MENUBAR
26 */
27
28wxMenuBar* AppResources::CreateMenuMenubar()
29{
30 wxMenuBar* menuBar = new wxMenuBar;
31 wxMenu* itemMenu2 = new wxMenu;
32 itemMenu2->Append(Open, _("Open"), wxEmptyString, wxITEM_NORMAL);
33 menuBar->Append(itemMenu2, _("File"));
34 wxMenu* itemMenu4 = new wxMenu;
35 menuBar->Append(itemMenu4, _("Menu"));
36 wxMenu* itemMenu5 = new wxMenu;
37 menuBar->Append(itemMenu5, _("Menu"));
38 wxMenu* itemMenu6 = new wxMenu;
39 menuBar->Append(itemMenu6, _("Menu"));
40 return menuBar;
41}
42
43////@end AppResources resource functions
44
45/*!
46 * Get bitmap resources
47 */
48
49wxBitmap AppResources::GetBitmapResource( const wxString& name )
50{
51 // Bitmap retrieval
52////@begin AppResources bitmap retrieval
53 wxUnusedVar(name);
54 return wxNullBitmap;
55////@end AppResources bitmap retrieval
56}
57
58/*!
59 * Get icon resources
60 */
61
62wxIcon AppResources::GetIconResource( const wxString& name )
63{
64 wxUnusedVar(name);
65 // Icon retrieval
66////@begin AppResources icon retrieval
67 wxUnusedVar(name);
68 return wxNullIcon;
69////@end AppResources icon retrieval
70}
Note: See TracBrowser for help on using the repository browser.