From 7e48ed517242cd33616a5fc7878fd7cd6463efde Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 5 Apr 2013 22:14:45 +0200 Subject: [PATCH] [DEV] update SEEK in bmp images --- external/etk | 2 +- sources/ewol/DisplayConv.cpp | 2 +- sources/ewol/renderer/resources/image/ImageBMP.cpp | 2 +- sources/ewol/widget/newSystem.txt | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/external/etk b/external/etk index 070a4a3f..516f0df1 160000 --- a/external/etk +++ b/external/etk @@ -1 +1 @@ -Subproject commit 070a4a3f99028b76dd6cc11fc9efcc37ba374221 +Subproject commit 516f0df12fa172d39a7de30e2c4eb9ec5275634c diff --git a/sources/ewol/DisplayConv.cpp b/sources/ewol/DisplayConv.cpp index 482a138c..fc2552dd 100644 --- a/sources/ewol/DisplayConv.cpp +++ b/sources/ewol/DisplayConv.cpp @@ -70,7 +70,7 @@ void ewol::SetPixelPerMillimeter(const vec2& ratio) void ewol::SetPixelWindowsSize(const vec2& 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) diff --git a/sources/ewol/renderer/resources/image/ImageBMP.cpp b/sources/ewol/renderer/resources/image/ImageBMP.cpp index 03c36858..0856f925 100644 --- a/sources/ewol/renderer/resources/image/ImageBMP.cpp +++ b/sources/ewol/renderer/resources/image/ImageBMP.cpp @@ -81,7 +81,7 @@ bool ewol::imageBMP::GenerateImage(etk::UString & inputFile, draw::Image & ouput fileName.FileClose(); 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 << "\""); fileName.FileClose(); return false; diff --git a/sources/ewol/widget/newSystem.txt b/sources/ewol/widget/newSystem.txt index 947e7f68..afe33e6c 100644 --- a/sources/ewol/widget/newSystem.txt +++ b/sources/ewol/widget/newSystem.txt @@ -36,6 +36,7 @@ ewol::EObject widget::Layer widget::WSlider widget::FreePosition [*TODO*] set the widget at the desird position + widget::WSlider widget::ColorBar.cpp