Changeset 966a27d3 in mainline for uspace/app/nav/types/panel.h


Ignore:
Timestamp:
2021-10-22T07:45:13Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
8922b76
Parents:
2651dc5
git-author:
Jiri Svoboda <jiri@…> (2021-10-21 17:44:55)
git-committer:
Jiri Svoboda <jiri@…> (2021-10-22 07:45:13)
Message:

Activating panel using the mouse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/nav/types/panel.h

    r2651dc5 r966a27d3  
    8383        ui_window_t *window;
    8484
     85        /** Callbacks */
     86        struct panel_cb *cb;
     87
     88        /** Callback argument */
     89        void *cb_arg;
     90
    8591        /** Panel rectangle */
    8692        gfx_rect_t rect;
     
    126132} panel_t;
    127133
     134/** Panel callbacks */
     135typedef struct panel_cb {
     136        /** Request panel activation */
     137        void (*activate_req)(void *, panel_t *);
     138} panel_cb_t;
     139
    128140#endif
    129141
Note: See TracChangeset for help on using the changeset viewer.