Changeset 338d0935 in mainline for uspace/app/gfxdemo/gfxdemo.c


Ignore:
Timestamp:
2020-03-02T11:22:01Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a2e104e
Parents:
7bb45e3
git-author:
Jiri Svoboda <jiri@…> (2020-02-01 11:18:50)
git-committer:
Jiri Svoboda <jiri@…> (2020-03-02 11:22:01)
Message:

Closing windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/gfxdemo/gfxdemo.c

    r7bb45e3 r338d0935  
    5050#include <window.h>
    5151
     52static void wnd_close_event(void *);
    5253static void wnd_kbd_event(void *, kbd_event_t *);
    5354
    5455static display_wnd_cb_t wnd_cb = {
     56        .close_event = wnd_close_event,
    5557        .kbd_event = wnd_kbd_event
    5658};
     
    500502}
    501503
     504static void wnd_close_event(void *arg)
     505{
     506        printf("Close event\n");
     507        quit = true;
     508}
     509
    502510static void wnd_kbd_event(void *arg, kbd_event_t *event)
    503511{
Note: See TracChangeset for help on using the changeset viewer.