Commit 2397171c authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

wordpad: Added text colour toolbar button.

parent 003e7e96
...@@ -106,6 +106,30 @@ BEGIN ...@@ -106,6 +106,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Sort", ID_COLOR_BLACK
MENUITEM "Mrkerd", ID_COLOR_MAROON
MENUITEM "Grn", ID_COLOR_GREEN
MENUITEM "Oliven" ID_COLOR_OLIVE
MENUITEM "Navy" ID_COLOR_NAVY
MENUITEM "Lilla" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Gr" ID_COLOR_GRAY
MENUITEM "Slv" ID_COLOR_SILVER
MENUITEM "Rd" ID_COLOR_RED
MENUITEM "Lime" ID_COLOR_LIME
MENUITEM "Gul" ID_COLOR_YELLOW
MENUITEM "Bl" ID_COLOR_BLUE
MENUITEM "Violet" ID_COLOR_FUCHSIA
MENUITEM "Cyan" ID_COLOR_AQUA
MENUITEM "Hvid" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Dato og tid" CAPTION "Dato og tid"
......
...@@ -108,6 +108,30 @@ BEGIN ...@@ -108,6 +108,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Schwarz" ID_COLOR_BLACK
MENUITEM "Kastanienbraun" ID_COLOR_MAROON
MENUITEM "Grün" ID_COLOR_GREEN
MENUITEM "Olivgrün" ID_COLOR_OLIVE
MENUITEM "Dunkelblau" ID_COLOR_NAVY
MENUITEM "Lila" ID_COLOR_PURPLE
MENUITEM "Blaugrün" ID_COLOR_TEAL
MENUITEM "Grau" ID_COLOR_GRAY
MENUITEM "Silber" ID_COLOR_SILVER
MENUITEM "Rot" ID_COLOR_RED
MENUITEM "Hellgrün" ID_COLOR_LIME
MENUITEM "Gelb" ID_COLOR_YELLOW
MENUITEM "Blau" ID_COLOR_BLUE
MENUITEM "Pink" ID_COLOR_FUCHSIA
MENUITEM "Aquamarin" ID_COLOR_AQUA
MENUITEM "Weiß" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Datum und Uhrzeit" CAPTION "Datum und Uhrzeit"
......
...@@ -106,6 +106,30 @@ BEGIN ...@@ -106,6 +106,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Black", ID_COLOR_BLACK
MENUITEM "Maroon", ID_COLOR_MAROON
MENUITEM "Green", ID_COLOR_GREEN
MENUITEM "Olive" ID_COLOR_OLIVE
MENUITEM "Navy" ID_COLOR_NAVY
MENUITEM "Purple" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Gray" ID_COLOR_GRAY
MENUITEM "Silver" ID_COLOR_SILVER
MENUITEM "Red" ID_COLOR_RED
MENUITEM "Lime" ID_COLOR_LIME
MENUITEM "Yellow" ID_COLOR_YELLOW
MENUITEM "Blue" ID_COLOR_BLUE
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
MENUITEM "Aqua" ID_COLOR_AQUA
MENUITEM "White" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Date and time" CAPTION "Date and time"
......
...@@ -109,6 +109,30 @@ BEGIN ...@@ -109,6 +109,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Noir" ID_COLOR_BLACK
MENUITEM "Marron" ID_COLOR_MAROON
MENUITEM "Vert" ID_COLOR_GREEN
MENUITEM "Olive" ID_COLOR_OLIVE
MENUITEM "Bleu marine" ID_COLOR_NAVY
MENUITEM "Pourpre" ID_COLOR_PURPLE
MENUITEM "Sarcelle" ID_COLOR_TEAL
MENUITEM "Gris" ID_COLOR_GRAY
MENUITEM "Argent" ID_COLOR_SILVER
MENUITEM "Rouge" ID_COLOR_RED
MENUITEM "Citron vert" ID_COLOR_LIME
MENUITEM "Jaune" ID_COLOR_YELLOW
MENUITEM "Bleu" ID_COLOR_BLUE
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
MENUITEM "Eau" ID_COLOR_AQUA
MENUITEM "Blanc" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Date et heure" CAPTION "Date et heure"
......
...@@ -106,6 +106,30 @@ BEGIN ...@@ -106,6 +106,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Black", ID_COLOR_BLACK
MENUITEM "Maroon", ID_COLOR_MAROON
MENUITEM "Green", ID_COLOR_GREEN
MENUITEM "Olive" ID_COLOR_OLIVE
MENUITEM "Navy" ID_COLOR_NAVY
MENUITEM "Purple" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Gray" ID_COLOR_GRAY
MENUITEM "Silver" ID_COLOR_SILVER
MENUITEM "Red" ID_COLOR_RED
MENUITEM "Lime" ID_COLOR_LIME
MENUITEM "Yellow" ID_COLOR_YELLOW
MENUITEM "Blue" ID_COLOR_BLUE
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
MENUITEM "Aqua" ID_COLOR_AQUA
MENUITEM "White" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Date and time" CAPTION "Date and time"
......
...@@ -110,6 +110,30 @@ BEGIN ...@@ -110,6 +110,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Nero" ID_COLOR_BLACK
MENUITEM "Marrone rossiccio" ID_COLOR_MAROON
MENUITEM "Verde" ID_COLOR_GREEN
MENUITEM "Verde oliva" ID_COLOR_OLIVE
MENUITEM "Blu oltremare" ID_COLOR_NAVY
MENUITEM "Propora" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Grigio" ID_COLOR_GRAY
MENUITEM "Argento" ID_COLOR_SILVER
MENUITEM "Rosso" ID_COLOR_RED
MENUITEM "Verde cedro" ID_COLOR_LIME
MENUITEM "Giallo" ID_COLOR_YELLOW
MENUITEM "Blu" ID_COLOR_BLUE
MENUITEM "Fucsia" ID_COLOR_FUCHSIA
MENUITEM "Aqua" ID_COLOR_AQUA
MENUITEM "Bianco" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Data e ora" CAPTION "Data e ora"
......
...@@ -109,6 +109,30 @@ BEGIN ...@@ -109,6 +109,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "黒" ID_COLOR_BLACK
MENUITEM "茶色" ID_COLOR_MAROON
MENUITEM "緑" ID_COLOR_GREEN
MENUITEM "オリーブ" ID_COLOR_OLIVE
MENUITEM "紺" ID_COLOR_NAVY
MENUITEM "紫" ID_COLOR_PURPLE
MENUITEM "青緑" ID_COLOR_TEAL
MENUITEM "灰色" ID_COLOR_GRAY
MENUITEM "銀色" ID_COLOR_SILVER
MENUITEM "赤" ID_COLOR_RED
MENUITEM "黄緑" ID_COLOR_LIME
MENUITEM "黄" ID_COLOR_YELLOW
MENUITEM "青" ID_COLOR_BLUE
MENUITEM "赤紫" ID_COLOR_FUCHSIA
MENUITEM "水色" ID_COLOR_AQUA
MENUITEM "白" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "日付と時刻" CAPTION "日付と時刻"
......
...@@ -107,6 +107,30 @@ BEGIN ...@@ -107,6 +107,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "검정" ID_COLOR_BLACK
MENUITEM "밤색" ID_COLOR_MAROON
MENUITEM "녹색" ID_COLOR_GREEN
MENUITEM "올리브색" ID_COLOR_OLIVE
MENUITEM "짙은 남색" ID_COLOR_NAVY
MENUITEM "심홍색" ID_COLOR_PURPLE
MENUITEM "검은 물오리색" ID_COLOR_TEAL
MENUITEM "회색" ID_COLOR_GRAY
MENUITEM "은색" ID_COLOR_SILVER
MENUITEM "빨강" ID_COLOR_RED
MENUITEM "라임색" ID_COLOR_LIME
MENUITEM "노랑" ID_COLOR_YELLOW
MENUITEM "파랑" ID_COLOR_BLUE
MENUITEM "자홍색" ID_COLOR_FUCHSIA
MENUITEM "물색" ID_COLOR_AQUA
MENUITEM "하양" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "날짜와 시간" CAPTION "날짜와 시간"
......
...@@ -109,6 +109,30 @@ BEGIN ...@@ -109,6 +109,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Juoda" ID_COLOR_BLACK
MENUITEM "Kaštoninė" ID_COLOR_MAROON
MENUITEM "Žalia" ID_COLOR_GREEN
MENUITEM "Alyvinė" ID_COLOR_OLIVE
MENUITEM "Ultramarinas" ID_COLOR_NAVY
MENUITEM "Purpurinė" ID_COLOR_PURPLE
MENUITEM "Neutrali ciano" ID_COLOR_TEAL
MENUITEM "Pilka" ID_COLOR_GRAY
MENUITEM "Sidabrinė" ID_COLOR_SILVER
MENUITEM "Raudona" ID_COLOR_RED
MENUITEM "Gelsvai žalsva" ID_COLOR_LIME
MENUITEM "Geltona" ID_COLOR_YELLOW
MENUITEM "Mėlyna" ID_COLOR_BLUE
MENUITEM "Fuksija" ID_COLOR_FUCHSIA
MENUITEM "Žydra" ID_COLOR_AQUA
MENUITEM "Balta" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Data ir laikas" CAPTION "Data ir laikas"
......
...@@ -107,6 +107,30 @@ BEGIN ...@@ -107,6 +107,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Zwart" ID_COLOR_BLACK
MENUITEM "Kastanjebruin" ID_COLOR_MAROON
MENUITEM "Groen" ID_COLOR_GREEN
MENUITEM "Olijfgroen" ID_COLOR_OLIVE
MENUITEM "Marineblauw" ID_COLOR_NAVY
MENUITEM "Paars" ID_COLOR_PURPLE
MENUITEM "Groenblauw" ID_COLOR_TEAL
MENUITEM "Grijs" ID_COLOR_GRAY
MENUITEM "Zilver" ID_COLOR_SILVER
MENUITEM "Rood" ID_COLOR_RED
MENUITEM "Lichtgroen" ID_COLOR_LIME
MENUITEM "Geel" ID_COLOR_YELLOW
MENUITEM "Blauw" ID_COLOR_BLUE
MENUITEM "Fuchsiapaars" ID_COLOR_FUCHSIA
MENUITEM "Zeeblauw" ID_COLOR_AQUA
MENUITEM "Wit" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Datum en tijd" CAPTION "Datum en tijd"
......
...@@ -108,6 +108,30 @@ BEGIN ...@@ -108,6 +108,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Svart" ID_COLOR_BLACK
MENUITEM "Rødbrun" ID_COLOR_MAROON
MENUITEM "Grønn" ID_COLOR_GREEN
MENUITEM "Oliven" ID_COLOR_OLIVE
MENUITEM "Marineblå" ID_COLOR_NAVY
MENUITEM "Purpur" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Grå" ID_COLOR_GRAY
MENUITEM "Sølv" ID_COLOR_SILVER
MENUITEM "Rød" ID_COLOR_RED
MENUITEM "Lime-grønn" ID_COLOR_LIME
MENUITEM "Gul" ID_COLOR_YELLOW
MENUITEM "Blå" ID_COLOR_BLUE
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
MENUITEM "Aqua" ID_COLOR_AQUA
MENUITEM "Hvit" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Dato og klokkeslett" CAPTION "Dato og klokkeslett"
......
...@@ -107,6 +107,30 @@ BEGIN ...@@ -107,6 +107,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Czarny" ID_COLOR_BLACK
MENUITEM "Kasztanowy" ID_COLOR_MAROON
MENUITEM "Zielony" ID_COLOR_GREEN
MENUITEM "Oliwkowy" ID_COLOR_OLIVE
MENUITEM "Granatowy" ID_COLOR_NAVY
MENUITEM "Purpurowy" ID_COLOR_PURPLE
MENUITEM "Zielonomodry" ID_COLOR_TEAL
MENUITEM "Szary" ID_COLOR_GRAY
MENUITEM "Srebrny" ID_COLOR_SILVER
MENUITEM "Czerwony" ID_COLOR_RED
MENUITEM "Limonowy" ID_COLOR_LIME
MENUITEM "ty" ID_COLOR_YELLOW
MENUITEM "Niebieski" ID_COLOR_BLUE
MENUITEM "Fuksja" ID_COLOR_FUCHSIA
MENUITEM "Akwamaryna" ID_COLOR_AQUA
MENUITEM "Biay" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Data i godzina" CAPTION "Data i godzina"
......
...@@ -110,6 +110,30 @@ BEGIN ...@@ -110,6 +110,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Preto" ID_COLOR_BLACK
MENUITEM "Castanho" ID_COLOR_MAROON
MENUITEM "Verde" ID_COLOR_GREEN
MENUITEM "Verde-oliva" ID_COLOR_OLIVE
MENUITEM "Azul-marinho" ID_COLOR_NAVY
MENUITEM "Roxo" ID_COLOR_PURPLE
MENUITEM "Azul-petróleo" ID_COLOR_TEAL
MENUITEM "Cinza" ID_COLOR_GRAY
MENUITEM "Prateado" ID_COLOR_SILVER
MENUITEM "Vermelho" ID_COLOR_RED
MENUITEM "Verde-limão" ID_COLOR_LIME
MENUITEM "Amarelo" ID_COLOR_YELLOW
MENUITEM "Azul" ID_COLOR_BLUE
MENUITEM "Fúcsia" ID_COLOR_FUCHSIA
MENUITEM "Azul-piscina" ID_COLOR_AQUA
MENUITEM "Branco" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Data e hora" CAPTION "Data e hora"
......
...@@ -109,6 +109,30 @@ BEGIN ...@@ -109,6 +109,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Чёрный" ID_COLOR_BLACK
MENUITEM "Тёмно-бордовый" ID_COLOR_MAROON
MENUITEM "Зелёный" ID_COLOR_GREEN
MENUITEM "Оливковый" ID_COLOR_OLIVE
MENUITEM "Тёмно-синий" ID_COLOR_NAVY
MENUITEM "Пурпурный" ID_COLOR_PURPLE
MENUITEM "Морской волны" ID_COLOR_TEAL
MENUITEM "Серый" ID_COLOR_GRAY
MENUITEM "Серебряный" ID_COLOR_SILVER
MENUITEM "Красный" ID_COLOR_RED
MENUITEM "Лимонный" ID_COLOR_LIME
MENUITEM "Жёлтый" ID_COLOR_YELLOW
MENUITEM "Синий" ID_COLOR_BLUE
MENUITEM "Ярко-розовый" ID_COLOR_FUCHSIA
MENUITEM "Голубой" ID_COLOR_AQUA
MENUITEM "Белый" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Дата и время" CAPTION "Дата и время"
......
...@@ -108,6 +108,30 @@ BEGIN ...@@ -108,6 +108,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Črna" ID_COLOR_BLACK
MENUITEM "Kostanjeva" ID_COLOR_MAROON
MENUITEM "Zelena" ID_COLOR_GREEN
MENUITEM "Olivna" ID_COLOR_OLIVE
MENUITEM "Mornariška" ID_COLOR_NAVY
MENUITEM "Vijolična" ID_COLOR_PURPLE
MENUITEM "Zelenomodra" ID_COLOR_TEAL
MENUITEM "Siva" ID_COLOR_GRAY
MENUITEM "Srebrna" ID_COLOR_SILVER
MENUITEM "Rdeča" ID_COLOR_RED
MENUITEM "Citronska" ID_COLOR_LIME
MENUITEM "Rumena" ID_COLOR_YELLOW
MENUITEM "Modra" ID_COLOR_BLUE
MENUITEM "Roza" ID_COLOR_FUCHSIA
MENUITEM "Akvamarin" ID_COLOR_AQUA
MENUITEM "Bela" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Datum in čas" CAPTION "Datum in čas"
......
...@@ -108,6 +108,30 @@ BEGIN ...@@ -108,6 +108,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Svart" ID_COLOR_BLACK
MENUITEM "Rödbrun" ID_COLOR_MAROON
MENUITEM "Grön" ID_COLOR_GREEN
MENUITEM "Oliv" ID_COLOR_OLIVE
MENUITEM "Navy" ID_COLOR_NAVY
MENUITEM "Lila" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Grå" ID_COLOR_GRAY
MENUITEM "Silver" ID_COLOR_SILVER
MENUITEM "Röd" ID_COLOR_RED
MENUITEM "Lime" ID_COLOR_LIME
MENUITEM "Gul" ID_COLOR_YELLOW
MENUITEM "Blå" ID_COLOR_BLUE
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
MENUITEM "Aqua" ID_COLOR_AQUA
MENUITEM "Vit" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Datum och tid" CAPTION "Datum och tid"
......
...@@ -108,6 +108,30 @@ BEGIN ...@@ -108,6 +108,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Siyah" ID_COLOR_BLACK
MENUITEM "Koyu Krmz" ID_COLOR_MAROON
MENUITEM "Yeil" ID_COLOR_GREEN
MENUITEM "Koyu Sar" ID_COLOR_OLIVE
MENUITEM "Koyu Mavi" ID_COLOR_NAVY
MENUITEM "Mor" ID_COLOR_PURPLE
MENUITEM "Deniz Mavisi" ID_COLOR_TEAL
MENUITEM "Gri" ID_COLOR_GRAY
MENUITEM "Gm" ID_COLOR_SILVER
MENUITEM "Krmz" ID_COLOR_RED
MENUITEM "Parlak Yeil" ID_COLOR_LIME
MENUITEM "Sar" ID_COLOR_YELLOW
MENUITEM "Mavi" ID_COLOR_BLUE
MENUITEM "Pembe" ID_COLOR_FUCHSIA
MENUITEM "Turkuaz" ID_COLOR_AQUA
MENUITEM "Beyaz" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Date and time" CAPTION "Date and time"
......
...@@ -113,6 +113,30 @@ BEGIN ...@@ -113,6 +113,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "×îðíèé" ID_COLOR_BLACK
MENUITEM "Áðóíàòíèé" ID_COLOR_MAROON
MENUITEM "Çåëåíèé" ID_COLOR_GREEN
MENUITEM "Îëèâêîâèé" ID_COLOR_OLIVE
MENUITEM "Ñèí³é" ID_COLOR_NAVY
MENUITEM "Ïóðïóðíèé" ID_COLOR_PURPLE
MENUITEM "Çåëåíî-ñèí³é" ID_COLOR_TEAL
MENUITEM "ѳðèé" ID_COLOR_GRAY
MENUITEM "Ñð³áíèé" ID_COLOR_SILVER
MENUITEM "×åðâîíèé" ID_COLOR_RED
MENUITEM "Ñàëàòîâèé" ID_COLOR_LIME
MENUITEM "Æîâòèé" ID_COLOR_YELLOW
MENUITEM "Ãîëóáèé" ID_COLOR_BLUE
MENUITEM "Ô³îëåòîâèé" ID_COLOR_FUCHSIA
MENUITEM "Àêâàìàðèí" ID_COLOR_AQUA
MENUITEM "Á³ëèé" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Дата та час" CAPTION "Дата та час"
......
...@@ -111,6 +111,30 @@ BEGIN ...@@ -111,6 +111,30 @@ BEGIN
END END
END END
IDM_COLOR_POPUP MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "Black", ID_COLOR_BLACK
MENUITEM "Maroon", ID_COLOR_MAROON
MENUITEM "Green", ID_COLOR_GREEN
MENUITEM "Olive" ID_COLOR_OLIVE
MENUITEM "Navy" ID_COLOR_NAVY
MENUITEM "Purple" ID_COLOR_PURPLE
MENUITEM "Teal" ID_COLOR_TEAL
MENUITEM "Gray" ID_COLOR_GRAY
MENUITEM "Silver" ID_COLOR_SILVER
MENUITEM "Red" ID_COLOR_RED
MENUITEM "Lime" ID_COLOR_LIME
MENUITEM "Yellow" ID_COLOR_YELLOW
MENUITEM "Blue" ID_COLOR_BLUE
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
MENUITEM "Aqua" ID_COLOR_AQUA
MENUITEM "White" ID_COLOR_WHITE
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
END
END
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80 IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "日期和时间" CAPTION "日期和时间"
......
programs/wordpad/formatbar.bmp

