remove log of parser SVG and change comportment of image button
This commit is contained in:
parent
e9165ce89a
commit
4e271d2dcb
@ -176,20 +176,20 @@ void ewol::ButtonImage::OnRegenerateDisplay(void)
|
||||
m_OOImage[m_currentCreateId] = new ewol::OObject2DTextured(m_image, tmpSizeX, tmpSizeY);
|
||||
}
|
||||
}
|
||||
|
||||
float tmpval = 0.0;
|
||||
if (NULL != m_OOImageBG2[m_currentCreateId]) {
|
||||
m_OOImageBG2[m_currentCreateId]->Clear();
|
||||
if( m_down == true
|
||||
|| m_over == true ) {
|
||||
m_OOImageBG2[m_currentCreateId]->Rectangle(tmpOriginX, tmpOriginY, tmpSizeX, tmpSizeY);
|
||||
}
|
||||
tmpval = tmpSizeX * 0.2;
|
||||
tmpSizeX -= tmpval;
|
||||
tmpOriginX += tmpval/2;
|
||||
tmpval = tmpSizeY * 0.2;
|
||||
tmpSizeY -= tmpval;
|
||||
tmpOriginY += tmpval/2;
|
||||
}
|
||||
float tmpval = tmpSizeX * 0.2;
|
||||
tmpSizeX -= tmpval;
|
||||
tmpOriginX += tmpval/2;
|
||||
tmpval = tmpSizeY * 0.2;
|
||||
tmpSizeY -= tmpval;
|
||||
tmpOriginY += tmpval/2;
|
||||
if (NULL != m_OOImageBg1[m_currentCreateId]) {
|
||||
m_OOImageBg1[m_currentCreateId]->Clear();
|
||||
m_OOImageBg1[m_currentCreateId]->Rectangle(tmpOriginX, tmpOriginY, tmpSizeX, tmpSizeY);
|
||||
|
@ -201,7 +201,7 @@ svg::Parser::Parser(etk::File fileName) : m_renderedElement(NULL)
|
||||
if (NULL != fileBuffer) {
|
||||
delete[] fileBuffer;
|
||||
}
|
||||
DisplayDebug();
|
||||
//DisplayDebug();
|
||||
}
|
||||
|
||||
svg::Parser::~Parser(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user