------------------------------------------------------------ HPP - virtual void draw3DTabBody(irr::gui::IGUIElement *element, bool border, bool background, const irr::core::rect &rect, const irr::core::rect *clip=0, s32 tabHeight=-1, EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT); virtual void draw3DTabButton(irr::gui::IGUIElement* element, bool active, const irr::core::rect& rect, const irr::core::rect* clip=0, EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT); ------------------------------------------------------------- CPP - void CGUITexturedSkin::draw3DTabBody(IGUIElement *element, bool border, bool background, const core::rect &rect, const core::rect *clip,s32 tabHeight, EGUI_ALIGNMENT alignment) { core::rect tabBody = skinTexCoords[ESTC_TAB_BODY]; core::rect 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 &rect, const core::rect *clip, EGUI_ALIGNMENT alignmentT) { s32 buttonType = active ? ESTC_TAB_BUTTON_ACTIVE : ESTC_TAB_BUTTON_INACTIVE; core::rect tabButton = skinTexCoords[buttonType]; pVideo->draw2DImage(pSkinTexture,rect,tabButton,0,0,true); }