Changeset fe5c7a1 in mainline for uspace/app/nav/panel.h


Ignore:
Timestamp:
2021-10-14T10:41:07Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
03c4b23
Parents:
b9d689b
git-author:
Jiri Svoboda <jiri@…> (2021-10-13 18:40:48)
git-committer:
Jiri Svoboda <jiri@…> (2021-10-14 10:41:07)
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

    rb9d689b rfe5c7a1  
    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.