/* * Copyright 2004 by Krzysztof Foltman * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "resource.h" MAINMENU MENU DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "&New", ID_FILE_NEW MENUITEM "&Open", ID_FILE_OPEN MENUITEM "&Save", ID_FILE_SAVE MENUITEM SEPARATOR MENUITEM "&Exit", ID_FILE_EXIT END POPUP "&Edit" BEGIN MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL MENUITEM SEPARATOR MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY MENUITEM SEPARATOR MENUITEM "Read-&only", ID_EDIT_READONLY MENUITEM "&Modified", ID_EDIT_MODIFIED MENUITEM SEPARATOR POPUP "&Extras" BEGIN MENUITEM "Selection &info", ID_EDIT_SELECTIONINFO MENUITEM "Character &format", ID_EDIT_CHARFORMAT MENUITEM "&Def. char format", ID_EDIT_DEFCHARFORMAT MENUITEM "Paragrap&h format", ID_EDIT_PARAFORMAT MENUITEM "&Get text", ID_EDIT_GETTEXT END END POPUP "F&ormat" BEGIN POPUP "&Background" BEGIN MENUITEM "&System\tCtrl+1", ID_BACK_1 MENUITEM "&PostThat yellowish\tCtrl+2", ID_BACK_2 END POPUP "&Alignment" BEGIN MENUITEM "&Left\tCtrl+L", ID_ALIGN_LEFT MENUITEM "&Center\tCtrl+E", ID_ALIGN_CENTER MENUITEM "&Right\tCtrl+R", ID_ALIGN_RIGHT END END END