egami/tools/viewer/appl/MainWindows.hpp
Edouard DUPIN 130aeac190 [DEV] many correction on read write file
- BMP read write correction RGB order
  - JPG and PNG correct sens on the image
  - image private, correct the internal data
2016-12-20 22:00:03 +01:00

34 lines
865 B
C++

/** @file
* @author Edouard DUPIN
* @copyright 2010, Edouard DUPIN, all right reserved
* @license BSD v3 (see license file)
*/
#pragma once
#include <appl/debug.hpp>
#include <ewol/widget/Widget.hpp>
#include <ewol/widget/Windows.hpp>
#include <ewol/widget/Image.hpp>
namespace appl {
class MainWindows : public ewol::widget::Windows {
private:
ewol::widget::ImageShared m_image;
std::vector<std::string> m_listImages;
int64_t m_idDisplayed;
public:
// Constructeur
MainWindows();
void init() override;
public:
DECLARE_FACTORY(MainWindows);
~MainWindows() {};
void setListOfFiles(std::vector<std::string> _listImages);
protected:
void onCallbackShortCut(const std::string& _value);
bool onEventInput(const ewol::event::Input& _event) override;
bool onEventEntry(const ewol::event::Entry& _event) override;
};
};