Changeset 6aa85c1 in mainline for uspace/app/nav/menu.h


Ignore:
Timestamp:
2021-10-25T00:32:45Z (2 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b36ebb42
Parents:
5d466a1
git-author:
Jiri Svoboda <jiri@…> (2021-10-03 17:39:36)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-10-25 00:32:45)
Message:

Add panel class and add unit tests for all classes

File:
1 edited

Legend:

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

    r5d466a1 r6aa85c1  
    3838
    3939#include <errno.h>
     40#include <ui/control.h>
    4041#include <ui/menu.h>
    4142#include <ui/menubar.h>
    4243#include <ui/menuentry.h>
     44#include <ui/ui.h>
     45#include <ui/window.h>
    4346#include "nav.h"
    4447
    4548/** Navigator menu */
    4649typedef struct nav_menu {
    47         navigator_t *navigator;
     50        ui_t *ui;
     51        ui_window_t *window;
    4852        ui_menu_bar_t *menubar;
    4953} nav_menu_t;
    5054
    51 extern errno_t nav_menu_create(navigator_t *, nav_menu_t **);
     55extern errno_t nav_menu_create(ui_window_t *, nav_menu_t **);
    5256extern void nav_menu_destroy(nav_menu_t *);
     57extern ui_control_t *nav_menu_ctl(nav_menu_t *);
    5358
    5459#endif
Note: See TracChangeset for help on using the changeset viewer.