Changes in uspace/app/terminal/terminal.h [e273e9e:68a552f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.h
re273e9e r68a552f 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2021 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; 85 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; 81 sysarg_t cols; 82 sysarg_t rows; 83 chargrid_t *frontbuf; 84 chargrid_t *backbuf; 85 sysarg_t top_row; 92 86 93 87 sysarg_t ucols; … … 95 89 charfield_t *ubuf; 96 90 97 loc_srv_t *srv;98 91 service_id_t dsid; 99 92 con_srvs_t srvs; 100 101 task_wait_t wait;102 fid_t wfid;103 93 } terminal_t; 104 94 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 95 extern errno_t terminal_create(const char *, sysarg_t, sysarg_t, 114 terminal_flags_t, const char *,terminal_t **);96 terminal_flags_t, terminal_t **); 115 97 extern void terminal_destroy(terminal_t *); 116 98
Note:
See TracChangeset
for help on using the changeset viewer.