[STYLE] remove (void) in () to be c++ coherent
This commit is contained in:
parent
889807e0b9
commit
bb58a8c06e
@ -23,10 +23,10 @@ namespace egami {
|
|||||||
// constructor :
|
// constructor :
|
||||||
Image(const ivec2& _size=ivec2(32,32));
|
Image(const ivec2& _size=ivec2(32,32));
|
||||||
// destructor
|
// destructor
|
||||||
~Image(void) { };
|
~Image() { };
|
||||||
// EWOL internal API for Texture system :
|
// EWOL internal API for Texture system :
|
||||||
public:
|
public:
|
||||||
void* getTextureDataPointer(void) {
|
void* getTextureDataPointer() {
|
||||||
return &m_data[0];
|
return &m_data[0];
|
||||||
};
|
};
|
||||||
// -----------------------------------------------
|
// -----------------------------------------------
|
||||||
@ -36,13 +36,13 @@ namespace egami {
|
|||||||
void resize(const ivec2& _size, const ivec2& _startPos=ivec2(0,0));
|
void resize(const ivec2& _size, const ivec2& _startPos=ivec2(0,0));
|
||||||
void resize(const ivec2& _size, const etk::Color<>& _color);
|
void resize(const ivec2& _size, const etk::Color<>& _color);
|
||||||
|
|
||||||
const ivec2& getSize(void) const {
|
const ivec2& getSize() const {
|
||||||
return m_size;
|
return m_size;
|
||||||
};
|
};
|
||||||
int32_t getWidth(void) const {
|
int32_t getWidth() const {
|
||||||
return m_size.x();
|
return m_size.x();
|
||||||
};
|
};
|
||||||
int32_t getHeight(void) const {
|
int32_t getHeight() const {
|
||||||
return m_size.y();
|
return m_size.y();
|
||||||
};
|
};
|
||||||
void clear(etk::Color<> _fill);
|
void clear(etk::Color<> _fill);
|
||||||
|
@ -23,10 +23,10 @@ namespace egami {
|
|||||||
// constructor :
|
// constructor :
|
||||||
ImageMono(const ivec2& _size=ivec2(32,32));
|
ImageMono(const ivec2& _size=ivec2(32,32));
|
||||||
// destructor
|
// destructor
|
||||||
~ImageMono(void) { };
|
~ImageMono() { };
|
||||||
// EWOL internal API for Texture system :
|
// EWOL internal API for Texture system :
|
||||||
public:
|
public:
|
||||||
void* getTextureDataPointer(void) {
|
void* getTextureDataPointer() {
|
||||||
return &m_data[0];
|
return &m_data[0];
|
||||||
};
|
};
|
||||||
// -----------------------------------------------
|
// -----------------------------------------------
|
||||||
@ -36,13 +36,13 @@ namespace egami {
|
|||||||
void resize(const ivec2& _size, const ivec2& _startPos=ivec2(0,0));
|
void resize(const ivec2& _size, const ivec2& _startPos=ivec2(0,0));
|
||||||
void resize(const ivec2& _size, const uint8_t& _color);
|
void resize(const ivec2& _size, const uint8_t& _color);
|
||||||
|
|
||||||
const ivec2& getSize(void) const {
|
const ivec2& getSize() const {
|
||||||
return m_size;
|
return m_size;
|
||||||
};
|
};
|
||||||
int32_t getWidth(void) const {
|
int32_t getWidth() const {
|
||||||
return m_size.x();
|
return m_size.x();
|
||||||
};
|
};
|
||||||
int32_t getHeight(void) const {
|
int32_t getHeight() const {
|
||||||
return m_size.y();
|
return m_size.y();
|
||||||
};
|
};
|
||||||
void clear(uint8_t _fill);
|
void clear(uint8_t _fill);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include <egami/debug.h>
|
#include <egami/debug.h>
|
||||||
|
|
||||||
int32_t egami::getLogId(void) {
|
int32_t egami::getLogId() {
|
||||||
static int32_t g_val = etk::log::registerInstance("egami");
|
static int32_t g_val = etk::log::registerInstance("egami");
|
||||||
return g_val;
|
return g_val;
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
namespace egami {
|
namespace egami {
|
||||||
int32_t getLogId(void);
|
int32_t getLogId();
|
||||||
};
|
};
|
||||||
// TODO : Review this problem of multiple intanciation of "std::stringbuf sb"
|
// TODO : Review this problem of multiple intanciation of "std::stringbuf sb"
|
||||||
#define EGAMI_BASE(info,data) \
|
#define EGAMI_BASE(info,data) \
|
||||||
|
@ -274,7 +274,7 @@ bool egami::storeBMP(const std::string& _fileName, const egami::Image& _inputIma
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
void ewol::texture::TextureBMP::display(void)
|
void ewol::texture::TextureBMP::display()
|
||||||
{
|
{
|
||||||
if (NULL == m_data) {
|
if (NULL == m_data) {
|
||||||
EWOL_ERROR("Might loading error of this Bitmap ...");
|
EWOL_ERROR("Might loading error of this Bitmap ...");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user