2 * This file is part of ShapeFusion (Copyright 2000 Tito Dal Canton)
4 * ShapeFusion is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * ShapeFusion is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with ShapeFusion; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef SHAPEFUSIONMENUS_H
20 #define SHAPEFUSIONMENUS_H
22 #include "wx/wxprec.h"
28 // Application Menus (we just use wx Indexes here)
29 FILE_MENU_NEW = wxID_NEW,
30 FILE_MENU_OPEN = wxID_OPEN,
31 FILE_MENU_CLOSE = wxID_CLOSE,
32 FILE_MENU_QUIT = wxID_EXIT,
33 FILE_MENU_SAVE = wxID_SAVE,
34 FILE_MENU_SAVEAS = wxID_SAVEAS,
35 FILE_MENU_REVERT = wxID_REVERT,
36 FILE_MENU_PRINT = wxID_PRINT,
37 FILE_MENU_PRINT_SETUP = wxID_PRINT_SETUP,
38 FILE_MENU_PREVIEW = wxID_PREVIEW,
39 ABOUT_MENU = wxID_ABOUT,
40 HELP_MENU = wxID_HELP,
41 FILE_HISTORY_FILE1 = wxID_FILE1,
42 FILE_HISTORY_FILE9 = wxID_FILE9,
44 EDIT_MENU_UNDO = wxID_UNDO,
45 EDIT_MENU_REDO = wxID_REDO,
46 EDIT_MENU_CUT = wxID_CUT,
47 EDIT_MENU_COPY = wxID_COPY,
48 EDIT_MENU_PASTE = wxID_PASTE,
49 EDIT_MENU_DELETE = wxID_DELETE,
50 // We put our menus that don't come from wx here,
51 // so they'll have menu ID starting from 1
52 FILE_MENU_NEW_SHAPES = 1,
53 FILE_MENU_NEW_PHYSICS,
56 FILE_MENU_OPEN_SHAPES,
57 FILE_MENU_OPEN_PHYSICS,
59 FILE_MENU_OPEN_SOUNDS,
61 // Shapes editing menus
63 VIEW_MENU_TRANSPARENCY,
64 VIEW_MENU_CENTERORIGIN,
66 VIEW_MENU_THUMBNAIL_SIZE,
67 VIEW_MENU_TNSIZE_SMALL,
68 VIEW_MENU_TNSIZE_MEDIUM,
69 VIEW_MENU_TNSIZE_LARGE,
70 VIEW_MENU_TNSIZE_AUTO,
71 // Color Tables submenu
72 VIEW_MENU_COLOR_TABLE,
73 VIEW_MENU_COLORTABLE_0,
74 VIEW_MENU_COLORTABLE_7 = VIEW_MENU_COLORTABLE_0 + 7,
76 SHAPES_MENU_ADDCOLORTABLE,
77 SHAPES_MENU_SAVECOLORTABLE,
78 SHAPES_MENU_SAVECOLORTABLETOPS,
79 SHAPES_MENU_ADDBITMAP,
80 SHAPES_MENU_EXPORTBITMAP,
81 SHAPES_MENU_EXPORTMASK,
82 SHAPES_MENU_EXPORTBITMAPS,
83 SHAPES_MENU_EXPORTMASKS,
85 SHAPES_MENU_ADDSEQUENCE,
86 SHAPES_MENU_GENERATEPATCH,
87 SHAPES_MENU_IMPORTPATCH,
94 void CreateFileMenu(wxMenuBar *menu_bar);
95 void CreateEditMenu(wxMenuBar *menu_bar);
96 void CreateHelpMenu(wxMenuBar *menu_bar);
97 void CreateViewMenu(wxMenuBar *menu_bar);
98 void CreateShapesMenu(wxMenuBar *menu_bar);
99 void CreateSoundsMenu(wxMenuBar *menu_bar);