Missing const fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@765 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
9f78646192
commit
1406fa59b8
|
@ -479,7 +479,7 @@ namespace gui
|
||||||
\param pos: Position of the rectangle.
|
\param pos: Position of the rectangle.
|
||||||
\param clip: Pointer to rectangle against which the rectangle will be clipped.
|
\param clip: Pointer to rectangle against which the rectangle will be clipped.
|
||||||
If the pointer is null, no clipping will be performed. */
|
If the pointer is null, no clipping will be performed. */
|
||||||
virtual void draw2DRectangle(IGUIElement* element, video::SColor &color,
|
virtual void draw2DRectangle(IGUIElement* element, const video::SColor &color,
|
||||||
const core::rect<s32>& pos, const core::rect<s32>* clip = 0) = 0;
|
const core::rect<s32>& pos, const core::rect<s32>* clip = 0) = 0;
|
||||||
|
|
||||||
//! get the type of this skin
|
//! get the type of this skin
|
||||||
|
|
|
@ -771,8 +771,9 @@ EGUI_SKIN_TYPE CGUISkin::getType() const
|
||||||
}
|
}
|
||||||
|
|
||||||
//! draws a 2d rectangle.
|
//! draws a 2d rectangle.
|
||||||
void CGUISkin::draw2DRectangle(IGUIElement* element, video::SColor &color, const core::rect<s32>& pos,
|
void CGUISkin::draw2DRectangle(IGUIElement* element,
|
||||||
const core::rect<s32>* clip)
|
const video::SColor &color, const core::rect<s32>& pos,
|
||||||
|
const core::rect<s32>* clip)
|
||||||
{
|
{
|
||||||
Driver->draw2DRectangle(color, pos, clip);
|
Driver->draw2DRectangle(color, pos, clip);
|
||||||
}
|
}
|
||||||
|
|
|
@ -199,7 +199,7 @@ namespace gui
|
||||||
\param pos: Position of the rectangle.
|
\param pos: Position of the rectangle.
|
||||||
\param clip: Pointer to rectangle against which the rectangle will be clipped.
|
\param clip: Pointer to rectangle against which the rectangle will be clipped.
|
||||||
If the pointer is null, no clipping will be performed. */
|
If the pointer is null, no clipping will be performed. */
|
||||||
virtual void draw2DRectangle(IGUIElement* element, video::SColor &color,
|
virtual void draw2DRectangle(IGUIElement* element, const video::SColor &color,
|
||||||
const core::rect<s32>& pos, const core::rect<s32>* clip = 0);
|
const core::rect<s32>& pos, const core::rect<s32>* clip = 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue