mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 19:00:57 +00:00
WINTERMUTE: Rename VarName->varName in BViewport
This commit is contained in:
parent
685ee29640
commit
58f2d2575d
@ -63,8 +63,8 @@ HRESULT CBViewport::persist(CBPersistMgr *persistMgr) {
|
|||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
HRESULT CBViewport::setRect(int left, int top, int right, int bottom, bool NoCheck) {
|
HRESULT CBViewport::setRect(int left, int top, int right, int bottom, bool noCheck) {
|
||||||
if (!NoCheck) {
|
if (!noCheck) {
|
||||||
left = MAX(left, 0);
|
left = MAX(left, 0);
|
||||||
top = MAX(top, 0);
|
top = MAX(top, 0);
|
||||||
right = MIN(right, Game->_renderer->_width);
|
right = MIN(right, Game->_renderer->_width);
|
||||||
|
@ -39,7 +39,7 @@ public:
|
|||||||
int getHeight();
|
int getHeight();
|
||||||
int getWidth();
|
int getWidth();
|
||||||
RECT *getRect();
|
RECT *getRect();
|
||||||
HRESULT setRect(int left, int top, int right, int bottom, bool NoCheck = false);
|
HRESULT setRect(int left, int top, int right, int bottom, bool noCheck = false);
|
||||||
DECLARE_PERSISTENT(CBViewport, CBBase)
|
DECLARE_PERSISTENT(CBViewport, CBBase)
|
||||||
int _offsetY;
|
int _offsetY;
|
||||||
int _offsetX;
|
int _offsetX;
|
||||||
|
Loading…
Reference in New Issue
Block a user