Changeset bd2fab5 in mainline for uspace/app/gfxdemo/gfxdemo.c


Ignore:
Timestamp:
2023-10-10T12:56:43Z (14 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af967ef9
Parents:
983052c
git-author:
Jiri Svoboda <jiri@…> (2023-10-09 18:56:27)
git-committer:
Jiri Svoboda <jiri@…> (2023-10-10 12:56:43)
Message:

Remove forgotten debug messages from GFX Demo

Interferes with ui_resume() pause heuristic.

File:
1 edited

Legend:

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

    r983052c rbd2fab5  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    10411041        errno_t rc;
    10421042
    1043         printf("Init console..\n");
    10441043        con = console_init(stdin, stdout);
    10451044        if (con == NULL)
    10461045                return EIO;
    10471046
    1048         printf("Create console GC\n");
    10491047        rc = console_gc_create(con, stdout, &cgc);
    10501048        if (rc != EOK)
     
    10761074        errno_t rc;
    10771075
    1078         printf("Init UI..\n");
    1079 
    10801076        rc = ui_create(display_spec, &ui);
    10811077        if (rc != EOK) {
     
    11411137        errno_t rc;
    11421138
    1143         printf("Init display..\n");
    1144 
    11451139        rc = display_open(display_svc, &display);
    11461140        if (rc != EOK) {
     
    11861180static void wnd_close_event(void *arg)
    11871181{
    1188         printf("Close event\n");
    11891182        quit = true;
    11901183}
     
    11921185static void wnd_kbd_event(void *arg, kbd_event_t *event)
    11931186{
    1194         printf("Keyboard event type=%d key=%d\n", event->type, event->key);
    11951187        if (event->type == KEY_PRESS)
    11961188                quit = true;
     
    11991191static void uiwnd_close_event(ui_window_t *window, void *arg)
    12001192{
    1201         printf("Close event\n");
    12021193        quit = true;
    12031194}
     
    12051196static void uiwnd_kbd_event(ui_window_t *window, void *arg, kbd_event_t *event)
    12061197{
    1207         printf("Keyboard event type=%d key=%d\n", event->type, event->key);
    12081198        if (event->type == KEY_PRESS)
    12091199                quit = true;
Note: See TracChangeset for help on using the changeset viewer.