Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
260b6149
Commit
260b6149
authored
Dec 03, 2003
by
Richard Cohen
Committed by
Alexandre Julliard
Dec 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Use resource ids IDM_*, IDS_* instead of numbers.
- Move ... from toplevel "Info..." onto sub items (eg "About").
parent
6dece12f
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
245 additions
and
281 deletions
+245
-281
Da.rc
programs/clock/Da.rc
+12
-12
De.rc
programs/clock/De.rc
+12
-12
En.rc
programs/clock/En.rc
+12
-12
Es.rc
programs/clock/Es.rc
+12
-12
Fi.rc
programs/clock/Fi.rc
+12
-12
Fr.rc
programs/clock/Fr.rc
+12
-12
Hu.rc
programs/clock/Hu.rc
+12
-12
It.rc
programs/clock/It.rc
+12
-12
Nl.rc
programs/clock/Nl.rc
+12
-12
Pt.rc
programs/clock/Pt.rc
+12
-12
Ru.rc
programs/clock/Ru.rc
+12
-12
Si.rc
programs/clock/Si.rc
+12
-12
Sk.rc
programs/clock/Sk.rc
+12
-12
Sw.rc
programs/clock/Sw.rc
+12
-12
Th.rc
programs/clock/Th.rc
+12
-12
Wa.rc
programs/clock/Wa.rc
+12
-12
Zh.rc
programs/clock/Zh.rc
+12
-12
clock_res.h
programs/clock/clock_res.h
+16
-3
language.c
programs/clock/language.c
+13
-19
main.c
programs/clock/main.c
+11
-11
main.h
programs/clock/main.h
+0
-43
rsrc.rc
programs/clock/rsrc.rc
+1
-1
No files found.
programs/clock/Da.rc
View file @
260b6149
...
@@ -22,25 +22,25 @@
...
@@ -22,25 +22,25 @@
MAIN_MENU MENU LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
{
{
POPUP "&Instillinger" {
POPUP "&Instillinger" {
MENUITEM "&Analog",
0x100
MENUITEM "&Analog",
IDM_ANALOG
MENUITEM "&Digital",
0x101
MENUITEM "&Digital",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Skrifttype...",
0x103
MENUITEM "&Skrifttype...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Skjul Titel&linje",
0x105
MENUITEM "Skjul Titel&linje",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Se&kunder",
0x107
MENUITEM "Se&kunder",
IDM_SECONDS
MENUITEM "Da&to",
0x108
MENUITEM "Da&to",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licens
", 0x109
MENUITEM "&Licens
...", IDM_LICENSE
MENUITEM "&NO WARRANTY
", 0x10A
MENUITEM "&NO WARRANTY
...", IDM_NOWARRANTY
MENUITEM "&Om Ur...",
0x10B
MENUITEM "&Om Ur...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
{
{
CLOCK,
"Ur"
IDS_CLOCK,
"Ur"
MENU_ON_TOP,
"&Altid verst"
IDS_ONTOP,
"&Altid verst"
}
}
programs/clock/De.rc
View file @
260b6149
...
@@ -22,25 +22,25 @@
...
@@ -22,25 +22,25 @@
MAIN_MENU MENU LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
{
{
POPUP "&Einstellungen" {
POPUP "&Einstellungen" {
MENUITEM "Ana&log",
0x100
MENUITEM "Ana&log",
IDM_ANALOG
MENUITEM "Digi&tal",
0x101
MENUITEM "Digi&tal",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Schrift&art...",
0x103
MENUITEM "Schrift&art...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Ohne Titelleiste",
0x105
MENUITEM "&Ohne Titelleiste",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Sekunden",
0x107
MENUITEM "&Sekunden",
IDM_SECONDS
MENUITEM "&Datum",
0x108
MENUITEM "&Datum",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Lizenz
", 0x109
MENUITEM "&Lizenz
...", IDM_LICENSE
MENUITEM "&KEINE GARANTIE
", 0x10A
MENUITEM "&KEINE GARANTIE
...", IDM_NOWARRANTY
MENUITEM "&ber Uhr
", 0x10B
MENUITEM "&ber Uhr
...", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
{
{
CLOCK,
"Uhr"
IDS_CLOCK,
"Uhr"
MENU_ON_TOP,
"&Immer im Vordergrund"
IDS_ONTOP,
"&Immer im Vordergrund"
}
}
programs/clock/En.rc
View file @
260b6149
...
@@ -24,25 +24,25 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
...
@@ -24,25 +24,25 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
MAIN_MENU MENU
MAIN_MENU MENU
{
{
POPUP "&Properties" {
POPUP "&Properties" {
MENUITEM "Ana&log",
0x100
MENUITEM "Ana&log",
IDM_ANALOG
MENUITEM "Digi&tal",
0x101
MENUITEM "Digi&tal",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Font...",
0x103
MENUITEM "&Font...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Without Titlebar",
0x105
MENUITEM "&Without Titlebar",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Seconds",
0x107
MENUITEM "&Seconds",
IDM_SECONDS
MENUITEM "&Date",
0x108
MENUITEM "&Date",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&License
", 0x109
MENUITEM "&License
...", IDM_LICENSE
MENUITEM "&NO WARRANTY
", 0x10A
MENUITEM "&NO WARRANTY
...", IDM_NOWARRANTY
MENUITEM "&About Clock...
", 0x10B
MENUITEM "&About Clock...
", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE
STRINGTABLE DISCARDABLE
{
{
CLOCK,
"Clock"
IDS_CLOCK,
"Clock"
MENU_ON_TOP,
"&Always on Top"
IDS_ONTOP,
"&Always on Top"
}
}
programs/clock/Es.rc
View file @
260b6149
...
@@ -24,25 +24,25 @@
...
@@ -24,25 +24,25 @@
MAIN_MENU MENU LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
{
{
POPUP "&Propiedades" {
POPUP "&Propiedades" {
MENUITEM "Ana&lgico",
0x100
MENUITEM "Ana&lgico",
IDM_ANALOG
MENUITEM "Digi&tal",
0x101
MENUITEM "Digi&tal",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Fuente...",
0x103
MENUITEM "&Fuente...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Sin barra de &ttulo",
0x105
MENUITEM "Sin barra de &ttulo",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Segundos",
0x107
MENUITEM "&Segundos",
IDM_SECONDS
MENUITEM "Fe&cha",
0x108
MENUITEM "Fe&cha",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licencia
", 0x109
MENUITEM "&Licencia
...", IDM_LICENSE
MENUITEM "&SIN &GARANTA
", 0x10A
MENUITEM "&SIN &GARANTA
...", IDM_NOWARRANTY
MENUITEM "&Acerca del Reloj...",
0x10B
MENUITEM "&Acerca del Reloj...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
{
{
CLOCK,
"Reloj"
IDS_CLOCK,
"Reloj"
MENU_ON_TOP,
"Siempre &visible"
IDS_ONTOP,
"Siempre &visible"
}
}
programs/clock/Fi.rc
View file @
260b6149
...
@@ -22,25 +22,25 @@
...
@@ -22,25 +22,25 @@
MAIN_MENU MENU LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
{
{
POPUP "&Ominaisuudet" {
POPUP "&Ominaisuudet" {
MENUITEM "&Analoginen",
0x100
MENUITEM "&Analoginen",
IDM_ANALOG
MENUITEM "Di&gitaalinen",
0x101
MENUITEM "Di&gitaalinen",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Fontti...",
0x103
MENUITEM "&Fontti...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Ilman otsikkopalkkia",
0x105
MENUITEM "&Ilman otsikkopalkkia",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Sekunnit",
0x107
MENUITEM "&Sekunnit",
IDM_SECONDS
MENUITEM "&Pivmr",
0x108
MENUITEM "&Pivmr",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Lisenssi
", 0x109
MENUITEM "&Lisenssi
...", IDM_LICENSE
MENUITEM "&EI TAKUUTA
", 0x10A
MENUITEM "&EI TAKUUTA
...", IDM_NOWARRANTY
MENUITEM "&Kellosta...",
0x10B
MENUITEM "&Kellosta...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
{
{
CLOCK,
"Kello"
IDS_CLOCK,
"Kello"
MENU_ON_TOP,
"&Aina pllimmisen"
IDS_ONTOP,
"&Aina pllimmisen"
}
}
programs/clock/Fr.rc
View file @
260b6149
...
@@ -24,25 +24,25 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
...
@@ -24,25 +24,25 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
MAIN_MENU MENU
MAIN_MENU MENU
{
{
POPUP "&Proprits" {
POPUP "&Proprits" {
MENUITEM "Ana&logique",
0x100
MENUITEM "Ana&logique",
IDM_ANALOG
MENUITEM "&Numrique",
0x101
MENUITEM "&Numrique",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Police...",
0x103
MENUITEM "&Police...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Sans &barre de titre",
0x105
MENUITEM "Sans &barre de titre",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Secondes",
0x107
MENUITEM "&Secondes",
IDM_SECONDS
MENUITEM "&Date",
0x108
MENUITEM "&Date",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licence
", 0x109
MENUITEM "&Licence
...", IDM_LICENSE
MENUITEM "AUCUNE &GARANTIE
", 0x10A
MENUITEM "AUCUNE &GARANTIE
...", IDM_NOWARRANTY
MENUITEM "&A propos de Horloge
", 0x10B
MENUITEM "&A propos de Horloge
...", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE
STRINGTABLE DISCARDABLE
{
{
CLOCK,
"Horloge"
IDS_CLOCK,
"Horloge"
MENU_ON_TOP,
"&Toujours visible"
IDS_ONTOP,
"&Toujours visible"
}
}
programs/clock/Hu.rc
View file @
260b6149
...
@@ -23,25 +23,25 @@
...
@@ -23,25 +23,25 @@
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
{
{
POPUP "&Belltsok" {
POPUP "&Belltsok" {
MENUITEM "Ana&lg",
0x100
MENUITEM "Ana&lg",
IDM_ANALOG
MENUITEM "Digi&tlis",
0x101
MENUITEM "Digi&tlis",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Bettpus...",
0x103
MENUITEM "&Bettpus...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Cmsor nlkl",
0x105
MENUITEM "&Cmsor nlkl",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Msodperc",
0x107
MENUITEM "&Msodperc",
IDM_SECONDS
MENUITEM "&Dtum",
0x108
MENUITEM "&Dtum",
IDM_DATE
}
}
POPUP "Inf&ormci
...
" {
POPUP "Inf&ormci" {
MENUITEM "&Licenc
", 0x109
MENUITEM "&Licenc
...", IDM_LICENSE
MENUITEM "&SEMMI GARANCIA
", 0x10A
MENUITEM "&SEMMI GARANCIA
...", IDM_NOWARRANTY
MENUITEM "&ra nvjegy...
", 0x10B
MENUITEM "&ra nvjegy...
", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
{
{
CLOCK,
"ra"
IDS_CLOCK,
"ra"
MENU_ON_TOP,
"&Mindig legfell"
IDS_ONTOP,
"&Mindig legfell"
}
}
programs/clock/It.rc
View file @
260b6149
...
@@ -25,25 +25,25 @@ LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
...
@@ -25,25 +25,25 @@ LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
MAIN_MENU MENU
MAIN_MENU MENU
{
{
POPUP "&Properiet" {
POPUP "&Properiet" {
MENUITEM "Ana&logico",
0x100
MENUITEM "Ana&logico",
IDM_ANALOG
MENUITEM "Digi&tale",
0x101
MENUITEM "Digi&tale",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Font...",
0x103
MENUITEM "&Font...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Nascondi la barra del titolo",
0x105
MENUITEM "&Nascondi la barra del titolo",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Secondi",
0x107
MENUITEM "&Secondi",
IDM_SECONDS
MENUITEM "&Data",
0x108
MENUITEM "&Data",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licenza
", 0x109
MENUITEM "&Licenza
...", IDM_LICENSE
MENUITEM "&Garanzia
", 0x10A
MENUITEM "&Garanzia
...", IDM_NOWARRANTY
MENUITEM "&Informazioni sull'orologio
", 0x10B
MENUITEM "&Informazioni sull'orologio
...", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE
STRINGTABLE DISCARDABLE
{
{
CLOCK,
"Orologio"
IDS_CLOCK,
"Orologio"
MENU_ON_TOP,
"&Sempre in primo piano"
IDS_ONTOP,
"&Sempre in primo piano"
}
}
programs/clock/Nl.rc
View file @
260b6149
...
@@ -23,25 +23,25 @@ LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
...
@@ -23,25 +23,25 @@ LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
MAIN_MENU MENU
MAIN_MENU MENU
{
{
POPUP "&Eigenschappen" {
POPUP "&Eigenschappen" {
MENUITEM "&Analoog",
0x100
MENUITEM "&Analoog",
IDM_ANALOG
MENUITEM "&Digitaal",
0x101
MENUITEM "&Digitaal",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Lettertype...",
0x103
MENUITEM "&Lettertype...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Zonder titelbalk",
0x105
MENUITEM "&Zonder titelbalk",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Seconden",
0x107
MENUITEM "&Seconden",
IDM_SECONDS
MENUITEM "Da&tum",
0x108
MENUITEM "Da&tum",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licentie
", 0x109
MENUITEM "&Licentie
...", IDM_LICENSE
MENUITEM "&GEEN GARANTIE
", 0x10A
MENUITEM "&GEEN GARANTIE
...", IDM_NOWARRANTY
MENUITEM "&Over Klok...
", 0x10B
MENUITEM "&Over Klok...
", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE
STRINGTABLE DISCARDABLE
{
{
CLOCK,
"Klok"
IDS_CLOCK,
"Klok"
MENU_ON_TOP,
"&Altijd op de voorgrond"
IDS_ONTOP,
"&Altijd op de voorgrond"
}
}
programs/clock/Pt.rc
View file @
260b6149
...
@@ -26,25 +26,25 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
...
@@ -26,25 +26,25 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
MAIN_MENU MENU
MAIN_MENU MENU
{
{
POPUP "&Propriedades" {
POPUP "&Propriedades" {
MENUITEM "&Analgico",
0x100
MENUITEM "&Analgico",
IDM_ANALOG
MENUITEM "Digi&tal",
0x101
MENUITEM "Digi&tal",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Fonte...",
0x103
MENUITEM "&Fonte...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Sem barra de ttulo",
0x105
MENUITEM "&Sem barra de ttulo",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Segundos",
0x107
MENUITEM "&Segundos",
IDM_SECONDS
MENUITEM "&Data",
0x108
MENUITEM "&Data",
IDM_DATE
}
}
POPUP "&Informaes
...
" {
POPUP "&Informaes" {
MENUITEM "&Licena
", 0x109
MENUITEM "&Licena
...", IDM_LICENSE
MENUITEM "&SEM GARANTIA
", 0x10A
MENUITEM "&SEM GARANTIA
...", IDM_NOWARRANTY
MENUITEM "&Sobre Clock...",
0x10B
MENUITEM "&Sobre Clock...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE
STRINGTABLE DISCARDABLE
{
{
CLOCK,
"Relgio"
IDS_CLOCK,
"Relgio"
MENU_ON_TOP,
"&Sempre visvel"
IDS_ONTOP,
"&Sempre visvel"
}
}
programs/clock/Ru.rc
View file @
260b6149
...
@@ -21,25 +21,25 @@
...
@@ -21,25 +21,25 @@
MAIN_MENU MENU LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
{
{
POPUP "&" {
POPUP "&" {
MENUITEM "&",
0x100
MENUITEM "&",
IDM_ANALOG
MENUITEM "&",
0x101
MENUITEM "&",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&...",
0x103
MENUITEM "&...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "& ",
0x105
MENUITEM "& ",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&",
0x107
MENUITEM "&",
IDM_SECONDS
MENUITEM "&",
0x108
MENUITEM "&",
IDM_DATE
}
}
POPUP "&
...
" {
POPUP "&" {
MENUITEM "&
", 0x109
MENUITEM "&
...", IDM_LICENSE
MENUITEM "&
", 0x10A
MENUITEM "&
...", IDM_NOWARRANTY
MENUITEM "&
", 0x10B
MENUITEM "&
...", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
{
{
CLOCK,
""
IDS_CLOCK,
""
MENU_ON_TOP,
"& "
IDS_ONTOP,
"& "
}
}
programs/clock/Si.rc
View file @
260b6149
...
@@ -21,25 +21,25 @@
...
@@ -21,25 +21,25 @@
MAIN_MENU MENU LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
{
{
POPUP "&Lastnosti" {
POPUP "&Lastnosti" {
MENUITEM "Ana&logna ura",
0x100
MENUITEM "Ana&logna ura",
IDM_ANALOG
MENUITEM "Digi&talna ura",
0x101
MENUITEM "Digi&talna ura",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Pisava ...",
0x103
MENUITEM "&Pisava ...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Brez naslovne vrstice",
0x105
MENUITEM "&Brez naslovne vrstice",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Sekunde",
0x107
MENUITEM "&Sekunde",
IDM_SECONDS
MENUITEM "&Datum",
0x108
MENUITEM "&Datum",
IDM_DATE
}
}
POPUP "Inf&ormacije
...
" {
POPUP "Inf&ormacije " {
MENUITEM "&Licenna pogodba
", 0x109
MENUITEM "&Licenna pogodba
...", IDM_LICENSE
MENUITEM "&BREZ GARANCIJE
", 0x10A
MENUITEM "&BREZ GARANCIJE
...", IDM_NOWARRANTY
MENUITEM "&O Uri
", 0x10B
MENUITEM "&O Uri
...", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
{
{
CLOCK,
"Ura"
IDS_CLOCK,
"Ura"
MENU_ON_TOP,
"&Vedno na vrhu"
IDS_ONTOP,
"&Vedno na vrhu"
}
}
programs/clock/Sk.rc
View file @
260b6149
...
@@ -23,25 +23,25 @@
...
@@ -23,25 +23,25 @@
MAIN_MENU MENU LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
{
{
POPUP "&Vlastnosti" {
POPUP "&Vlastnosti" {
MENUITEM "Ana&lgov",
0x100
MENUITEM "Ana&lgov",
IDM_ANALOG
MENUITEM "Digi&tlne",
0x101
MENUITEM "Digi&tlne",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Font...",
0x103
MENUITEM "&Font...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Bez titulkovho pruhu",
0x105
MENUITEM "&Bez titulkovho pruhu",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Sekundy",
0x107
MENUITEM "&Sekundy",
IDM_SECONDS
MENUITEM "&Dtum",
0x108
MENUITEM "&Dtum",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licencia
", 0x109
MENUITEM "&Licencia
...", IDM_LICENSE
MENUITEM "&BEZ ZRUKY
", 0x10A
MENUITEM "&BEZ ZRUKY
...", IDM_NOWARRANTY
MENUITEM "&O hodinch...",
0x10B
MENUITEM "&O hodinch...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
{
{
CLOCK,
"Hodiny"
IDS_CLOCK,
"Hodiny"
MENU_ON_TOP,
"&Vdy na vrchu"
IDS_ONTOP,
"&Vdy na vrchu"
}
}
programs/clock/Sw.rc
View file @
260b6149
...
@@ -23,25 +23,25 @@
...
@@ -23,25 +23,25 @@
MAIN_MENU MENU LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
{
{
POPUP "&Egenskaper" {
POPUP "&Egenskaper" {
MENUITEM "Ana&log",
0x100
MENUITEM "Ana&log",
IDM_ANALOG
MENUITEM "Digi&tal",
0x101
MENUITEM "Digi&tal",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Font...",
0x103
MENUITEM "&Font...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Utan Titlebar",
0x105
MENUITEM "&Utan Titlebar",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Sekunder",
0x107
MENUITEM "&Sekunder",
IDM_SECONDS
MENUITEM "&Datum",
0x108
MENUITEM "&Datum",
IDM_DATE
}
}
POPUP "Inf&o
...
" {
POPUP "Inf&o" {
MENUITEM "&Licens
", 0x109
MENUITEM "&Licens
...", IDM_LICENSE
MENUITEM "&INGEN GARANTI
", 0x10A
MENUITEM "&INGEN GARANTI
...", IDM_NOWARRANTY
MENUITEM "&Om Klockan...",
0x10B
MENUITEM "&Om Klockan...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
{
{
CLOCK,
"Klockan"
IDS_CLOCK,
"Klockan"
MENU_ON_TOP,
"&Alltid verst"
IDS_ONTOP,
"&Alltid verst"
}
}
programs/clock/Th.rc
View file @
260b6149
...
@@ -23,25 +23,25 @@ LANGUAGE LANG_THAI, SUBLANG_DEFAULT
...
@@ -23,25 +23,25 @@ LANGUAGE LANG_THAI, SUBLANG_DEFAULT
MAIN_MENU MENU
MAIN_MENU MENU
{
{
POPUP "Ѻ觹ԡ" {
POPUP "Ѻ觹ԡ" {
MENUITEM "",
0x100
MENUITEM "",
IDM_ANALOG
MENUITEM "ԨԵ",
0x101
MENUITEM "ԨԵ",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "ٻẺѡ...",
0x103
MENUITEM "ٻẺѡ...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "ʴ᷺",
0x105
MENUITEM "ʴ᷺",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Թҷ",
0x107
MENUITEM "Թҷ",
IDM_SECONDS
MENUITEM "ѹ",
0x108
MENUITEM "ѹ",
IDM_DATE
}
}
POPUP "´
...
" {
POPUP "´" {
MENUITEM "حҵ
", 0x109
MENUITEM "حҵ
...", IDM_LICENSE
MENUITEM " WARRANTY
", 0x10A
MENUITEM " WARRANTY
...", IDM_NOWARRANTY
MENUITEM "ǡѺԡ...
", 0x10B
MENUITEM "ǡѺԡ...
", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE
STRINGTABLE DISCARDABLE
{
{
CLOCK,
"ԡ"
IDS_CLOCK,
"ԡ"
MENU_ON_
TOP, "ٺش"
IDS_ON
TOP, "ٺش"
}
}
programs/clock/Wa.rc
View file @
260b6149
...
@@ -28,27 +28,27 @@
...
@@ -28,27 +28,27 @@
MAIN_MENU MENU LANGUAGE LANG_WALON, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_WALON, SUBLANG_DEFAULT
{
{
POPUP "&Propiets" {
POPUP "&Propiets" {
MENUITEM "&Analodjike",
0x100
MENUITEM "&Analodjike",
IDM_ANALOG
MENUITEM "&Limerike",
0x101
MENUITEM "&Limerike",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Fonte...",
0x103
MENUITEM "&Fonte...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Sin br di &Tite",
0x105
MENUITEM "Sin br di &Tite",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Segondes",
0x107
MENUITEM "&Segondes",
IDM_SECONDS
MENUITEM "&Date",
0x108
MENUITEM "&Date",
IDM_DATE
}
}
POPUP "&Informcion
...
" {
POPUP "&Informcion" {
MENUITEM "&Licinse
", 0x109
MENUITEM "&Licinse
...", IDM_LICENSE
MENUITEM "&NOLE WARANTEYE
", 0x10A
MENUITEM "&NOLE WARANTEYE
...", IDM_NOWARRANTY
MENUITEM " &dfait di l' rlodje...",
0x10B
MENUITEM " &dfait di l' rlodje...",
IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_WALON, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE LANGUAGE LANG_WALON, SUBLANG_DEFAULT
{
{
CLOCK,
"rlodje"
IDS_CLOCK,
"rlodje"
MENU_ON_TOP,
"Todi &Visibe"
IDS_ONTOP,
"Todi &Visibe"
}
}
#endif /* LANG_WALON */
#endif /* LANG_WALON */
programs/clock/Zh.rc
View file @
260b6149
...
@@ -21,25 +21,25 @@
...
@@ -21,25 +21,25 @@
MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
{
{
POPUP "属性(&P)" {
POPUP "属性(&P)" {
MENUITEM "模拟时钟(&L)",
0x100
MENUITEM "模拟时钟(&L)",
IDM_ANALOG
MENUITEM "数组时钟(&T)",
0x101
MENUITEM "数组时钟(&T)",
IDM_DIGITAL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "字体(&F)...",
0x103
MENUITEM "字体(&F)...",
IDM_FONT
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "无标题栏(&W)",
0x105
MENUITEM "无标题栏(&W)",
IDM_NOTITLE
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "秒(&)",
0x107
MENUITEM "秒(&)",
IDM_SECONDS
MENUITEM "日期(&D)",
0x108
MENUITEM "日期(&D)",
IDM_DATE
}
}
POPUP "资料信息(&O)
...
" {
POPUP "资料信息(&O)" {
MENUITEM "用户许可协议(&L)
", 0x109
MENUITEM "用户许可协议(&L)
...", IDM_LICENSE
MENUITEM "责任无关(&N)
", 0x10A
MENUITEM "责任无关(&N)
...", IDM_NOWARRANTY
MENUITEM "关于 Wine(&A)...
", 0x10B
MENUITEM "关于 Wine(&A)...
", IDM_ABOUT
}
}
}
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE DISCARDABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
{
{
CLOCK,
"时钟"
IDS_CLOCK,
"时钟"
MENU_ON_TOP,
"总是在最前面(&A)"
IDS_ONTOP,
"总是在最前面(&A)"
}
}
programs/clock/clock_res.h
View file @
260b6149
...
@@ -16,6 +16,19 @@
...
@@ -16,6 +16,19 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#define CLOCK 0x10C
#define MAIN_MENU 0x100
#define MENU_ON_TOP 0x10D
#define IDM_ANALOG 0x101
#define MAIN_MENU 0x10E
#define IDM_DIGITAL 0x102
#define IDM_FONT 0x103
#define IDM_NOTITLE 0x104
#define IDM_SECONDS 0x105
#define IDM_DATE 0x106
#define IDM_LICENSE 0x110
#define IDM_NOWARRANTY 0x111
#define IDM_ABOUT 0x112
#define IDM_ONTOP 0x113
#define IDS_CLOCK 0x10C
#define IDS_ONTOP 0x10D
programs/clock/language.c
View file @
260b6149
...
@@ -31,32 +31,26 @@ VOID LANGUAGE_UpdateMenuCheckmarks(VOID)
...
@@ -31,32 +31,26 @@ VOID LANGUAGE_UpdateMenuCheckmarks(VOID)
/* analog clock */
/* analog clock */
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x100
,
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_ANALOG
,
MF_BYCOMMAND
|
MF_CHECKED
);
MF_BYCOMMAND
|
MF_CHECKED
);
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_DIGITAL
,
MF_BYCOMMAND
|
MF_UNCHECKED
);
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x101
,
EnableMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_FONT
,
MF_BYCOMMAND
|
MF_GRAYED
);
MF_BYCOMMAND
|
MF_UNCHECKED
);
EnableMenuItem
(
Globals
.
hPropertiesMenu
,
0x103
,
MF_BYCOMMAND
|
MF_GRAYED
);
}
}
else
else
{
{
/* digital clock */
/* digital clock */
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x100
,
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_ANALOG
,
MF_BYCOMMAND
|
MF_UNCHECKED
);
MF_BYCOMMAND
|
MF_UNCHECKED
);
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_DIGITAL
,
MF_BYCOMMAND
|
MF_CHECKED
);
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x101
,
EnableMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_FONT
,
MF_BYCOMMAND
);
MF_BYCOMMAND
|
MF_CHECKED
);
EnableMenuItem
(
Globals
.
hPropertiesMenu
,
0x103
,
MF_BYCOMMAND
);
}
}
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x105
,
MF_BYCOMMAND
|
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_NOTITLE
,
MF_BYCOMMAND
|
(
Globals
.
bWithoutTitle
?
MF_CHECKED
:
MF_UNCHECKED
));
(
Globals
.
bWithoutTitle
?
MF_CHECKED
:
MF_UNCHECKED
));
CheckMenuItem
(
Globals
.
hSystemMenu
,
0x10D
,
MF_BYCOMMAND
|
CheckMenuItem
(
Globals
.
hSystemMenu
,
IDM_ONTOP
,
MF_BYCOMMAND
|
(
Globals
.
bAlwaysOnTop
?
MF_CHECKED
:
MF_UNCHECKED
));
(
Globals
.
bAlwaysOnTop
?
MF_CHECKED
:
MF_UNCHECKED
));
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x107
,
MF_BYCOMMAND
|
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_SECONDS
,
MF_BYCOMMAND
|
(
Globals
.
bSeconds
?
MF_CHECKED
:
MF_UNCHECKED
));
(
Globals
.
bSeconds
?
MF_CHECKED
:
MF_UNCHECKED
));
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
0x108
,
MF_BYCOMMAND
|
CheckMenuItem
(
Globals
.
hPropertiesMenu
,
IDM_DATE
,
MF_BYCOMMAND
|
(
Globals
.
bDate
?
MF_CHECKED
:
MF_UNCHECKED
));
(
Globals
.
bDate
?
MF_CHECKED
:
MF_UNCHECKED
));
}
}
...
@@ -71,7 +65,7 @@ VOID LANGUAGE_UpdateWindowCaption(VOID)
...
@@ -71,7 +65,7 @@ VOID LANGUAGE_UpdateWindowCaption(VOID)
GetDateFormat
(
LOCALE_USER_DEFAULT
,
LOCALE_SLONGDATE
,
&
st
,
NULL
,
szDate
,
sizeof
(
szDate
));
GetDateFormat
(
LOCALE_USER_DEFAULT
,
LOCALE_SLONGDATE
,
&
st
,
NULL
,
szDate
,
sizeof
(
szDate
));
/* Set frame caption */
/* Set frame caption */
LoadString
(
Globals
.
hInstance
,
0x10C
,
szCaption
,
sizeof
(
szCaption
));
LoadString
(
Globals
.
hInstance
,
IDS_CLOCK
,
szCaption
,
sizeof
(
szCaption
));
if
(
Globals
.
bDate
)
{
if
(
Globals
.
bDate
)
{
lstrcat
(
szCaption
,
" - "
);
lstrcat
(
szCaption
,
" - "
);
lstrcat
(
szCaption
,
szDate
);
lstrcat
(
szCaption
,
szDate
);
...
@@ -105,8 +99,8 @@ VOID LANGUAGE_LoadMenus(VOID)
...
@@ -105,8 +99,8 @@ VOID LANGUAGE_LoadMenus(VOID)
/* FIXME: Append a SEPARATOR to Globals.hSystemMenu here */
/* FIXME: Append a SEPARATOR to Globals.hSystemMenu here */
LoadString
(
Globals
.
hInstance
,
0x10D
,
szItem
,
sizeof
(
szItem
));
LoadString
(
Globals
.
hInstance
,
IDS_ONTOP
,
szItem
,
sizeof
(
szItem
));
AppendMenu
(
Globals
.
hSystemMenu
,
MF_STRING
|
MF_BYCOMMAND
,
1000
,
szItem
);
AppendMenu
(
Globals
.
hSystemMenu
,
MF_STRING
|
MF_BYCOMMAND
,
IDM_ONTOP
,
szItem
);
}
}
/* Local Variables: */
/* Local Variables: */
...
...
programs/clock/main.c
View file @
260b6149
...
@@ -54,64 +54,64 @@ int CLOCK_MenuCommand (WPARAM wParam)
...
@@ -54,64 +54,64 @@ int CLOCK_MenuCommand (WPARAM wParam)
CHAR
szAppRelease
[
MAX_STRING_LEN
];
CHAR
szAppRelease
[
MAX_STRING_LEN
];
switch
(
wParam
)
{
switch
(
wParam
)
{
/* switch to analog */
/* switch to analog */
case
0x100
:
{
case
IDM_ANALOG
:
{
Globals
.
bAnalog
=
TRUE
;
Globals
.
bAnalog
=
TRUE
;
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateMenuCheckmarks
();
SendMessage
(
Globals
.
hMainWnd
,
WM_PAINT
,
0
,
0
);
SendMessage
(
Globals
.
hMainWnd
,
WM_PAINT
,
0
,
0
);
break
;
break
;
}
}
/* switch to digital */
/* switch to digital */
case
0x101
:
{
case
IDM_DIGITAL
:
{
Globals
.
bAnalog
=
FALSE
;
Globals
.
bAnalog
=
FALSE
;
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateMenuCheckmarks
();
SendMessage
(
Globals
.
hMainWnd
,
WM_PAINT
,
0
,
0
);
SendMessage
(
Globals
.
hMainWnd
,
WM_PAINT
,
0
,
0
);
break
;
break
;
}
}
/* change font */
/* change font */
case
0x103
:
{
case
IDM_FONT
:
{
MAIN_FileChooseFont
();
MAIN_FileChooseFont
();
break
;
break
;
}
}
/* hide title bar */
/* hide title bar */
case
0x105
:
{
case
IDM_NOTITLE
:
{
Globals
.
bWithoutTitle
=
!
Globals
.
bWithoutTitle
;
Globals
.
bWithoutTitle
=
!
Globals
.
bWithoutTitle
;
LANGUAGE_UpdateWindowCaption
();
LANGUAGE_UpdateWindowCaption
();
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateMenuCheckmarks
();
break
;
break
;
}
}
/* always on top */
/* always on top */
case
0x10D
:
{
case
IDM_ONTOP
:
{
Globals
.
bAlwaysOnTop
=
!
Globals
.
bAlwaysOnTop
;
Globals
.
bAlwaysOnTop
=
!
Globals
.
bAlwaysOnTop
;
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateMenuCheckmarks
();
break
;
break
;
}
}
/* show or hide seconds */
/* show or hide seconds */
case
0x107
:
{
case
IDM_SECONDS
:
{
Globals
.
bSeconds
=
!
Globals
.
bSeconds
;
Globals
.
bSeconds
=
!
Globals
.
bSeconds
;
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateMenuCheckmarks
();
SendMessage
(
Globals
.
hMainWnd
,
WM_PAINT
,
0
,
0
);
SendMessage
(
Globals
.
hMainWnd
,
WM_PAINT
,
0
,
0
);
break
;
break
;
}
}
/* show or hide date */
/* show or hide date */
case
0x108
:
{
case
IDM_DATE
:
{
Globals
.
bDate
=
!
Globals
.
bDate
;
Globals
.
bDate
=
!
Globals
.
bDate
;
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateMenuCheckmarks
();
LANGUAGE_UpdateWindowCaption
();
LANGUAGE_UpdateWindowCaption
();
break
;
break
;
}
}
/* show license */
/* show license */
case
0x109
:
{
case
IDM_LICENSE
:
{
WineLicense
(
Globals
.
hMainWnd
);
WineLicense
(
Globals
.
hMainWnd
);
break
;
break
;
}
}
/* show warranties */
/* show warranties */
case
0x10A
:
{
case
IDM_NOWARRANTY
:
{
WineWarranty
(
Globals
.
hMainWnd
);
WineWarranty
(
Globals
.
hMainWnd
);
break
;
break
;
}
}
/* show "about" box */
/* show "about" box */
case
0x10B
:
{
case
IDM_ABOUT
:
{
LoadString
(
Globals
.
hInstance
,
0x10C
,
szApp
,
sizeof
(
szApp
));
LoadString
(
Globals
.
hInstance
,
IDS_CLOCK
,
szApp
,
sizeof
(
szApp
));
lstrcpy
(
szAppRelease
,
szApp
);
lstrcpy
(
szAppRelease
,
szApp
);
lstrcat
(
szAppRelease
,
"
\n
"
PACKAGE_STRING
);
lstrcat
(
szAppRelease
,
"
\n
"
PACKAGE_STRING
);
ShellAbout
(
Globals
.
hMainWnd
,
szApp
,
szAppRelease
,
0
);
ShellAbout
(
Globals
.
hMainWnd
,
szApp
,
szAppRelease
,
0
);
...
...
programs/clock/main.h
View file @
260b6149
...
@@ -23,9 +23,6 @@
...
@@ -23,9 +23,6 @@
#define MAX_STRING_LEN 255
#define MAX_STRING_LEN 255
#define DEFAULTICON OIC_WINLOGO
#define DEFAULTICON OIC_WINLOGO
/* hide the following from winerc */
#ifndef RC_INVOKED
typedef
struct
typedef
struct
{
{
HANDLE
hInstance
;
HANDLE
hInstance
;
...
@@ -55,43 +52,3 @@ extern CLOCK_GLOBALS Globals;
...
@@ -55,43 +52,3 @@ extern CLOCK_GLOBALS Globals;
/* function prototypes */
/* function prototypes */
VOID
MAIN_FileChooseFont
(
VOID
);
VOID
MAIN_FileChooseFont
(
VOID
);
/* class names */
/* Resource names */
extern
CHAR
STRING_MENU_Xx
[];
#define STRINGID(id) (0x##id + Globals.wStringTableOffset)
#else
/* RC_INVOKED */
#define STRINGID(id) id
#endif
/* string table index */
#define IDS_LANGUAGE_ID STRINGID(00)
#define IDS_LANGUAGE_MENU_ITEM STRINGID(01)
#define IDS_CLOCK STRINGID(02)
#define IDS_MENU_ON_TOP STRINGID(03)
/* main menu */
#define CL_ON_TOP 99
#define CL_ANALOG 100
#define CL_DIGITAL 101
#define CL_FONT 102
#define CL_WITHOUT_TITLE 103
#define CL_SECONDS 104
#define CL_DATE 105
#define CL_LANGUAGE 200
#define CL_INFO 301
#define CL_INFO_LICENSE 302
#define CL_INFO_NO_WARRANTY 303
#define CL_INFO_ABOUT_WINE 304
#define CL_FIRST_LANGUAGE 200
#define CL_LAST_LANGUAGE 220
programs/clock/rsrc.rc
View file @
260b6149
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
*/
*/
#include <windows.h>
#include <windows.h>
#include "main.h"
#include "clock_res.h"
#include "clock_res.h"
#include "Da.rc"
#include "Da.rc"
#include "De.rc"
#include "De.rc"
#include "En.rc"
#include "En.rc"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment