Changeset 3434233 in mainline for uspace/srv/hid/display/test/window.c
- Timestamp:
- 2019-12-16T10:14:12Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 65160d7
- Parents:
- fdc8e40
- git-author:
- Jiri Svoboda <jiri@…> (2019-12-15 10:13:47)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-12-16 10:14:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/test/window.c
rfdc8e40 r3434233 27 27 */ 28 28 29 #include <disp_srv.h> 29 30 #include <errno.h> 30 31 #include <pcut/pcut.h> … … 46 47 ds_client_t *client; 47 48 ds_window_t *wnd; 49 display_wnd_params_t params; 48 50 gfx_context_t *gc; 49 51 errno_t rc; … … 55 57 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 56 58 57 rc = ds_window_create(client, &wnd); 59 display_wnd_params_init(¶ms); 60 params.rect.p0.x = params.rect.p0.y = 0; 61 params.rect.p1.x = params.rect.p1.y = 1; 62 63 rc = ds_window_create(client, ¶ms, &wnd); 58 64 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 59 65
Note:
See TracChangeset
for help on using the changeset viewer.