2014-04-27 08:57:47 -07:00
|
|
|
#ifndef EDI_CONSOLEPANEL_H_
|
|
|
|
# define EDI_CONSOLEPANEL_H_
|
|
|
|
|
|
|
|
#include <Elementary.h>
|
|
|
|
|
2014-03-16 09:01:35 -07:00
|
|
|
#include "Edi.h"
|
|
|
|
|
2014-04-27 08:57:47 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief These routines are used for managing the Edi console panel.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief UI management functions.
|
|
|
|
* @defgroup UI Initialisation and management of the console panel UI
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2017-06-18 13:49:53 -07:00
|
|
|
* Initialise a new Edi consolepanel and add it to the parent panel.
|
2014-04-27 08:57:47 -07:00
|
|
|
*
|
|
|
|
* @param parent The panel into which the panel will be loaded.
|
|
|
|
*
|
|
|
|
* @ingroup UI
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_consolepanel_add(Evas_Object *parent);
|
2014-04-27 08:57:47 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Show the Edi consolepanel - animating on to screen if required.
|
|
|
|
*
|
|
|
|
* @ingroup UI
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_consolepanel_show();
|
2014-04-27 08:57:47 -07:00
|
|
|
|
2016-12-26 10:33:16 -08:00
|
|
|
/**
|
2017-06-18 13:49:53 -07:00
|
|
|
* Initialise a new Edi testpanel and add it to the parent panel.
|
2016-12-26 10:33:16 -08:00
|
|
|
*
|
|
|
|
* @param parent The panel into which the panel will be loaded.
|
|
|
|
*
|
|
|
|
* @ingroup UI
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_testpanel_add(Evas_Object *parent);
|
2014-11-18 13:11:10 -08:00
|
|
|
|
2016-12-26 10:33:16 -08:00
|
|
|
/**
|
|
|
|
* Show the Edi testpanel - animating on to screen if required.
|
|
|
|
*
|
|
|
|
* @ingroup UI
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_testpanel_show();
|
2014-11-18 13:11:10 -08:00
|
|
|
|
2014-04-27 08:57:47 -07:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Console management functions.
|
|
|
|
* @defgroup Console Manipulation of console output in Edi
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Append a new line to the console.
|
|
|
|
*
|
|
|
|
* @param line The line of text to append to the console.
|
|
|
|
*
|
|
|
|
* @ingroup Console
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_consolepanel_append_line(const char *line);
|
2014-04-27 08:57:47 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Append a new error line to the console.
|
|
|
|
*
|
|
|
|
* @param line The line of text to append to the console.
|
|
|
|
*
|
|
|
|
* @ingroup Console
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_consolepanel_append_error_line(const char *line);
|
2014-04-27 08:57:47 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Clear all lines from the console.
|
|
|
|
*
|
|
|
|
* @ingroup Console
|
|
|
|
*/
|
2015-01-10 09:43:12 -08:00
|
|
|
void edi_consolepanel_clear();
|
2014-04-27 08:57:47 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* EDI_CONSOLEPANEL_H_ */
|