Changeset 3434233 in mainline for uspace/srv/hid/display/window.c


Ignore:
Timestamp:
2019-12-16T10:14:12Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Store dimensions in display server window structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/window.c

    rfdc8e40 r3434233  
    184184 * Create graphics context for rendering into a window.
    185185 *
    186  * @param client Client owning the window
     186 * @param client Client owning the window=
     187 * @param params Window parameters
    187188 * @param rgc Place to store pointer to new GC.
    188189 *
    189190 * @return EOK on success or an error code
    190191 */
    191 errno_t ds_window_create(ds_client_t *client, ds_window_t **rgc)
     192errno_t ds_window_create(ds_client_t *client, display_wnd_params_t *params,
     193    ds_window_t **rgc)
    192194{
    193195        ds_window_t *wnd = NULL;
     
    208210        ds_display_add_window(client->display, wnd);
    209211
     212        wnd->rect = params->rect;
    210213        wnd->gc = gc;
    211214        *rgc = wnd;
Note: See TracChangeset for help on using the changeset viewer.