Changeset 3583ffb in mainline for uspace/lib/ui/include/ui/label.h


Ignore:
Timestamp:
2020-11-08T19:51:04Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f93e4e3
Parents:
8c772c4
Message:

Revert "Create UI controls based on UI object…"

This was a mistake. Controls need ui_resource object, which must be
(at least currently) specific to a window and cannot be obtained from
ui_t.

File:
1 edited

Legend:

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

    r8c772c4 r3583ffb  
    4242#include <types/ui/control.h>
    4343#include <types/ui/label.h>
    44 #include <types/ui/ui.h>
     44#include <types/ui/resource.h>
    4545
    46 extern errno_t ui_label_create(ui_t *, const char *,
     46extern errno_t ui_label_create(ui_resource_t *, const char *,
    4747    ui_label_t **);
    4848extern void ui_label_destroy(ui_label_t *);
Note: See TracChangeset for help on using the changeset viewer.