OSDN Git Service

Implement framework for GUI sash window layout controller.
[mingw/mingw-get.git] / src / guidata.rc
1 /*
2  * guimain.rc
3  *
4  * $Id$
5  *
6  * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
7  * Copyright (C) 2012, MinGW Project
8  *
9  *
10  * Resource definitions for the mingw-get GUI implementation.
11  *
12  *
13  * This is free software.  Permission is granted to copy, modify and
14  * redistribute this software, under the provisions of the GNU General
15  * Public License, Version 3, (or, at your option, any later version),
16  * as published by the Free Software Foundation; see the file COPYING
17  * for licensing details.
18  *
19  * Note, in particular, that this software is provided "as is", in the
20  * hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not
21  * even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY
22  * PARTICULAR PURPOSE.  Under no circumstances will the author, or the
23  * MinGW Project, accept liability for any damages, however caused,
24  * arising from the use of this software.
25  *
26  */
27 #include "guimain.h"
28 #include <windows.h>
29
30 /* The icon representing the mingw-get application; it is a clone
31  * of the icon representing the synaptic package for Debian APT.
32  */
33 ID_MAIN_WINDOW  ICON    DISCARDABLE     "pkgicon.ico"
34
35 /* Specification for the layout and content of the dialogue panel
36  * which is called out by the "Help --> About mingw-get" menu pick.
37  */
38 IDD_HELP_ABOUT  DIALOG  DISCARDABLE     80, 50, 250, 185
39 CAPTION                                 "about mingw-get"
40 STYLE                                   DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_DLGFRAME
41 FONT                                    9, "Verdana"
42 BEGIN
43   DEFPUSHBUTTON                         "OK", IDOK, 100, 155, 50, 14, WS_GROUP
44   ICON                                  ID_MAIN_WINDOW, ID_MAIN_WINDOW, 115, 30, 0, 0
45   CTEXT                                 "%PACKAGE_NAME% version %PACKAGE_VERSION%", -1, 0, 10, 250, 20
46   CTEXT                                 "Written by Keith Marshall", -1, 0, 60, 250, 12
47   CTEXT                                 "Copyright \xa9 %YEARS_OF_ISSUE%, %COPYRIGHT_HOLDER%", \
48                                         -1, 0, 72, 250, 12
49   CTEXT                                 "http://mingw.org", -1, 0, 84, 250, 12
50   CTEXT                                 "\
51 This is free software; see the product documentation or source code, for copying and redistribution \
52 conditions.  There is NO WARRANTY; not even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR \
53 ANY PARTICULAR PURPOSE.", -1, 10, 108, 230, 40
54 END
55
56 /* Miscellaneous string constants.
57  */
58 STRINGTABLE             DISCARDABLE
59 BEGIN
60   ID_MAIN_WINDOW_CLASS                  "mingw-get-gui"
61   ID_MAIN_WINDOW_CAPTION                "MinGW Installation Manager"
62   ID_FONT_PREF                          "Verdana"
63 END
64
65 /* Top menu bar...
66  */
67 ID_MAIN_WINDOW  MENU    DISCARDABLE
68 BEGIN
69   /* The "Repository" drop-down menu; this also includes options
70    * which are commonly found on the "File" menu of applications
71    * with conventional menu bar content.
72    */
73   POPUP         "&Repository"
74   BEGIN
75     MENUITEM      "&Update Catalogue",                  IDM_REPO_UPDATE, GRAYED
76     MENUITEM      SEPARATOR
77     MENUITEM      "&Quit\tAlt+F4",                      IDM_REPO_QUIT
78   END
79
80   /* The "Package" drop-down menu; this provides for selection of
81    * the actions to be performed on a collection of packages.
82    */
83   POPUP         "&Package"
84   BEGIN
85     MENUITEM      "U&nmark",                            IDM_PACKAGE_UNMARK, GRAYED
86     MENUITEM      "Mark for &Installation",             IDM_PACKAGE_INSTALL, GRAYED
87     MENUITEM      "Mark for R&einstallation",           IDM_PACKAGE_REINSTALL, GRAYED
88     MENUITEM      "Mark for &Upgrade",                  IDM_PACKAGE_UPGRADE, GRAYED
89     MENUITEM      "Mark for &Removal",                  IDM_PACKAGE_REMOVE, GRAYED
90   END
91
92   /* The "Settings" drop-down menu is currently unimplemented.
93    */
94   POPUP         "&Settings"
95   BEGIN
96   END
97
98   /* The "Help" drop-down menu.
99    */
100   POPUP         "&Help",                                HELP
101   BEGIN
102     MENUITEM    "&Contents",                            IDM_HELP_CONTENTS, GRAYED
103     MENUITEM    "Quick &Introduction",                  IDM_HELP_INTRO, GRAYED
104     MENUITEM    "Icon &Legend",                         IDM_HELP_LEGEND, GRAYED
105     MENUITEM    "&About mingw-get",                     IDM_HELP_ABOUT
106   END
107 END
108
109 /* $RCSfile$: end of file */