Changes in uspace/app/terminal/terminal.h [e273e9e:06d0c81] in mainline
- File:
-
- 1 edited
-
uspace/app/terminal/terminal.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.h
re273e9e r06d0c81 1 1 /* 2 * Copyright (c) 20 24Jiri Svoboda2 * Copyright (c) 2019 Jiri Svoboda 3 3 * Copyright (c) 2012 Petr Koupy 4 4 * All rights reserved. … … 38 38 #define TERMINAL_H 39 39 40 #include <adt/prodcons.h>41 40 #include <errno.h> 42 #include <fibril.h>43 41 #include <fibril_synch.h> 44 42 #include <gfx/bitmap.h> 45 43 #include <gfx/context.h> 46 44 #include <gfx/coord.h> 45 #include <io/chargrid.h> 47 46 #include <io/con_srv.h> 48 #include <io/cons_event.h>49 47 #include <loc.h> 48 #include <adt/prodcons.h> 50 49 #include <stdatomic.h> 51 50 #include <str.h> 52 #include <task.h>53 #include <termui.h>54 51 #include <ui/ui.h> 55 52 #include <ui/window.h> … … 82 79 size_t char_remains_len; 83 80 84 termui_t *termui; 81 sysarg_t cols; 82 sysarg_t rows; 83 chargrid_t *frontbuf; 84 chargrid_t *backbuf; 85 sysarg_t top_row; 85 86 86 termui_color_t default_bgcolor;87 termui_color_t default_fgcolor;88 termui_color_t emphasis_bgcolor;89 termui_color_t emphasis_fgcolor;90 termui_color_t selection_bgcolor;91 termui_color_t selection_fgcolor;92 93 sysarg_t ucols;94 sysarg_t urows;95 charfield_t *ubuf;96 97 loc_srv_t *srv;98 87 service_id_t dsid; 99 88 con_srvs_t srvs; 100 101 task_wait_t wait;102 fid_t wfid;103 89 } terminal_t; 104 90 105 /** Terminal event */106 typedef struct {107 /** Link to list of events */108 link_t link;109 /** Console event */110 cons_event_t ev;111 } terminal_event_t;112 113 91 extern errno_t terminal_create(const char *, sysarg_t, sysarg_t, 114 terminal_flags_t, const char *,terminal_t **);92 terminal_flags_t, terminal_t **); 115 93 extern void terminal_destroy(terminal_t *); 116 94
Note:
See TracChangeset
for help on using the changeset viewer.
