Changeset 9c7dc8e in mainline for uspace/lib/ui/src/window.c


Ignore:
Timestamp:
2021-03-01T10:50:25Z (3 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/window.c

    r77ffa01 r9c7dc8e  
    4747#include <ui/control.h>
    4848#include <ui/resource.h>
     49#include <ui/ui.h>
    4950#include <ui/wdecor.h>
    5051#include <ui/window.h>
     
    255256        window->gc = gc;
    256257#endif
    257         rc = ui_resource_create(window->gc, &res);
     258        rc = ui_resource_create(window->gc, ui_is_textmode(ui), &res);
    258259        if (rc != EOK)
    259260                goto error;
Note: See TracChangeset for help on using the changeset viewer.