[DEV] update SEEK in bmp images

This commit is contained in:
Edouard DUPIN 2013-04-05 22:14:45 +02:00
parent ac36b0b6a5
commit 7e48ed5172
4 changed files with 4 additions and 3 deletions

2
external/etk vendored

@ -1 +1 @@
Subproject commit 070a4a3f99028b76dd6cc11fc9efcc37ba374221 Subproject commit 516f0df12fa172d39a7de30e2c4eb9ec5275634c

View File

@ -70,7 +70,7 @@ void ewol::SetPixelPerMillimeter(const vec2& ratio)
void ewol::SetPixelWindowsSize(const vec2& size) void ewol::SetPixelWindowsSize(const vec2& size)
{ {
windowsSize = size; windowsSize = size;
EWOL_CRITICAL("Set a new Windows property size " << windowsSize << "px"); EWOL_VERBOSE("Set a new Windows property size " << windowsSize << "px");
} }
vec2 ewol::GetWindowsSizeMilimeter(void) vec2 ewol::GetWindowsSizeMilimeter(void)

View File

@ -81,7 +81,7 @@ bool ewol::imageBMP::GenerateImage(etk::UString & inputFile, draw::Image & ouput
fileName.FileClose(); fileName.FileClose();
return false; return false;
} }
if(false == fileName.FileSeek(m_FileHeader.bfOffBits, SEEK_SET)) { if(false == fileName.FileSeek(m_FileHeader.bfOffBits, etk::FSN_SEEK_START)) {
EWOL_ERROR("error with the 'bfOffBits' in the file named=\"" << fileName << "\""); EWOL_ERROR("error with the 'bfOffBits' in the file named=\"" << fileName << "\"");
fileName.FileClose(); fileName.FileClose();
return false; return false;

View File

@ -36,6 +36,7 @@ ewol::EObject
widget::Layer widget::Layer
widget::WSlider widget::WSlider
widget::FreePosition [*TODO*] set the widget at the desird position widget::FreePosition [*TODO*] set the widget at the desird position
widget::WSlider
widget::ColorBar.cpp widget::ColorBar.cpp