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


Ignore:
Timestamp:
2020-10-28T12:42:11Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8009dc27
Parents:
d284ce9
git-author:
Jiri Svoboda <jiri@…> (2020-10-28 12:41:11)
git-committer:
Jiri Svoboda <jiri@…> (2020-10-28 12:42:11)
Message:

Convert terminal to using ui_window

File:
1 edited

Legend:

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

    rd284ce9 rf03d1308  
    3838#define TERMINAL_H
    3939
    40 #include <display.h>
    4140#include <errno.h>
    4241#include <fibril_synch.h>
     
    5049#include <stdatomic.h>
    5150#include <str.h>
    52 #include <ui/resource.h>
    53 #include <ui/wdecor.h>
     51#include <ui/ui.h>
     52#include <ui/window.h>
    5453
    5554#define UTF8_CHAR_BUFFER_SIZE  (STR_BOUNDS(1) + 1)
    5655
    5756typedef struct {
    58         display_window_t *window;
     57        ui_t *ui;
     58        ui_window_t *window;
     59        ui_resource_t *ui_res;
    5960        gfx_context_t *gc;
     61
    6062        gfx_bitmap_t *bmp;
    6163        sysarg_t w;
     
    6466        gfx_coord2_t off;
    6567        bool is_focused;
    66 
    67         ui_resource_t *ui_res;
    68         ui_wdecor_t *wdecor;
    6968
    7069        fibril_mutex_t mtx;
     
    8685} terminal_t;
    8786
    88 extern errno_t terminal_create(display_t *, sysarg_t, sysarg_t, terminal_t **);
     87extern errno_t terminal_create(const char *, sysarg_t, sysarg_t, terminal_t **);
    8988extern void terminal_destroy(terminal_t *);
    9089
Note: See TracChangeset for help on using the changeset viewer.