I should have commit when I knew what changes I made.
This commit is contained in:
@@ -12,12 +12,10 @@ using MathEngine::iVector4;
|
||||
|
||||
/*static*/ const cString cButton::sNAME = "button";
|
||||
|
||||
cButton::cButton()
|
||||
{}
|
||||
|
||||
cButton::cButton( cWindow* parent, const signed int id, const GUIHelpers::eAlign align /*= sALIGN*/, const GUIHelpers::eLayout layout /*= sLAYOUT*/,
|
||||
const GUIHelpers::Position& pos /*= sPOSITION*/, const GUIHelpers::Size& size /*= sSIZE*/, const GUIHelpers::Padding& padding/* = sPADDING*/,
|
||||
const cString& name /*= sNAME*/, VideoEngine::cImage** image /*= nullptr*/ )
|
||||
: GUIEventEngine::cButtonEvent(id)
|
||||
{
|
||||
Create(parent, id, align, layout, pos, size, padding, name, image);
|
||||
// mp_texture = nullptr;
|
||||
@@ -57,7 +55,7 @@ void cButton::Display()
|
||||
|
||||
m_sprite.setPosition(cWindow::getPosition());
|
||||
m_sprite.Draw();
|
||||
m_sprite.SaveImage("test.bmp", "xml/");
|
||||
//m_sprite.SaveImage("test.bmp", "xml/");
|
||||
cWindow::Display();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user