winemine: Use a standard About box with the larger icon.
authorAlexandre Julliard <julliard@winehq.org>
Tue, 1 Apr 2008 11:19:06 +0000 (13:19 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 1 Apr 2008 11:19:06 +0000 (13:19 +0200)
19 files changed:
programs/winemine/Cs.rc
programs/winemine/De.rc
programs/winemine/En.rc
programs/winemine/Es.rc
programs/winemine/Fi.rc
programs/winemine/Fr.rc
programs/winemine/It.rc
programs/winemine/Ko.rc
programs/winemine/Makefile.in
programs/winemine/Nl.rc
programs/winemine/No.rc
programs/winemine/Pl.rc
programs/winemine/Pt.rc
programs/winemine/Ro.rc
programs/winemine/Ru.rc
programs/winemine/Si.rc
programs/winemine/Tr.rc
programs/winemine/main.c
programs/winemine/resource.h

index 5d6b96346f4d6fcdd024729b32b2083005784a07..be3db64e133c8355afc8bcc733bd0a50938d93d3 100644 (file)
@@ -29,6 +29,7 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nikdo"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -93,15 +94,3 @@ CAPTION "Vlastn
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Storno", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "O aplikaci"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "Licenov�n pod LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 5e01277e3c8438ccdbc01e8f89dc7e92e745cd95..83712d4078495fbb0a52ea5f73d6494bf2b92dce 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Niemand"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,15 +89,3 @@ CAPTION "Benutzerdefiniertes Spiel"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Abbrechen", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 180, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "�ber"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT         "Lizensiert unter der LGPL", IDIGNORE,  35,  35, 135,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 81ed5515b9aafa438e20d34a974b353faeaddf72..86aaa9cd19544f276cdb19f1e82530fe54d7851e 100644 (file)
@@ -25,6 +25,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nobody"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -89,15 +90,3 @@ CAPTION "Custom Game"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Cancel", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "About"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "Licensed under the LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index d70dfb6f509e4ea96e5ac823d97e158c2ff8f152..fc787e37a6cdbd85b2b232116433a41b554247d6 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nadie"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,15 +89,3 @@ CAPTION "Juego personalizado"
     DEFPUSHBUTTON   "Aceptar",    IDOK,  40,  30,  50,  15
     PUSHBUTTON      "Cancelar", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Acerca de"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT               "bajo la licencia LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                        "Aceptar", IDOK,      50,  60,  60,  15
-}
index c1656d3f44cac3688c1ef94504193869a0c2f9a4..ee4cbc92330c1383ad19781a96e2f1f2cd35e185 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Ei kukaan"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,15 +89,3 @@ CAPTION "Mukautettu Peli"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Peruuta", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Tietoja"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "Licensed under the LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 4e6a562336dcde2739fa6999b44656368f1a5845..03252bec26440de19dfc48c6dce2e4bdd8ef0863 100644 (file)
@@ -27,6 +27,7 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "D�mineur Wine"
      IDS_NOBODY,  "Anonyme"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -91,15 +92,3 @@ CAPTION "Grille personnalis
     DEFPUSHBUTTON   "OK",          IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Annuler", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "� propos"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                "sous la licence LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 07f1bdb3f1897e57b1a44530a12ba4d72bf3bd88..214729f363b166a06933d8d27f42790029f743ab 100644 (file)
@@ -26,6 +26,7 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nobody"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -90,15 +91,3 @@ CAPTION "Custom Game"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Annulla", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Informazioni su WineMine"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "Concesso in licenza LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 09d51645e47d486a1ef3073245f53f36752643a9..6f3faf4b902e2b28c1d7e122854758aac4a555fa 100644 (file)
@@ -26,6 +26,7 @@ LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "�ƹ���"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -93,16 +94,3 @@ FONT 8, "MS Shell Dlg"
     DEFPUSHBUTTON   "Ȯ��",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "���", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "���"
