Changeset ebb1489 in mainline for uspace/app/terminal/terminal.h


Ignore:
Timestamp:
2024-10-13T08:23:40Z (2 months ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/terminal/terminal.h

    r2a0c827c rebb1489  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2012 Petr Koupy
    44 * All rights reserved.
     
    4545#include <gfx/context.h>
    4646#include <gfx/coord.h>
    47 #include <io/chargrid.h>
    4847#include <io/con_srv.h>
     48#include <io/cons_event.h>
    4949#include <loc.h>
    5050#include <stdatomic.h>
    5151#include <str.h>
    5252#include <task.h>
     53#include <termui.h>
    5354#include <ui/ui.h>
    5455#include <ui/window.h>
     
    8182        size_t char_remains_len;
    8283
    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;
    8892
    8993        sysarg_t ucols;
     
    99103} terminal_t;
    100104
     105/** Terminal event */
     106typedef struct {
     107        /** Link to list of events */
     108        link_t link;
     109        /** Console event */
     110        cons_event_t ev;
     111} terminal_event_t;
     112
    101113extern errno_t terminal_create(const char *, sysarg_t, sysarg_t,
    102114    terminal_flags_t, const char *, terminal_t **);
Note: See TracChangeset for help on using the changeset viewer.