Changeset 9c7dc8e in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2021-03-01T10:50:25Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd74fa8
Parents:
77ffa01
git-author:
Jiri Svoboda <jiri@…> (2021-02-28 10:50:05)
git-committer:
Jiri Svoboda <jiri@…> (2021-03-01 10:50:25)
Message:

Print text as text in textmode UI. Make calculator smaller in text mode.

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

Legend:

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

    r77ffa01 r9c7dc8e  
    3939#include <errno.h>
    4040#include <gfx/context.h>
     41#include <stdbool.h>
    4142#include <types/ui/resource.h>
    4243
    43 extern errno_t ui_resource_create(gfx_context_t *, ui_resource_t **);
     44extern errno_t ui_resource_create(gfx_context_t *, bool, ui_resource_t **);
    4445extern void ui_resource_destroy(ui_resource_t *);
    4546
  • uspace/lib/ui/include/ui/ui.h

    r77ffa01 r9c7dc8e  
    4040#include <errno.h>
    4141#include <io/console.h>
     42#include <stdbool.h>
    4243#include <types/ui/ui.h>
    4344
     
    4849extern void ui_quit(ui_t *);
    4950extern void ui_run(ui_t *);
     51extern bool ui_is_textmode(ui_t *);
    5052
    5153#endif
Note: See TracChangeset for help on using the changeset viewer.