-FONT 8, "MS Shell Dlg"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "LGPL ���̼����� ��ϴ�", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "Ȯ��", IDOK,      50,  60,  60,  15
-}
index c9f11fcff288c12e546ebca5648d390be41be689..64f8599c5681f41156e5e2dbd14d510a3261c946 100644 (file)
@@ -5,6 +5,7 @@ VPATH     = @srcdir@
 MODULE    = winemine.exe
 APPMODE   = -mwindows
 IMPORTS   = user32 gdi32 advapi32 kernel32
+DELAYIMPORTS = shell32
 
 C_SRCS = \
         dialog.c \
index 50c2db9d75720731a1dba98281d819bba3587301..5a97b384c401e765c93c858cad54713ca7d56003 100644 (file)
@@ -23,6 +23,7 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nobody"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -87,15 +88,3 @@ CAPTION "Aangepast spel"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Annuleren", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "About"
-{
-    LTEXT                               "Winemine",      IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen",      IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "dit programma valt onder de LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE",      IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK",      IDOK,      50,  60,  60,  15
-}
index a6173a29253f04d292d28f1e72d9783208394c5f..cdf03fb5afc62d071445efa177bf19829d496081 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
 STRINGTABLE {
      IDS_APPNAME, "Minesveiper"
      IDS_NOBODY,  "Ingen"
+     IDS_ABOUT,   "Kopirett 2000 tilh�rer Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,16 +89,3 @@ CAPTION "Egendefinert spill"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Avbryt", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 170, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Om"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Kopirett 2000 tilh�rer Joshua Thielen", IDIGNORE,  35,  25, 140,  10
-    LTEXT         "Oversatt av Alexander N. S�rnes i 2005", IDIGNORE,  35,  35, 140,  10
-    LTEXT                 "Lisensiert under LGPL", IDIGNORE,  35,  45, 115,  10
-    ICON                                "MINESVEIPER", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index fa8560535c690f624f67e375c7bc2075264bec26..47a277da8117298c4a7e64fc3ce2d5e0f8c85069 100644 (file)
@@ -26,6 +26,7 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Anonim"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -90,15 +91,3 @@ CAPTION "Ustawienia U
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Anuluj", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "O Programie"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "Na licencji LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index cc73e8e552280f69550a85db7326aa068a0e63d0..52f7aeca186408163e2cae9a821cf9a0b0b8faff 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
+LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
 
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Ningu�m"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
-
-LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
-
 MENU_WINEMINE MENU DISCARDABLE
 {
     POPUP "&Op��es" {
@@ -52,6 +50,12 @@ MENU_WINEMINE MENU DISCARDABLE
 
 LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
 
+STRINGTABLE {
+     IDS_APPNAME, "WineMine"
+     IDS_NOBODY,  "Ningu�m"
+     IDS_ABOUT,   "Direitos de autor 2000, Joshua Thielen"
+}
+
 MENU_WINEMINE MENU DISCARDABLE
 {
     POPUP "&Op��es" {
@@ -135,32 +139,3 @@ CAPTION "Jogo personalizado"
     DEFPUSHBUTTON   "OK",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Cancelar", IDCANCEL,  40,  50,  50,  15
 }
-
-
-LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Sobre"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT             "conforme a licen�a LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
-
-LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Sobre"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Direitos de autor 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT             "conforme a licen�a LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index c949f6f91ea55184986bcd3556998eee17d1d934..e54e681de41bb4ccde940e0095db7c27a3769914 100644 (file)
@@ -26,6 +26,7 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nimeni"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -91,16 +92,4 @@ CAPTION "Joc personalizat"
     PUSHBUTTON      "Renunţă", IDCANCEL,  40,  50,  50,  15
 }
 
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Despre"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT   "Licenţiat sub termenii Licenţei LGPL", IDIGNORE,  35,  35, 115,  20
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
-
 #pragma code_page(default)
index ce78bb5eeeeab4c8ab3ba3a3406b47c05e734243..c69e04ab9fa61879dc2b4d885bfd5630a3bc417d 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nobody"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,15 +89,3 @@ CAPTION "
     DEFPUSHBUTTON   "OK",     IDOK,      80,  30,  50,  15
     PUSHBUTTON      "������", IDCANCEL,  80,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "About"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                     "��� ��������� LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 3df27f5f3752e3e24d38e8104650086e9b6514db..d614835bd1c511aebbad68b138db0871aefc32e9 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
 STRINGTABLE {
      IDS_APPNAME, "WineMine"
      IDS_NOBODY,  "Nobody"
+     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,15 +89,3 @@ CAPTION "Poljubna igra"
     DEFPUSHBUTTON   "V redu",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "Prekli�i", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "O programu"
-{
-    LTEXT                               "Winemine", IDIGNORE,  10,  10,  50,  10
-    LTEXT         "Copyright 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT                 "under the LGPL", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                             "OK", IDOK,      50,  60,  60,  15
-}
index 05f23238ddcd568d3447f35edfd6efea9300cde2..f2a12a03e6146911a2bd5d354bdab4cf3b47f663 100644 (file)
@@ -24,6 +24,7 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
 STRINGTABLE {
      IDS_APPNAME, "Wine May�n Tarlas�"
      IDS_NOBODY,  "Hi� kimse"
+     IDS_ABOUT,   "Telif hakk� 2000, Joshua Thielen"
 }
 
 MENU_WINEMINE MENU DISCARDABLE
@@ -88,15 +89,3 @@ CAPTION "
     DEFPUSHBUTTON   "Tamam",     IDOK,      40,  30,  50,  15
     PUSHBUTTON      "�ptal", IDCANCEL,  40,  50,  50,  15
 }
-
-DLG_ABOUT DIALOG DISCARDABLE  0, 0, 160, 80
-STYLE  DS_MODALFRAME | DS_3DLOOK |
-    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
-CAPTION "Hakk�nda"
-{
-    LTEXT                     "Wine May�n Tarlas�", IDIGNORE,  10,  10,  80,  10
-    LTEXT       "Telif hakk� 2000, Joshua Thielen", IDIGNORE,  35,  25, 115,  10
-    LTEXT           "LGPL akt�nda lisanslanm��t�r", IDIGNORE,  35,  35, 115,  10
-    ICON                                "WINEMINE", IDIGNORE,  10,  25,  20,  20
-    DEFPUSHBUTTON                          "Tamam", IDOK,      50,  60,  60,  15
-}
index b017b4443f6957f748068be7dbafa8593489b423..5e3ab4a923bbad422dac08c703379ce94ad722da 100644 (file)
@@ -24,6 +24,7 @@
 #include <time.h>
 #include <windows.h>
 #include <stdlib.h>
+#include <shellapi.h>
 #include "main.h"
 #include "resource.h"
 
@@ -235,8 +236,14 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
             return 0;
 
         case IDM_ABOUT:
-            DialogBox( board.hInst, "DLG_ABOUT", hWnd, AboutDlgProc );
+        {
+            WCHAR appname[256], other[256];
+            LoadStringW( board.hInst, IDS_APPNAME, appname, sizeof(appname)/sizeof(WCHAR) );
+            LoadStringW( board.hInst, IDS_ABOUT, other, sizeof(other)/sizeof(WCHAR) );
+            ShellAboutW( hWnd, appname, other,
+                         LoadImageA( board.hInst, "WINEMINE", IMAGE_ICON, 48, 48, LR_SHARED ));
             return 0;
+        }
         default:
             WINE_TRACE("Unknown WM_COMMAND command message received\n");
             break;
index bc95830989ec9e7c19482d6a4eb23996d8702fb5..982c5166ef00dc0a672c118266ab1af66d12c80f 100644 (file)
@@ -47,5 +47,6 @@
 
 #define IDS_APPNAME    1101
 #define IDS_NOBODY     1102
+#define IDS_ABOUT      1103
 
 #define IDA_WINEMINE   1201