mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00

- 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
14 lines
343 B
C
14 lines
343 B
C
/*
|
|
* PROJECT: PAINT for ReactOS
|
|
* LICENSE: LGPL
|
|
* FILE: base/applications/mspaint/common.h
|
|
* PURPOSE: Commonly used functions
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
* Stanislav Motylkov
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* FUNCTIONS ********************************************************/
|
|
|
|
extern BOOL zoomTo(int, int, int);
|