reactos/base/applications/mspaint
Stanislav Motylkov 955048e50a [MSPAINT] Fix crash on zoom out
- Check the denominator for zero for both zoomed width and height.
- Do not allow to move zoom slider above possible position.
- Move commonly used `zoomTo` function into new header file.

CORE-14539
2018-04-23 20:11:43 +02:00
..
help
icons [mspaint] Replace the current 16 pixel program icon with one from the Tango icon theme. 2017-11-07 22:53:36 +01:00
lang [TRANSLATION] Update Simplified Chinese Translations (#417) 2018-03-21 22:27:04 +01:00
CMakeLists.txt
common.h [MSPAINT] Fix crash on zoom out 2018-04-23 20:11:43 +02:00
definitions.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
dialogs.cpp
dialogs.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
dib.cpp
dib.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
drawing.cpp
drawing.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
fullscreen.cpp
fullscreen.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
globalvar.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
history.cpp
history.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
imgarea.cpp [MSPAINT] Fix crash on zoom out 2018-04-23 20:11:43 +02:00
imgarea.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
main.cpp
miniature.cpp
miniature.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
mouse.cpp
mouse.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
mspaint.exe.amd64.manifest
mspaint.exe.manifest
palette.cpp
palette.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
palettemodel.cpp
palettemodel.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
precomp.h [MSPAINT] Fix crash on zoom out 2018-04-23 20:11:43 +02:00
registry.cpp
registry.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
rsrc.rc [TRANSLATION] Estonian translation for Notepad & Paint 2018-01-26 22:43:25 +02:00
scrollbox.cpp
scrollbox.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
selection.cpp
selection.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
selectionmodel.cpp
selectionmodel.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
sizebox.cpp
sizebox.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
textedit.cpp
textedit.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
toolbox.cpp [REACTOS] Fix a number of Get/SetWindowsLong*Ptr* issues and use GWLP_* instead of GWL_* where appropriate. 2018-02-19 22:36:36 +01:00
toolbox.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
toolsettings.cpp [MSPAINT] Fix crash on zoom out 2018-04-23 20:11:43 +02:00
toolsettings.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
toolsmodel.cpp
toolsmodel.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
winproc.cpp [MSPAINT] Fix crash on zoom out 2018-04-23 20:11:43 +02:00
winproc.h [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00