Changeset ebb1489 in mainline for uspace/app/terminal/terminal.h
- Timestamp:
- 2024-10-13T08:23:40Z (2 months ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.h
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * Copyright (c) 2012 Petr Koupy 4 4 * All rights reserved. … … 45 45 #include <gfx/context.h> 46 46 #include <gfx/coord.h> 47 #include <io/chargrid.h>48 47 #include <io/con_srv.h> 48 #include <io/cons_event.h> 49 49 #include <loc.h> 50 50 #include <stdatomic.h> 51 51 #include <str.h> 52 52 #include <task.h> 53 #include <termui.h> 53 54 #include <ui/ui.h> 54 55 #include <ui/window.h> … … 81 82 size_t char_remains_len; 82 83 83 sysarg_t cols; 84 sysarg_t rows; 85 chargrid_t *frontbuf; 86 chargrid_t *backbuf; 87 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; 88 92 89 93 sysarg_t ucols; … … 99 103 } terminal_t; 100 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 101 113 extern errno_t terminal_create(const char *, sysarg_t, sysarg_t, 102 114 terminal_flags_t, const char *, terminal_t **);
Note:
See TracChangeset
for help on using the changeset viewer.