2nd part
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1460 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
cfedeee112
commit
337448d3cb
5 changed files with 11 additions and 11 deletions
|
@ -165,7 +165,7 @@ public:
|
|||
_view.setHandled(false);
|
||||
}
|
||||
|
||||
sfRenderImage_SetView(m_ptr, view.getNativePointer);
|
||||
sfRenderImage_SetView(m_ptr, view.nativePointer);
|
||||
|
||||
_view = view;
|
||||
_view.setHandled(true);
|
||||
|
@ -206,7 +206,7 @@ public:
|
|||
|
||||
IntRect getViewport(View view = null) // TODO: is there a need to accept other Views than the currently assigned one?
|
||||
{
|
||||
return sfRenderImage_GetViewport(m_ptr, view is null ? _view.getNativePointer : view.getNativePointer);
|
||||
return sfRenderImage_GetViewport(m_ptr, view is null ? _view.nativePointer : view.nativePointer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -223,7 +223,7 @@ public:
|
|||
Vector2f convertCoords(uint imageX, uint imageY, View targetView = null)
|
||||
{
|
||||
Vector2f vec;
|
||||
sfRenderImage_ConvertCoords(m_ptr, imageX, imageY, &vec.x, &vec.y, targetView is null ? null : targetView.getNativePointer);
|
||||
sfRenderImage_ConvertCoords(m_ptr, imageX, imageY, &vec.x, &vec.y, targetView is null ? null : targetView.nativePointer);
|
||||
return vec;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue