Katayama Hirofumi MZ
4331b47c50
[MSPAINT] Add const to some PaletteModel methods
...
CORE-17931
2021-12-28 09:47:13 +09:00
Katayama Hirofumi MZ
e9330371ea
[MSPAINT] Define enum TOOLTYPE and use it ( #4197 )
...
Improve code quality and debuggability. CORE-17931
2021-12-27 23:23:32 +09:00
Katayama Hirofumi MZ
90c3f89bb2
[MSPAINT] Mouse Wheel support ( #4195 )
...
Improve usability by mouse wheel handling. Plain wheel, Ctrl+Wheel, and Shift+Wheel. CORE-17937
2021-12-27 22:20:22 +09:00
Katayama Hirofumi MZ
102898191d
[MSPAINT] Add const to ToolsModel methods ( #4190 )
...
Add const keywords to some methods of ToolsModel class. CORE-17931
2021-12-27 20:08:07 +09:00
Katayama Hirofumi MZ
b5536e448a
[MSPAINT] Add const to SelectionModel methods ( #4191 )
...
Add const keywords to some methods of SelectionModel class. CORE-17931
2021-12-27 20:07:23 +09:00
Katayama Hirofumi MZ
ce54a8a5f2
[MSPAINT] Add nearlyEqualPoints and use it ( #4194 )
...
CORE-17931
2021-12-27 20:06:21 +09:00
Katayama Hirofumi MZ
30e47fdb77
[MSPAINT] Fix the size of settings if too large ( #4189 )
...
- Fix the initial values of BMPHeight and BMPWidth.
- Fix the values of BMPHeight and BMPWidth if too large.
2021-12-27 10:52:53 +09:00
Katayama Hirofumi MZ
1c163bf163
[MSPAINT] Revert PostMessage to SendMessage
...
614354ccb5
CORE-17931
2021-12-27 08:26:33 +09:00
Katayama Hirofumi MZ
614354ccb5
[MSPAINT] Define GRIP_SIZE macro and use it ( #4192 )
...
Reduce magic numbers. CORE-17931
2021-12-26 23:05:47 +09:00
Katayama Hirofumi MZ
9e1386db43
[MSPAINT] Add Zoomed and UnZoomed and use them ( #4188 )
...
- Define Zoomed and UnZoomed helper functions.
- Use them.
CORE-17931
2021-12-26 19:49:56 +09:00
Katayama Hirofumi MZ
50cb4b3cb7
[MSPAINT] Delete filename extension .png from IDS_DEFAULTFILENAME
2021-12-25 22:52:56 +09:00
Katayama Hirofumi MZ
4e6e22e638
[MSPAINT] Make PNG default instead of BMP ( #4182 )
2021-12-25 22:23:25 +09:00
Chan Chilung
463784c5f1
[TRANSLATION] Chinese Traditional (zh-TW) translation update ( #3954 )
...
Also sync LOCALMON/UI translation with Wine.
2021-10-10 15:00:44 +03:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Hermès Bélusca-Maïto
bbabe2489e
[FORMATTING][TRANSLATION] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine).
2021-09-13 03:52:21 +02:00
Süleyman Poyraz
53221834c5
[TRANSLATION] Add and improve Turkish (tr-TR) translation ( #3561 )
...
Reviewed-by: Can Taşan <ctasan99@hotmail.com>
Reviewed-by: Ercan Ersoy <ercanersoy@ercanersoy.net>
Signed-off-by: Süleyman Poyraz <zaryob.dev@gmail.com>
2021-09-12 00:34:11 +03:00
Serge Gautherie
18d15bcc8b
[REACTOS] Refactor CRegKey usage ( #3779 )
...
- [MSPAINT] ReadDWORD(): Improve 'dwValue' handling
Addendum to 3185db7
(r72158).
- [DRWTSN32] Settings_GetOutputPath(): Fix 'key' handling
Addendum to 1d10606
.
- [RAPPS] Remove 2 superfluous 'CRegKey::Close()' calls
Follow-up to 42e111f
.
2021-09-05 20:18:23 +03:00
Katayama Hirofumi MZ
bebdfda8b7
[NOTEPAD][WORDPAD][MSPAINT]... Use newer file open dialog ( #3571 )
...
Use new-style file open/save-as dialog.
- Add OFN_EXPLORER flag to OPENFILENAME structure in notepad, wordpad, mspaint, clipbrd, mmc, mplay32, mscutils, regedit, winhlp32, progman, shellbtrfs, cryptui, shell32, setupapi, vgafontedit, infinst, and vfdlib modules.
2021-04-01 22:50:32 +09:00
Chan Chilung
6a31fe6ca7
[TRANSLATION][INF] Update Chinese Traditional (zh-TW) translation ( #3468 )
...
- Add / improve Chinese Traditional Translations for INFs.
- Name changing (removed Aobi in my name)
Add Chinese Traditional translation for:
- cmdutils/at
- cmdutils/comp
- hotplug.cpl
- rosapps' sysutils/ctm
Chinese Traditional (zh-TW) translation update for:
- cmdutils/find
- cmdutils/help
- cmdutils/label
- cmdutils/whoami
- mspaint
- shutdown
- taskmgr
- diskpart
- format
- appwiz.cpl
- input.cpl
- powercfg.cpl
- shimgvw
- user32
2021-03-09 16:51:37 +01:00
Tibor Lajos Füzi
82f0061ddc
[TRANSLATION] Hungarian (hu-HU) translation update ( #3388 )
...
For mspaint, notepad, wordpad, cmd, cmdutils/help, appwiz, devmgr, newdev
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2020-12-31 01:42:34 +03:00
Jérôme Gardou
907025a018
[CMAKE] Introduce the atl_classes interface library
...
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
2020-10-20 21:44:54 +02:00
Jérôme Gardou
d6ea8659c8
[CMAKE] Get rid of the set_cpp macro
...
Instead of messing with global variables and the like, we introduce two target properties:
- WITH_CXX_EXCEPTIONS: if you want to use C++ exceptions
- WITH_CXX_RTTI: if you need RTTI in your module
You can use the newly introduced set_target_cpp_properties function, with WITH_EXCEPTIONS and WITH_RTTI arguments
We also introduce two libraries :
- cpprt: for C++ runtime routines
- cppstl: for the C++ standard template library
NB: On GCC, this requires to create imported libraries with the related built-in libraries:libsupc++, limingwex, libstdc++
Finally, we manage the relevant flags with the ad-hoc generator expressions
So, if you don't need exceptions, nor RTTI, nor use any runtime at all: you simply have nothing else to do than add your C++ file to your module
2020-10-20 21:44:54 +02:00
Katayama Hirofumi MZ
f1e2c3f70e
[MSPAINT] Improve Japanese (ja-JP) translation 3
2020-09-13 17:33:57 +09:00
Katayama Hirofumi MZ
b88717f5c4
[MSPAINT] Improve Japanese (ja-JP) translation 2
2020-09-13 17:15:05 +09:00
Katayama Hirofumi MZ
bd7ad59a48
[MSPAINT] Improve Japanese (ja-JP) translation
2020-09-13 17:01:49 +09:00
Kyle Katarn
038daa6367
[SHELL32][PAINT][DRIVERS][SHELLEXT] French translation update ( #3092 )
...
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-09-03 15:16:44 +02:00
Catalin Gabriel Draghita
0ab63f9590
[BASE] Improve Spanish (es-ES) translation ( #3088 )
2020-08-25 18:10:23 +03:00
Julen Urizar Compains
546862babc
[TRANSLATION] Update Spanish, and add Basque translation ( #2667 )
...
Add/update translation for:
charmap_new, logoff, mspaint, notepad, usetup, welcome,
hotplug.cpl, sysdm.cpl, aclui.dll, comctl32.dll, comdlg32.dll,
hhctrl.ocx, kernel32.dll, msi.dll, oledlg.dll, shell32.dll,
tapiui.dll, themeui.dll, wininet.dll, winmm.dll, wldap32.dll,
winsrv.dll.
2020-05-17 18:46:36 +02:00
Katayama Hirofumi MZ
7fe7f5e4c1
[MSPAINT] Follow-up of #2686
...
Show error message if SaveDIBToFile failed.
CORE-16982, CORE-16979
2020-04-29 08:39:47 +09:00
Katayama Hirofumi MZ
036206a1c3
[MSPAINT] Refactor loading/saving image file ( #2686 )
...
- Add DoLoadImageFile, CreateWhiteDIB, and CMainWindow::ConfirmSave functions.
- Replace LoadDIBFromFile function with DoLoadImageFile.
- Fix the empty file loading.
- Delete UpdateApplicationProperties function.
- Rewrite SaveDIBToFile function.
CORE-16982, CORE-16979
2020-04-29 07:44:18 +09:00
Katayama Hirofumi MZ
0cc32161d1
[MSPAINT] Add to recent documents ( #2651 )
...
Add to recent documents upon file save. CORE-3588
2020-04-26 09:07:14 +09:00
Joachim Henze
a050378835
[MSPAINT] fr-FR Translate some menu items CORE-12357
2020-04-13 23:28:30 +02:00
Katayama Hirofumi MZ
358f947975
[SHELL32] Rewrite SHAddToRecentDocs ( #2333 )
...
Rewrite shell32!SHAddToRecentDocs and use it in some applications.
Wine's SHAddToRecentDocs was not Unicode supported and unusable. I will dare to rewrite.
CORE-3588
2020-02-14 11:05:21 +09:00
Hermès Bélusca-Maïto
15bc263b07
[MSPAINT] Shorten the license string that is displayed in ShellAbout() dialog. CORE-12356
...
[MPLAY32][REGEDIT][TASKMGR][WORDPAD][BROWSEUI]
Use NULL for empty handles / string pointers in ShellAbout() calls.
2020-01-24 23:40:32 +01:00
Katayama Hirofumi MZ
be40a0e296
[MSPAINT] Revert LoadDIBFromFile for workaround ( #2186 )
...
CORE-16566
2019-12-28 22:30:21 +09:00
Katayama Hirofumi MZ
3fa95ab912
[MSPAINT] Fix memory leak of SelectionModel ( #2169 )
...
- Initialize all members in SelectionModel's ctor.
- Add SelectionModel's dtor.
2019-12-25 15:46:29 +09:00
Katayama Hirofumi MZ
8ef878a87f
[MSPAINT] Use '%ld x %ld' rather than '%d x %d'
2019-12-24 13:29:29 +09:00
Katayama Hirofumi MZ
d9b2edcc59
[MSPAINT] Add const to SelectionModel::SetSrcAndDestRectFromPoints parameters
2019-12-24 13:08:35 +09:00
Katayama Hirofumi MZ
cf64f121f2
[MSPAINT] Refactor updateCanvasAndScrollbars
2019-12-24 04:30:25 +09:00
Katayama Hirofumi MZ
a32212d96a
[MSPAINT] Simplify choosecolor initialization
2019-12-24 04:18:40 +09:00
Katayama Hirofumi MZ
3a8c25d7f3
[MSPAINT] Simplify lfTextFont initialization
2019-12-24 04:17:02 +09:00
Katayama Hirofumi MZ
2acc689c58
[MSPAINT] Use hProgInstance for LoadImage
2019-12-24 04:13:43 +09:00
Katayama Hirofumi MZ
9879776950
[MSPAINT] Use correct type for custColors
2019-12-24 04:11:33 +09:00
Erdem Ersoy
85917e266a
[TRANSLATIONS] Update Turkish translations ( #1650 )
...
Translations for Solitaire, Spider, WinMine, Notepad, Wordpad & Write, MSPaint, MPlay32, SndRec32, WinHlp32, SndVol32, TaskMgr and Calc.
2019-07-21 17:49:12 +02:00
Timo Kreuzer
cdca4e9036
[MSPAINT] Don't use SIZEOF on a pointer
...
Fixes GCC 8 warning:
base/applications/mspaint/definitions.h:16:31: error: division 'sizeof (LPWSTR {aka wchar_t*}) / sizeof (WCHAR {aka wchar_t})' does not compute the number of array elements [-Werror=sizeof-pointer-div]
#define SIZEOF(a) (sizeof(a) / sizeof((a)[0]))
~~~~~~~~~~^~~~~~~~~~~~~~~~
base/applications/mspaint/main.cpp:134:55: note: in expansion of macro 'SIZEOF'
lstrcpyn(pon->lpOFN->lpstrFile, Path, SIZEOF(pon->lpOFN->lpstrFile));
^~~~~~
2019-07-20 13:56:18 +02:00
Mas Ahmad Muhammad
b5002b5f1f
[MSPAINT] Add Indonesian translation. ( #1598 )
2019-06-04 15:52:04 +02:00
Serge Gautherie
cf48f8bf8a
[REACTOS] Replace remnant legacy SPIF_SENDWININICHANGE by SPIF_SENDCHANGE ( #1526 )
...
No functional change otherwise.
2019-04-28 21:19:42 +02:00
Katayama Hirofumi MZ
f2512254e0
[MSPAINT] Set default extension .bmp ( #1515 )
...
Set the default extension of mspaint to .bmp. CORE-7114
2019-04-23 14:25:18 +09:00
Mark Jansen
9824a0154e
[ATL] Retire atlnew
2019-04-18 19:21:37 +02:00
Shy Zedaka
5b94d222ac
[TRANSLATION] Update Hebrew translations ( #1408 )
2019-03-10 19:21:57 +01:00