Changeset 8165a7a in mainline


Ignore:
Timestamp:
2025-04-11T11:18:34Z (32 hours ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
864485d, b8b031f
Parents:
90dd8aee
git-author:
Jiri Svoboda <jiri@…> (2025-04-10 17:18:02)
git-committer:
Jiri Svoboda <jiri@…> (2025-04-11 11:18:34)
Message:

GFX Demo should default to UI interface

Location:
uspace/app
Files:
2 edited

Legend:

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

    r90dd8aee r8165a7a  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    13551355        }
    13561356
    1357         if (i >= argc || str_cmp(argv[i], "display") == 0) {
    1358                 rc = demo_display(display_svc);
     1357        if (i >= argc || str_cmp(argv[i], "ui") == 0) {
     1358                rc = demo_ui(ui_display_spec);
    13591359                if (rc != EOK)
    13601360                        return 1;
     
    13631363                if (rc != EOK)
    13641364                        return 1;
    1365         } else if (str_cmp(argv[i], "ui") == 0) {
    1366                 rc = demo_ui(ui_display_spec);
     1365        } else if (str_cmp(argv[i], "display") == 0) {
     1366                rc = demo_display(display_svc);
    13671367                if (rc != EOK)
    13681368                        return 1;
  • uspace/app/taskbar/taskbar.sif

    r90dd8aee r8165a7a  
    1515<entry caption="~U~I Demo" cmd="/app/uidemo -d %d" terminal="n">
    1616</entry>
    17 <entry caption="~G~FX Demo" cmd="/app/gfxdemo -d %d ui" terminal="n">
     17<entry caption="~G~FX Demo" cmd="/app/gfxdemo -d %d" terminal="n">
    1818</entry>
    1919<entry caption="~B~arber Pole" cmd="/app/barber -d %d" terminal="n">
Note: See TracChangeset for help on using the changeset viewer.