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 /////////////////////////////////////////////////////////////////////////////
46 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup.exe.manifest"
48 /////////////////////////////////////////////////////////////////////////////
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 /////////////////////////////////////////////////////////////////////////////
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
79 // https://sourceware.org/legacy-ml/cygwin-apps/2003-05/msg00177.html
81 // The issue alluded to here seems to be a bug in propsheet, in that the DLU for
82 // each page is determined using the font of the property sheet frame, not that
83 // specified in the propsheet dialog. Allegedly, the DS_SHELLFONT style
84 // indicates that you don't want compatibility with that buggy behaviour, but
85 // that the DLU should be correctly computed based on the propsheet font
88 #include "res/en/res.rc"
90 /////////////////////////////////////////////////////////////////////////////
94 #include "res/de/res.rc"
95 #include "res/fr/res.rc"
96 #include "res/ja/res.rc"
97 #include "res/pl/res.rc"
98 #include "res/tr/res.rc"
99 #include "res/zh_Hans/res.rc"