Changeset 77ffa01 in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2021-02-27T21:34:15Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c7dc8e
Parents:
b433f68
Message:

Allow UI to run in the console

Note that everything is way too large.

Location:
uspace/lib/ui/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/ui.h

    rb433f68 r77ffa01  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4545#define UI_DISPLAY_DEFAULT NULL
    4646
     47/** Window system */
     48typedef enum {
     49        /** Unknown */
     50        ui_ws_unknown,
     51        /** Display service */
     52        ui_ws_display,
     53        /** Console */
     54        ui_ws_console
     55} ui_winsys_t;
     56
    4757#endif
    4858
  • uspace/lib/ui/include/ui/ui.h

    rb433f68 r77ffa01  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3939#include <display.h>
    4040#include <errno.h>
     41#include <io/console.h>
    4142#include <types/ui/ui.h>
    4243
    4344extern errno_t ui_create(const char *, ui_t **);
     45extern errno_t ui_create_cons(console_ctrl_t *, ui_t **);
    4446extern errno_t ui_create_disp(display_t *, ui_t **);
    4547extern void ui_destroy(ui_t *);
Note: See TracChangeset for help on using the changeset viewer.