Changeset d284ce9 in mainline for uspace/lib/ui/private


Ignore:
Timestamp:
2020-10-27T21:56:15Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f03d1308
Parents:
f7a90df
Message:

Let ui_window handle window decoration, display window

Location:
uspace/lib/ui/private
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/ui.h

    rf7a90df rd284ce9  
    5050        /** Output owned by UI, clean up when destroying UI */
    5151        bool myoutput;
     52        /** @c true if terminating */
     53        bool quit;
    5254};
    5355
  • uspace/lib/ui/private/window.h

    rf7a90df rd284ce9  
    4040#include <display.h>
    4141#include <gfx/context.h>
     42#include <io/pos_event.h>
    4243
    4344/** Actual structure of window.
     
    4849        /** Containing user interface */
    4950        struct ui *ui;
     51        /** Callbacks */
     52        struct ui_window_cb *cb;
     53        /** Callback argument */
     54        void *arg;
    5055        /** Display window */
    5156        display_window_t *dwindow;
     
    5863};
    5964
     65extern void ui_window_close(ui_window_t *);
     66extern void ui_window_pos(ui_window_t *, pos_event_t *);
     67
    6068#endif
    6169
Note: See TracChangeset for help on using the changeset viewer.