Changes in uspace/app/terminal/terminal.h [68a552f:e273e9e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.h
r68a552f re273e9e 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2024 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> 40 41 #include <errno.h> 42 #include <fibril.h> 41 43 #include <fibril_synch.h> 42 44 #include <gfx/bitmap.h> 43 45 #include <gfx/context.h> 44 46 #include <gfx/coord.h> 45 #include <io/chargrid.h>46 47 #include <io/con_srv.h> 48 #include <io/cons_event.h> 47 49 #include <loc.h> 48 #include <adt/prodcons.h>49 50 #include <stdatomic.h> 50 51 #include <str.h> 52 #include <task.h> 53 #include <termui.h> 51 54 #include <ui/ui.h> 52 55 #include <ui/window.h> … … 79 82 size_t char_remains_len; 80 83 81 sysarg_t cols; 82 sysarg_t rows; 83 chargrid_t *frontbuf; 84 chargrid_t *backbuf; 85 sysarg_t top_row; 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; 86 92 87 93 sysarg_t ucols; … … 89 95 charfield_t *ubuf; 90 96 97 loc_srv_t *srv; 91 98 service_id_t dsid; 92 99 con_srvs_t srvs; 100 101 task_wait_t wait; 102 fid_t wfid; 93 103 } terminal_t; 94 104 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 95 113 extern errno_t terminal_create(const char *, sysarg_t, sysarg_t, 96 terminal_flags_t, terminal_t **);114 terminal_flags_t, const char *, terminal_t **); 97 115 extern void terminal_destroy(terminal_t *); 98 116
Note:
See TracChangeset
for help on using the changeset viewer.