Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3d10a2f in mainline for uspace/lib/ui/include/ui/window.h


Ignore:
Timestamp:
2021-10-04T12:25:43Z (10 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial
Children:
cd981f2a, e0e1b3d
Parents:
6d172f6
git-author:
Jiri Svoboda <jiri@…> (2021-10-03 17:25:36)
git-committer:
Jiri Svoboda <jiri@…> (2021-10-04 12:25:43)
Message:

Null display spec for the benefit of unit testing

When testing something that takes a display specification as argument,
it is useful to be able to be able to specify dummy output (so far,
only ui_create_disp() could create a UI with dummy output.

File:
1 edited

Legend:

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

    r6d172f6 r3d10a2f  
    5656extern ui_window_t *ui_window_get_active(ui_t *);
    5757extern errno_t ui_window_resize(ui_window_t *, gfx_rect_t *);
     58extern ui_t *ui_window_get_ui(ui_window_t *);
    5859extern ui_resource_t *ui_window_get_res(ui_window_t *);
    5960extern gfx_context_t *ui_window_get_gc(ui_window_t *);
Note: See TracChangeset for help on using the changeset viewer.