Changeset 7cc30e9 in mainline for uspace/lib/display/private/params.h


Ignore:
Timestamp:
2022-10-24T17:50:46Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
913add60
Parents:
7a05d924
Message:

Display server needs to store window caption

Even though it does not use it itself, it needs to provide it to
window managers (e.g. Task bar). We need to be able to set caption
for a new window and to change it for an existing window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/display/private/params.h

    r7a05d924 r7cc30e9  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4646} display_wnd_resize_t;
    4747
     48/** Display window parameters encoded for transport
     49 *
     50 * This omits variable-length fields (window caption).
     51 */
     52typedef struct {
     53        /** Bounding rectangle */
     54        gfx_rect_t rect;
     55        /** Window caption size in bytes */
     56        size_t caption_size;
     57        /** Minimum size (when being resized) */
     58        gfx_coord2_t min_size;
     59        /** Initial position (if flag wndf_setpos is set) */
     60        gfx_coord2_t pos;
     61        /** Flags */
     62        display_wnd_flags_t flags;
     63} display_wnd_params_enc_t;
     64
    4865#endif
    4966
Note: See TracChangeset for help on using the changeset viewer.