mirror of
https://github.com/reactos/reactos.git
synced 2024-11-29 06:23:41 +08:00
955048e50a
- 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
15 lines
343 B
C
15 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);
|