mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
6f1a7da4b4
Bug fixes: handle WM_MEASUREITEM message; handle the WM_PAINT message in the 16bit font dialog, so it displays the sample string too.
219 lines
12 KiB
Plaintext
219 lines
12 KiB
Plaintext
/*
|
|
* Copyright 1998 Marc Huguet Puig
|
|
*
|
|
* 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
|
|
*/
|
|
|
|
/*
|
|
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
|
|
*/
|
|
|
|
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
|
|
|
|
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Obrir"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Nom:", 1090, 6, 6, 76, 9
|
|
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
|
|
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "&Directoris:", -1, 110, 6, 92, 9
|
|
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
|
|
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "&Tipus de fitxers:", 1089, 6, 104, 90, 9
|
|
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "&Unitats:", 1091, 110, 104, 92, 9
|
|
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "D'acord", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Anul·lació", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "A&juda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Només &lectura", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Anomenar i desar..."
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Nom:", 1090, 6, 6, 76, 9
|
|
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
|
|
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "&Directoris:", -1, 110, 6, 92, 9
|
|
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
|
|
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "Desar fitxer en f&ormat:", 1089, 6, 104, 90, 9
|
|
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "&Unitats:", 1091, 110, 104, 92, 9
|
|
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "D'acord", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Anul·lació", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "A&juda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "&Fer-ne còpia", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Impressió"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "Impressora:", 1088, 6, 6, 40, 9
|
|
LTEXT "Impressió del document", 1089, 60, 6, 150, 9
|
|
GROUPBOX "", 1072, 6, 30, 160, 65, BS_GROUPBOX
|
|
RADIOBUTTON "&Sencer", 1056, 16, 45, 60, 12
|
|
RADIOBUTTON "&Part seleccionada", 1057, 16, 60, 60, 12
|
|
RADIOBUTTON "Pà&gines", 1058, 16, 75, 60, 12
|
|
DEFPUSHBUTTON "D'acord", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Anul·lació", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Configuració", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
LTEXT "P&rimera:", 1090, 60, 80, 30, 9
|
|
LTEXT "Ú<ima:", 1091, 120, 80, 30, 9
|
|
LTEXT "&Qualitat:", 1092, 6, 100, 76, 9
|
|
COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
CHECKBOX "Imprimir en un &fitxer", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "S&eparar les còpies", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Configuració de la impressió"
|
|
FONT 8, "Helv"
|
|
{
|
|
GROUPBOX "Impressora:", 1072, 6, 10, 180, 65, BS_GROUPBOX
|
|
RADIOBUTTON "Impressora per &defecte", 1056, 16, 20, 80, 12
|
|
LTEXT "[none]", 1088, 35, 35, 120, 9
|
|
RADIOBUTTON "Impressora &especificada:", 1057, 16, 50, 80, 12
|
|
COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "D'acord", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Anul·lació", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Opcions", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
GROUPBOX "Orientació", 1073, 6, 85, 100, 50, BS_GROUPBOX
|
|
RADIOBUTTON "&Vertical", 1058, 50, 100, 40, 12
|
|
RADIOBUTTON "&Horitzontal", 1059, 50, 115, 40, 12
|
|
ICON "LANDSCAP", 1097, 10, 95, 32, 32
|
|
ICON "PORTRAIT", 1098, 10, 95, 32, 32
|
|
GROUPBOX "Paper", 1074, 120, 85, 180, 50, BS_GROUPBOX
|
|
LTEXT "&Mida", 1089, 130, 95, 30, 9
|
|
LTEXT "A&limentació:", 1090, 130, 110, 30, 9
|
|
COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
}
|
|
|
|
|
|
CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Tipus de lletra"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Tipus de lletra:",1088 ,6,3,40,9
|
|
COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
|
|
LTEXT "&Estil del tipus de lletra:",1089 ,108,3,44,9
|
|
COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
|
|
LTEXT "&Grandària:",1090,179,3,30,9
|
|
COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
|
|
DEFPUSHBUTTON "D'acord",IDOK,218,6,40,14,WS_GROUP
|
|
PUSHBUTTON "Anul·lació",IDCANCEL,218,23,40,14,WS_GROUP
|
|
PUSHBUTTON "A&plicar", 1026,218,40,40,14,WS_GROUP
|
|
PUSHBUTTON "A&juda" , 1038,218,57,40,14,WS_GROUP
|
|
GROUPBOX "Efectes",1072,6,72,84,34,WS_GROUP
|
|
CHECKBOX "&Barrar-lo", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
CHECKBOX "&Subratllar-lo", 1041, 10,94,50,10, BS_AUTOCHECKBOX
|
|
LTEXT "&Color:", 1091 ,6,110,30,9
|
|
COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
|
|
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Exemple",grp2,98,72,120,36,WS_GROUP
|
|
CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
|
|
LTEXT "Scr&ipt (translate):",stc7 ,98,114,80,9
|
|
COMBOBOX cmb5,98,124,120,10,CBS_DROPDOWNLIST |CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
|
|
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
|
|
}
|
|
|
|
|
|
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Color"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "Colors &básics:", 1088, 4, 4, 140, 10
|
|
LTEXT "Colors person&alitzats:", 1089, 4, 106, 140, 10
|
|
LTEXT "Color Sòl&id", 1090, 150, 151, 48, 10
|
|
LTEXT "&Roig:", 726 /*1094*/,249,126,24,10
|
|
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Verd:",727/*1095*/,249,140,24,10
|
|
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "Bla&u:",728 /*1096*/,249,154,24,10
|
|
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Tint:" ,723 /*1091*/,202,126,22,10
|
|
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Sat.:" ,724 /*1092*/,202,140,22,10
|
|
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Llum.:" ,725 /*1093*/,202,154,22,10
|
|
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
|
|
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
|
|
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
|
|
CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
|
|
CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
|
|
DEFPUSHBUTTON "D'acord", IDOK, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Anul·lació", IDCANCEL, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "A&juda", 1038,100,166, 44, 14
|
|
PUSHBUTTON "Afegir als &colors personalitzats", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Definir colors personalitzats >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
|
|
}
|
|
|
|
|
|
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Cerca"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Cercar:", -1, 4, 8, 42, 8
|
|
EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "C&ercar mots sencers", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "&Distingir majúscules de minúscules", 1041, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
GROUPBOX "Direcció", 1072, 107, 26, 68, 28
|
|
CONTROL "&Amunt", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
|
|
CONTROL "A&vall", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
|
|
DEFPUSHBUTTON "&Continuació", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Anul·lació", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "A&juda", 1038, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Substitució"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Cercar:", -1, 4, 9, 48, 8
|
|
EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Substituir per:", 1090, -1, 4, 26, 48, 8
|
|
EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Cercar &mots sencers", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "&Distingir majúscules de minúscules", 1041, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
DEFPUSHBUTTON "C&ontinucació", IDOK, 174, 4, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "S&ubstitució", 1024, 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Substitució &automàtica", 1025, 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Tancar", IDCANCEL, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "A&juda", 1038, 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
|
|
}
|