Changeset f7a90df in mainline for uspace/lib/ui/test/ui.c

Timestamp:
2020-10-25T19:20:57Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d284ce9
Parents:
5a43bd0
Message:

Prototype UI and window classes

It is difficult to do any useful testing on ui_window without a real
display_t. Without display, there is no window, without window no GC,
without GC no UI resource.

As a compromise, in case of unit test, create UI with display == NULL,
in which case create window with NULL dwindow and a dummy GC
(so we have valid UI resource).

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.