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


Ignore:
Timestamp:
2020-11-08T19:51:04Z (4 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/pbutton.h

    r8c772c4 r3583ffb  
    4343#include <types/ui/event.h>
    4444#include <types/ui/pbutton.h>
    45 #include <types/ui/ui.h>
     45#include <types/ui/resource.h>
    4646#include <stdbool.h>
    4747
    48 extern errno_t ui_pbutton_create(ui_t *, const char *,
     48extern errno_t ui_pbutton_create(ui_resource_t *, const char *,
    4949    ui_pbutton_t **);
    5050extern void ui_pbutton_destroy(ui_pbutton_t *);
Note: See TracChangeset for help on using the changeset viewer.