1014 Bytes | W: | H:

programs/wordpad/formatbar.bmp

1.12 KB | W: | H:

programs/wordpad/formatbar.bmp
programs/wordpad/formatbar.bmp
programs/wordpad/formatbar.bmp
programs/wordpad/formatbar.bmp
  • 2-up
  • Swipe
  • Onion skin
...@@ -63,6 +63,7 @@ static HWND hMainWnd; ...@@ -63,6 +63,7 @@ static HWND hMainWnd;
static HWND hEditorWnd; static HWND hEditorWnd;
static HWND hFindWnd; static HWND hFindWnd;
static HMENU hPopupMenu; static HMENU hPopupMenu;
static HMENU hColorPopupMenu;
static UINT ID_FINDMSGSTRING; static UINT ID_FINDMSGSTRING;
...@@ -1836,17 +1837,18 @@ static LRESULT OnCreate( HWND hWnd ) ...@@ -1836,17 +1837,18 @@ static LRESULT OnCreate( HWND hWnd )
hFormatBarWnd = CreateToolbarEx(hReBarWnd, hFormatBarWnd = CreateToolbarEx(hReBarWnd,
CCS_NOPARENTALIGN | CCS_NOMOVEY | WS_VISIBLE | TBSTYLE_TOOLTIPS | TBSTYLE_BUTTON, CCS_NOPARENTALIGN | CCS_NOMOVEY | WS_VISIBLE | TBSTYLE_TOOLTIPS | TBSTYLE_BUTTON,
IDC_FORMATBAR, 7, hInstance, IDB_FORMATBAR, NULL, 0, 16, 16, 16, 16, sizeof(TBBUTTON)); IDC_FORMATBAR, 8, hInstance, IDB_FORMATBAR, NULL, 0, 16, 16, 16, 16, sizeof(TBBUTTON));
AddButton(hFormatBarWnd, 0, ID_FORMAT_BOLD); AddButton(hFormatBarWnd, 0, ID_FORMAT_BOLD);
AddButton(hFormatBarWnd, 1, ID_FORMAT_ITALIC); AddButton(hFormatBarWnd, 1, ID_FORMAT_ITALIC);
AddButton(hFormatBarWnd, 2, ID_FORMAT_UNDERLINE); AddButton(hFormatBarWnd, 2, ID_FORMAT_UNDERLINE);
AddButton(hFormatBarWnd, 3, ID_FORMAT_COLOR);
AddSeparator(hFormatBarWnd); AddSeparator(hFormatBarWnd);
AddButton(hFormatBarWnd, 3, ID_ALIGN_LEFT); AddButton(hFormatBarWnd, 4, ID_ALIGN_LEFT);
AddButton(hFormatBarWnd, 4, ID_ALIGN_CENTER); AddButton(hFormatBarWnd, 5, ID_ALIGN_CENTER);
AddButton(hFormatBarWnd, 5, ID_ALIGN_RIGHT); AddButton(hFormatBarWnd, 6, ID_ALIGN_RIGHT);
AddSeparator(hFormatBarWnd); AddSeparator(hFormatBarWnd);
AddButton(hFormatBarWnd, 6, ID_BULLET); AddButton(hFormatBarWnd, 7, ID_BULLET);
SendMessageW(hFormatBarWnd, TB_AUTOSIZE, 0, 0); SendMessageW(hFormatBarWnd, TB_AUTOSIZE, 0, 0);
...@@ -2001,6 +2003,15 @@ static LRESULT OnNotify( HWND hWnd, LPARAM lParam) ...@@ -2001,6 +2003,15 @@ static LRESULT OnNotify( HWND hWnd, LPARAM lParam)
return 0; return 0;
} }
/* Copied from dlls/comdlg32/fontdlg.c */
static const COLORREF textcolors[]=
{
0x00000000L,0x00000080L,0x00008000L,0x00008080L,
0x00800000L,0x00800080L,0x00808000L,0x00808080L,
0x00c0c0c0L,0x000000ffL,0x0000ff00L,0x0000ffffL,
0x00ff0000L,0x00ff00ffL,0x00ffff00L,0x00FFFFFFL
};
static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam) static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
{ {
HWND hwndEditor = GetDlgItem(hWnd, IDC_EDITOR); HWND hwndEditor = GetDlgItem(hWnd, IDC_EDITOR);
...@@ -2152,6 +2163,46 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam) ...@@ -2152,6 +2163,46 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
break; break;
} }
case ID_FORMAT_COLOR:
{
HWND hReBarWnd = GetDlgItem(hWnd, IDC_REBAR);
HWND hFormatBarWnd = GetDlgItem(hReBarWnd, IDC_FORMATBAR);
HMENU hPop;
RECT itemrc;
POINT pt;
int mid;
int itemidx = SendMessage(hFormatBarWnd, TB_COMMANDTOINDEX, ID_FORMAT_COLOR, 0);
SendMessage(hFormatBarWnd, TB_GETITEMRECT, itemidx, (LPARAM)&itemrc);
pt.x = itemrc.left;
pt.y = itemrc.bottom;
ClientToScreen(hFormatBarWnd, &pt);
hPop = GetSubMenu(hColorPopupMenu, 0);
mid = TrackPopupMenu(hPop, TPM_LEFTALIGN | TPM_TOPALIGN | TPM_LEFTBUTTON |
TPM_RETURNCMD | TPM_NONOTIFY,
pt.x, pt.y, 0, hWnd, 0);
if (mid >= ID_COLOR_FIRST && mid <= ID_COLOR_AUTOMATIC)
{
CHARFORMAT2W fmt;
ZeroMemory(&fmt, sizeof(fmt));
fmt.cbSize = sizeof(fmt);
SendMessageW(hwndEditor, EM_GETCHARFORMAT, SCF_SELECTION, (LPARAM)&fmt);
fmt.dwMask = CFM_COLOR;
if (mid < ID_COLOR_AUTOMATIC) {
fmt.crTextColor = textcolors[mid - ID_COLOR_FIRST];
fmt.dwEffects &= ~CFE_AUTOCOLOR;
} else {
fmt.dwEffects |= CFE_AUTOCOLOR;
}
SendMessageW(hwndEditor, EM_SETCHARFORMAT, SCF_SELECTION, (LPARAM)&fmt);
}
break;
}
case ID_EDIT_CUT: case ID_EDIT_CUT:
PostMessageW(hwndEditor, WM_CUT, 0, 0); PostMessageW(hwndEditor, WM_CUT, 0, 0);
break; break;
...@@ -2618,6 +2669,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar ...@@ -2618,6 +2669,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
set_bar_states(); set_bar_states();
set_fileformat(SF_RTF); set_fileformat(SF_RTF);
hPopupMenu = LoadMenuW(hInstance, MAKEINTRESOURCEW(IDM_POPUP)); hPopupMenu = LoadMenuW(hInstance, MAKEINTRESOURCEW(IDM_POPUP));
hColorPopupMenu = LoadMenuW(hInstance, MAKEINTRESOURCEW(IDM_COLOR_POPUP));
get_default_printer_opts(); get_default_printer_opts();
target_device(hMainWnd, wordWrap[reg_formatindex(fileFormat)]); target_device(hMainWnd, wordWrap[reg_formatindex(fileFormat)]);
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
#define ID_FORMAT_BOLD 1400 #define ID_FORMAT_BOLD 1400
#define ID_FORMAT_ITALIC 1401 #define ID_FORMAT_ITALIC 1401
#define ID_FORMAT_UNDERLINE 1402 #define ID_FORMAT_UNDERLINE 1402
#define ID_FORMAT_COLOR 1403
#define ID_TOGGLE_TOOLBAR 1500 #define ID_TOGGLE_TOOLBAR 1500
#define ID_TOGGLE_FORMATBAR 1501 #define ID_TOGGLE_FORMATBAR 1501
...@@ -133,6 +134,25 @@ ...@@ -133,6 +134,25 @@
#define ID_ABOUT 1603 #define ID_ABOUT 1603
#define ID_VIEWPROPERTIES 1604 #define ID_VIEWPROPERTIES 1604
#define ID_COLOR_FIRST 1800
#define ID_COLOR_BLACK 1800
#define ID_COLOR_MAROON 1801
#define ID_COLOR_GREEN 1802
#define ID_COLOR_OLIVE 1803
#define ID_COLOR_NAVY 1804
#define ID_COLOR_PURPLE 1805
#define ID_COLOR_TEAL 1806
#define ID_COLOR_GRAY 1807
#define ID_COLOR_SILVER 1808
#define ID_COLOR_RED 1809
#define ID_COLOR_LIME 1810
#define ID_COLOR_YELLOW 1811
#define ID_COLOR_BLUE 1812
#define ID_COLOR_FUCHSIA 1813
#define ID_COLOR_AQUA 1814
#define ID_COLOR_WHITE 1815
#define ID_COLOR_AUTOMATIC 1816
#define IDC_STATUSBAR 2000 #define IDC_STATUSBAR 2000
#define IDC_EDITOR 2001 #define IDC_EDITOR 2001
#define IDC_TOOLBAR 2002 #define IDC_TOOLBAR 2002
...@@ -159,6 +179,7 @@ ...@@ -159,6 +179,7 @@
#define IDM_MAINMENU 2200 #define IDM_MAINMENU 2200
#define IDM_POPUP 2201 #define IDM_POPUP 2201
#define IDM_COLOR_POPUP 2202
#define IDB_TOOLBAR 100 #define IDB_TOOLBAR 100
#define IDB_FORMATBAR 101 #define IDB_FORMATBAR 101
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment