Ignore:
File:
1 edited

Legend:

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

    re273e9e r4c6fd56  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2023 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>
    4748#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>
    5453#include <ui/ui.h>
    5554#include <ui/window.h>
     
    8281        size_t char_remains_len;
    8382
    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;
     83        sysarg_t cols;
     84        sysarg_t rows;
     85        chargrid_t *frontbuf;
     86        chargrid_t *backbuf;
     87        sysarg_t top_row;
    9288
    9389        sysarg_t ucols;
     
    10399} terminal_t;
    104100
    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 
    113101extern errno_t terminal_create(const char *, sysarg_t, sysarg_t,
    114102    terminal_flags_t, const char *, terminal_t **);
Note: See TracChangeset for help on using the changeset viewer.