All pastes #903193 Raw Edit

New parameters

public cpp v1 · immutable
·published 2008-02-14 01:39 UTC
rendered paste body
------------------------------------------------------------HPP -virtual void draw3DTabBody(irr::gui::IGUIElement *element, bool border, bool background,							   const irr::core::rect<irr::s32> &rect,							   const irr::core::rect<irr::s32> *clip=0,							   s32 tabHeight=-1, EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT);virtual void draw3DTabButton(irr::gui::IGUIElement* element, bool active,			const irr::core::rect<irr::s32>& rect,			const irr::core::rect<irr::s32>* clip=0,			EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT);-------------------------------------------------------------CPP -void CGUITexturedSkin::draw3DTabBody(IGUIElement *element, bool border, bool background, const core::rect<s32> &rect, const core::rect<s32> *clip,s32 tabHeight, EGUI_ALIGNMENT alignment){	core::rect<s32> tabBody = skinTexCoords[ESTC_TAB_BODY];	core::rect<s32> destRect = rect;	destRect.UpperLeftCorner.Y += getSize(EGDS_BUTTON_HEIGHT);	pVideo->draw2DImage(pSkinTexture,destRect,tabBody,0,0,true);}void CGUITexturedSkin::draw3DTabButton(IGUIElement *element, bool active, const core::rect<s32> &rect, const core::rect<s32> *clip, EGUI_ALIGNMENT alignmentT){	s32 buttonType = active ? ESTC_TAB_BUTTON_ACTIVE : ESTC_TAB_BUTTON_INACTIVE;	core::rect<s32> tabButton = skinTexCoords[buttonType];	pVideo->draw2DImage(pSkinTexture,rect,tabButton,0,0,true);}