Translated using Weblate (Chinese (Simplified))
[cygwin-setup.git] / res.rc
blobc2aef0257b65530d95d67c6f6a2329a871120853
1 #include "resource.h"
2 #include "windows.h"
3 #include "commctrl.h"
5 #define SETUP_STANDARD_DIALOG_W 339
6 #define SETUP_STANDARD_DIALOG_H 179
7 #define SETUP_MEDIUM_DIALOG_W           277
8 #define SETUP_MEDIUM_DIALOG_H           137
9 #define SETUP_SMALL_DIALOG_W            215
10 #define SETUP_SMALL_DIALOG_H            95
12 #define SETUP_STANDARD_DIALOG_DIMS      SETUP_STANDARD_DIALOG_W, SETUP_STANDARD_DIALOG_H
13 #define SETUP_MEDIUM_DIALOG_DIMS        SETUP_MEDIUM_DIALOG_W, SETUP_MEDIUM_DIALOG_H
14 #define SETUP_SMALL_DIALOG_DIMS SETUP_SMALL_DIALOG_W, SETUP_SMALL_DIALOG_H
16 #define SETUP_HEADICON_X                (SETUP_STANDARD_DIALOG_W - 27)
18 // Width for Keep/Prev/Curr/Exp buttons.
19 #define SETUP_KPCE_W            (52)
21 // Right-aligned controls.
22 #define SETUP_EXP_X             (SETUP_STANDARD_DIALOG_W - SETUP_KPCE_W/2 - 7)
23 #define SETUP_SYNC_X            (SETUP_EXP_X - SETUP_KPCE_W - 5)
24 #define SETUP_BEST_X            (SETUP_SYNC_X - SETUP_KPCE_W - 5)
25 #define SETUP_KEEP_X            (SETUP_BEST_X - SETUP_KPCE_W - 5)
27 // Left-aligned controls.
28 #define SETUP_VIEW_X            (7)
29 #define SETUP_VIEW_W            (30)
30 #define SETUP_VIEWLIST_X                (SETUP_VIEW_X + SETUP_VIEW_W + 2)
31 #define SETUP_VIEWLIST_W                (68)
32 #define SETUP_SEARCH_X          (SETUP_VIEWLIST_X + SETUP_VIEWLIST_W)
33 #define SETUP_SEARCH_W          (32)
34 #define SETUP_SEARCHTEXT_X      (SETUP_SEARCH_X + SETUP_SEARCH_W + 2)
35 #define SETUP_SEARCHTEXT_W      (60)
36 #define SETUP_CLEAR_X           (SETUP_SEARCHTEXT_X + SETUP_SEARCHTEXT_W + 2)
37 #define SETUP_CLEAR_W           (38)
38 #define SETUP_CHOOSE_X          (7)
39 #define SETUP_CHOOSE_W          (SETUP_STANDARD_DIALOG_W - 2*SETUP_CHOOSE_X)
41 /////////////////////////////////////////////////////////////////////////////
43 // Manifest
46 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup.exe.manifest"
48 /////////////////////////////////////////////////////////////////////////////
50 // Icon
53 // Icon with lowest ID value placed first to ensure application icon
54 // remains consistent on all systems.
55 IDI_CYGWIN_SETUP        ICON    "cygwin-setup.ico"
56 IDI_CYGWIN              ICON    "cygwin.ico"
57 IDI_CYGWIN_TERMINAL     ICON    "cygwin-terminal.ico"
58 IDI_TREE_PLUS           ICON    "tree-plus.ico"
59 IDI_TREE_MINUS          ICON    "tree-minus.ico"
61 /////////////////////////////////////////////////////////////////////////////
63 // FILE
66 CYGWIN-SETUP.ICON       FILE    "cygwin-setup.ico"
67 CYGWIN.ICON             FILE    "cygwin.ico"
68 CYGWIN-TERMINAL.ICON    FILE    "cygwin-terminal.ico"
70 /////////////////////////////////////////////////////////////////////////////
72 // English (en_US) resources
75 // Throughout, we use the font "MS Shell Dlg". This seems to be necessary to
76 // work around some not-fully-understood issues with PropertySheets. Hopefully,
77 // using this font will cause things to 'just work'. Further information on
78 // this topic is at:
79 //   http://sources.redhat.com/ml/cygwin-apps/2003-05/msg00177.html
81 #include "res/en/res.rc"
83 /////////////////////////////////////////////////////////////////////////////
85 // Translations
87 #include "res/de/res.rc"
88 #include "res/fr/res.rc"
89 #include "res/pl/res.rc"
90 #include "res/tr/res.rc"
91 #include "res/zh_Hans/res.rc"