2012-06-17 13:24:23 -07:00
|
|
|
#ifndef _TERMIO_H__
|
|
|
|
#define _TERMIO_H__ 1
|
|
|
|
|
|
|
|
#include "config.h"
|
2014-05-01 15:08:58 -07:00
|
|
|
#include "main.h"
|
2013-01-20 08:48:18 -08:00
|
|
|
#include "col.h"
|
2014-03-30 09:22:22 -07:00
|
|
|
#include "termpty.h"
|
2014-10-26 13:00:14 -07:00
|
|
|
#include "win.h"
|
2019-02-02 06:36:58 -08:00
|
|
|
#include "termiointernals.h"
|
2012-06-17 13:24:23 -07:00
|
|
|
|
2017-08-28 12:36:48 -07:00
|
|
|
Evas_Object *termio_add(Evas_Object *parent, Config *config, const char *cmd,
|
|
|
|
Eina_Bool login_shell, const char *cd, int w, int h,
|
|
|
|
Term *term, const char *title);
|
2012-06-12 03:10:01 -07:00
|
|
|
void termio_win_set(Evas_Object *obj, Evas_Object *win);
|
2012-10-02 13:24:13 -07:00
|
|
|
void termio_theme_set(Evas_Object *obj, Evas_Object *theme);
|
2013-11-01 11:43:30 -07:00
|
|
|
Eina_Bool termio_selection_exists(const Evas_Object *obj);
|
2019-02-02 06:36:58 -08:00
|
|
|
void termio_take_selection_text(Termio *sd, Elm_Sel_Type type, const char *text);
|
2016-05-31 12:33:00 -07:00
|
|
|
void termio_scroll_top_backlog(Evas_Object *obj);
|
2014-08-22 12:54:04 -07:00
|
|
|
void termio_scroll_delta(Evas_Object *obj, int delta, int by_page);
|
2014-03-18 14:53:02 -07:00
|
|
|
void termio_scroll_set(Evas_Object *obj, int scroll);
|
2013-11-11 09:08:02 -08:00
|
|
|
void termio_content_change(Evas_Object *obj, Evas_Coord x, Evas_Coord y, int n);
|
2013-11-01 11:43:30 -07:00
|
|
|
|
2019-02-02 06:36:58 -08:00
|
|
|
void
|
|
|
|
termio_handle_right_click(Evas_Event_Mouse_Down *ev, Termio *sd,
|
|
|
|
int cx, int cy);
|
2012-06-12 06:08:09 -07:00
|
|
|
void termio_config_update(Evas_Object *obj);
|
2017-07-14 13:10:54 -07:00
|
|
|
void termio_font_update(Evas_Object *obj);
|
2012-06-17 13:24:23 -07:00
|
|
|
Config *termio_config_get(const Evas_Object *obj);
|
2016-01-27 12:08:45 -08:00
|
|
|
Eina_Bool termio_take_selection(Evas_Object *obj, Elm_Sel_Type);
|
2014-08-22 12:54:04 -07:00
|
|
|
void termio_paste_selection(Evas_Object *obj, Elm_Sel_Type);
|
2019-01-21 13:11:22 -08:00
|
|
|
const char *termio_link_get(const Evas_Object *obj,
|
|
|
|
Eina_Bool *from_escape_code);
|
2012-07-04 07:44:43 -07:00
|
|
|
void termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir);
|
2013-06-09 02:50:30 -07:00
|
|
|
void termio_event_feed_mouse_in(Evas_Object *obj);
|
2017-07-06 11:55:02 -07:00
|
|
|
void termio_size_get(const Evas_Object *obj, int *w, int *h);
|
|
|
|
int termio_scroll_get(const Evas_Object *obj);
|
2012-08-14 05:30:55 -07:00
|
|
|
void termio_font_size_set(Evas_Object *obj, int size);
|
2012-08-22 03:34:28 -07:00
|
|
|
void termio_grid_size_set(Evas_Object *obj, int w, int h);
|
2012-10-09 10:09:26 -07:00
|
|
|
pid_t termio_pid_get(const Evas_Object *obj);
|
2012-10-09 10:32:29 -07:00
|
|
|
Eina_Bool termio_cwd_get(const Evas_Object *obj, char *buf, size_t size);
|
2017-07-06 11:55:02 -07:00
|
|
|
Evas_Object *termio_textgrid_get(const Evas_Object *obj);
|
|
|
|
Evas_Object *termio_win_get(const Evas_Object *obj);
|
|
|
|
const char *termio_title_get(const Evas_Object *obj);
|
2018-04-22 08:27:14 -07:00
|
|
|
const char *termio_user_title_get(const Evas_Object *obj);
|
|
|
|
void termio_user_title_set(Evas_Object *obj, const char *title);
|
2017-07-06 11:55:02 -07:00
|
|
|
const char *termio_icon_name_get(const Evas_Object *obj);
|
2014-07-28 19:00:51 -07:00
|
|
|
void termio_media_mute_set(Evas_Object *obj, Eina_Bool mute);
|
2014-08-21 11:32:58 -07:00
|
|
|
void termio_media_visualize_set(Evas_Object *obj, Eina_Bool visualize);
|
2013-09-07 08:53:06 -07:00
|
|
|
void termio_config_set(Evas_Object *obj, Config *config);
|
2018-03-15 11:20:09 -07:00
|
|
|
void termio_set_cursor_shape(Evas_Object *obj, Cursor_Shape shape);
|
2013-06-16 13:32:50 -07:00
|
|
|
Config *termio_config_get(const Evas_Object *obj);
|
2017-12-17 06:36:51 -08:00
|
|
|
Eina_Bool termio_file_send_ok(const Evas_Object *obj, const char *file);
|
|
|
|
void termio_file_send_cancel(const Evas_Object *obj);
|
|
|
|
double termio_file_send_progress_get(const Evas_Object *obj);
|
2012-07-13 02:12:01 -07:00
|
|
|
|
2018-02-04 15:07:47 -08:00
|
|
|
void
|
|
|
|
termio_imf_cursor_set(Evas_Object *obj, Ecore_IMF_Context *imf);
|
|
|
|
|
2017-07-06 11:55:02 -07:00
|
|
|
Termpty *termio_pty_get(const Evas_Object *obj);
|
|
|
|
Evas_Object * termio_miniview_get(const Evas_Object *obj);
|
|
|
|
Term* termio_term_get(const Evas_Object *obj);
|
2014-03-30 09:22:22 -07:00
|
|
|
|
2018-02-12 13:03:02 -08:00
|
|
|
void termio_key_down(Evas_Object *termio, const Evas_Event_Key_Down *ev,
|
|
|
|
Eina_Bool action_handled);
|
2017-11-13 14:48:05 -08:00
|
|
|
void termio_focus_in(Evas_Object *termio);
|
|
|
|
void termio_focus_out(Evas_Object *termio);
|
2019-02-02 06:36:58 -08:00
|
|
|
void termio_smart_update_queue(Termio *sd);
|
|
|
|
void termio_object_geometry_get(Termio *sd,
|
|
|
|
Evas_Coord *x, Evas_Coord *y,
|
|
|
|
Evas_Coord *w, Evas_Coord *h);
|
|
|
|
void
|
|
|
|
termio_sel_set(Termio *sd, Eina_Bool enable);
|
|
|
|
void
|
|
|
|
termio_smart_cb_mouse_move_job(void *data);
|
2012-06-17 13:24:23 -07:00
|
|
|
#endif
|