Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2021-10-25T00:32:45Z (8 months ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial
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/panel.h

    r2fb49522 r692c7f40  
    4343#include <ui/control.h>
    4444#include <ui/window.h>
     45#include <stdbool.h>
    4546#include "types/panel.h"
    4647
    47 extern errno_t panel_create(ui_window_t *, panel_t **);
     48extern errno_t panel_create(ui_window_t *, bool, panel_t **);
    4849extern void panel_destroy(panel_t *);
    4950extern errno_t panel_entry_paint(panel_entry_t *, size_t);
     
    5455extern void panel_set_rect(panel_t *, gfx_rect_t *);
    5556extern unsigned panel_page_size(panel_t *);
     57extern bool panel_is_active(panel_t *);
     58extern void panel_activate(panel_t *);
     59extern void panel_deactivate(panel_t *);
    5660extern errno_t panel_entry_append(panel_t *, const char *, uint64_t);
    5761extern void panel_entry_delete(panel_entry_t *);
Note: See TracChangeset for help on using the changeset viewer.