message.hpp File Reference
#include <etk/types.hpp>
#include <ewol/debug.hpp>
#include <ewol/widget/Widget.hpp>
#include <etk/Color.hpp>
#include <ewol/resource/ColorFile.hpp>
#include <list>

Go to the source code of this file.

Enumerations

enum  type { ewol::tools::message::type::info, ewol::tools::message::type::warning, ewol::tools::message::type::error, ewol::tools::message::type::critical }
 

Functions

void ewol::tools::message::create (enum ewol::tools::message::type _type, const std::string &_message)
 
void ewol::tools::message::displayInfo (const std::string &_message)
 
void ewol::tools::message::displayWarning (const std::string &_message)
 
void ewol::tools::message::displayError (const std::string &_message)
 
void ewol::tools::message::displayCritical (const std::string &_message)
 

Detailed Description

Author
Edouard DUPIN
Note
License: APACHE v2.0 (see license file)

Function Documentation

§ create()

void ewol::tools::message::create ( enum ewol::tools::message::type  _type,
const std::string &  _message 
)

Create a simple pop-up message on the screen for application error.

Parameters
[in]_typeType of the error.
[in]_messagemessage to display (decorated text)

§ displayCritical()

void ewol::tools::message::displayCritical ( const std::string &  _message)

Create a simple critical message.

Parameters
[in]_messagemessage to display (decorated text)

§ displayError()

void ewol::tools::message::displayError ( const std::string &  _message)

Create a simple error message.

Parameters
[in]_messagemessage to display (decorated text)

§ displayInfo()

void ewol::tools::message::displayInfo ( const std::string &  _message)

Create a simple information message.

Parameters
[in]_messagemessage to display (decorated text)

§ displayWarning()

void ewol::tools::message::displayWarning ( const std::string &  _message)

Create a simple warning message.

Parameters
[in]_messagemessage to display (decorated text)