Changeset 692c7f40 in mainline for uspace/app/nav/types/nav.h


Ignore:
Timestamp:
2021-10-25T00:32:45Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1eb0fafe
Parents:
2fb49522
git-author:
Jiri Svoboda <jiri@…> (2021-10-13 18:40:48)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-10-25 00:32:45)
Message:

Panel activation

Active panel can be switched using the Tab key. Mouse activation is
not implemented.

File:
1 edited

Legend:

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

    r2fb49522 r692c7f40  
    4141#include <ui/window.h>
    4242
     43enum {
     44        navigator_panels = 2
     45};
     46
    4347/** Navigator */
    4448typedef struct navigator {
     
    5256        struct nav_menu *menu;
    5357        /** Panels */
    54         struct panel *panel[2];
     58        struct panel *panel[navigator_panels];
    5559} navigator_t;
    5660
Note: See TracChangeset for help on using the changeset viewer.