I should have commit when I knew what changes I made.

This commit is contained in:
2019-08-21 20:12:59 -04:00
parent 05ffe20bb4
commit 1e1a33f3f9
23 changed files with 820 additions and 175 deletions
@@ -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();
}