HelenOS sources
panel 188 uspace/app/nav/nav.c &navigator->panel[i]);
panel 196 uspace/app/nav/nav.c panel_set_rect(navigator->panel[i], &rect);
panel 198 uspace/app/nav/nav.c panel_set_cb(navigator->panel[i], &navigator_panel_cb,
panel 202 uspace/app/nav/nav.c panel_ctl(navigator->panel[i]));
panel 208 uspace/app/nav/nav.c rc = panel_read_dir(navigator->panel[i], ".");
panel 233 uspace/app/nav/nav.c if (navigator->panel[i] != NULL) {
panel 235 uspace/app/nav/nav.c panel_ctl(navigator->panel[i]));
panel 236 uspace/app/nav/nav.c panel_destroy(navigator->panel[i]);
panel 278 uspace/app/nav/nav.c if (panel_is_active(navigator->panel[i]))
panel 279 uspace/app/nav/nav.c return navigator->panel[i];
panel 297 uspace/app/nav/nav.c if (panel_is_active(navigator->panel[0])) {
panel 298 uspace/app/nav/nav.c rc = panel_activate(navigator->panel[1]);
panel 301 uspace/app/nav/nav.c panel_deactivate(navigator->panel[0]);
panel 303 uspace/app/nav/nav.c rc = panel_activate(navigator->panel[0]);
panel 306 uspace/app/nav/nav.c panel_deactivate(navigator->panel[1]);
panel 314 uspace/app/nav/nav.c panel_t *panel;
panel 316 uspace/app/nav/nav.c panel = navigator_get_active_panel(navigator);
panel 317 uspace/app/nav/nav.c ui_file_list_open(panel->flist, ui_file_list_get_cursor(panel->flist));
panel 333 uspace/app/nav/nav.c void navigator_panel_activate_req(void *arg, panel_t *panel)
panel 337 uspace/app/nav/nav.c if (!panel_is_active(panel))
panel 80 uspace/app/nav/panel.c panel_t *panel;
panel 83 uspace/app/nav/panel.c panel = calloc(1, sizeof(panel_t));
panel 84 uspace/app/nav/panel.c if (panel == NULL)
panel 87 uspace/app/nav/panel.c rc = ui_control_new(&panel_ctl_ops, (void *)panel,
panel 88 uspace/app/nav/panel.c &panel->control);
panel 90 uspace/app/nav/panel.c free(panel);
panel 94 uspace/app/nav/panel.c rc = gfx_color_new_ega(0x07, &panel->color);
panel 98 uspace/app/nav/panel.c rc = gfx_color_new_ega(0x0f, &panel->act_border_color);
panel 102 uspace/app/nav/panel.c rc = ui_file_list_create(window, active, &panel->flist);
panel 106 uspace/app/nav/panel.c ui_file_list_set_cb(panel->flist, &panel_flist_cb, (void *)panel);
panel 108 uspace/app/nav/panel.c panel->window = window;
panel 109 uspace/app/nav/panel.c panel->active = active;
panel 110 uspace/app/nav/panel.c *rpanel = panel;
panel 113 uspace/app/nav/panel.c if (panel->color != NULL)
panel 114 uspace/app/nav/panel.c gfx_color_delete(panel->color);
panel 115 uspace/app/nav/panel.c if (panel->act_border_color != NULL)
panel 116 uspace/app/nav/panel.c gfx_color_delete(panel->act_border_color);
panel 117 uspace/app/nav/panel.c if (panel->flist != NULL)
panel 118 uspace/app/nav/panel.c ui_file_list_destroy(panel->flist);
panel 119 uspace/app/nav/panel.c ui_control_delete(panel->control);
panel 120 uspace/app/nav/panel.c free(panel);
panel 128 uspace/app/nav/panel.c void panel_destroy(panel_t *panel)
panel 130 uspace/app/nav/panel.c gfx_color_delete(panel->color);
panel 131 uspace/app/nav/panel.c gfx_color_delete(panel->act_border_color);
panel 132 uspace/app/nav/panel.c ui_control_delete(panel->control);
panel 133 uspace/app/nav/panel.c free(panel);
panel 142 uspace/app/nav/panel.c void panel_set_cb(panel_t *panel, panel_cb_t *cb, void *arg)
panel 144 uspace/app/nav/panel.c panel->cb = cb;
panel 145 uspace/app/nav/panel.c panel->cb_arg = arg;
panel 152 uspace/app/nav/panel.c errno_t panel_paint(panel_t *panel)
panel 154 uspace/app/nav/panel.c gfx_context_t *gc = ui_window_get_gc(panel->window);
panel 155 uspace/app/nav/panel.c ui_resource_t *res = ui_window_get_res(panel->window);
panel 161 uspace/app/nav/panel.c rc = gfx_set_color(gc, panel->color);
panel 165 uspace/app/nav/panel.c rc = gfx_fill_rect(gc, &panel->rect);
panel 169 uspace/app/nav/panel.c if (panel->active) {
panel 171 uspace/app/nav/panel.c bcolor = panel->act_border_color;
panel 174 uspace/app/nav/panel.c bcolor = panel->color;
panel 177 uspace/app/nav/panel.c rc = ui_paint_text_box(res, &panel->rect, bstyle, bcolor);
panel 181 uspace/app/nav/panel.c ctl = ui_file_list_ctl(panel->flist);
panel 199 uspace/app/nav/panel.c ui_evclaim_t panel_kbd_event(panel_t *panel, kbd_event_t *event)
panel 203 uspace/app/nav/panel.c if (!panel->active)
panel 206 uspace/app/nav/panel.c ctl = ui_file_list_ctl(panel->flist);
panel 216 uspace/app/nav/panel.c ui_evclaim_t panel_pos_event(panel_t *panel, pos_event_t *event)
panel 224 uspace/app/nav/panel.c if (!gfx_pix_inside_rect(&pos, &panel->rect))
panel 227 uspace/app/nav/panel.c ctl = ui_file_list_ctl(panel->flist);
panel 232 uspace/app/nav/panel.c if (!panel->active && event->type == POS_PRESS)
panel 233 uspace/app/nav/panel.c panel_activate_req(panel);
panel 243 uspace/app/nav/panel.c ui_control_t *panel_ctl(panel_t *panel)
panel 245 uspace/app/nav/panel.c return panel->control;
panel 253 uspace/app/nav/panel.c void panel_set_rect(panel_t *panel, gfx_rect_t *rect)
panel 257 uspace/app/nav/panel.c panel->rect = *rect;
panel 259 uspace/app/nav/panel.c irect.p0.x = panel->rect.p0.x + 1;
panel 260 uspace/app/nav/panel.c irect.p0.y = panel->rect.p0.y + 1;
panel 261 uspace/app/nav/panel.c irect.p1.x = panel->rect.p1.x;
panel 262 uspace/app/nav/panel.c irect.p1.y = panel->rect.p1.y - 1;
panel 264 uspace/app/nav/panel.c ui_file_list_set_rect(panel->flist, &irect);
panel 272 uspace/app/nav/panel.c bool panel_is_active(panel_t *panel)
panel 274 uspace/app/nav/panel.c return panel->active;
panel 283 uspace/app/nav/panel.c errno_t panel_activate(panel_t *panel)
panel 287 uspace/app/nav/panel.c rc = ui_file_list_activate(panel->flist);
panel 291 uspace/app/nav/panel.c panel->active = true;
panel 292 uspace/app/nav/panel.c (void) panel_paint(panel);
panel 300 uspace/app/nav/panel.c void panel_deactivate(panel_t *panel)
panel 302 uspace/app/nav/panel.c ui_file_list_deactivate(panel->flist);
panel 303 uspace/app/nav/panel.c panel->active = false;
panel 304 uspace/app/nav/panel.c (void) panel_paint(panel);
panel 313 uspace/app/nav/panel.c panel_t *panel = (panel_t *) arg;
panel 315 uspace/app/nav/panel.c panel_destroy(panel);
panel 325 uspace/app/nav/panel.c panel_t *panel = (panel_t *) arg;
panel 327 uspace/app/nav/panel.c return panel_paint(panel);
panel 338 uspace/app/nav/panel.c panel_t *panel = (panel_t *) arg;
panel 340 uspace/app/nav/panel.c return panel_kbd_event(panel, event);
panel 351 uspace/app/nav/panel.c panel_t *panel = (panel_t *) arg;
panel 353 uspace/app/nav/panel.c return panel_pos_event(panel, event);
panel 362 uspace/app/nav/panel.c errno_t panel_read_dir(panel_t *panel, const char *dirname)
panel 364 uspace/app/nav/panel.c return ui_file_list_read_dir(panel->flist, dirname);
panel 373 uspace/app/nav/panel.c void panel_activate_req(panel_t *panel)
panel 375 uspace/app/nav/panel.c if (panel->cb != NULL && panel->cb->activate_req != NULL)
panel 376 uspace/app/nav/panel.c panel->cb->activate_req(panel->cb_arg, panel);
panel 388 uspace/app/nav/panel.c static errno_t panel_open_file(panel_t *panel, const char *fname)
panel 397 uspace/app/nav/panel.c ui = ui_window_get_ui(panel->window);
panel 417 uspace/app/nav/panel.c (void) ui_paint(ui_window_get_ui(panel->window));
panel 421 uspace/app/nav/panel.c (void) ui_paint(ui_window_get_ui(panel->window));
panel 432 uspace/app/nav/panel.c panel_t *panel = (panel_t *)arg;
panel 434 uspace/app/nav/panel.c panel_activate_req(panel);
panel 446 uspace/app/nav/panel.c panel_t *panel = (panel_t *)arg;
panel 448 uspace/app/nav/panel.c (void) panel_open_file(panel, fname);
panel 35 uspace/app/nav/test/main.c PCUT_IMPORT(panel);
panel 53 uspace/app/nav/test/nav.c panel_t *panel;
panel 60 uspace/app/nav/test/nav.c panel = navigator_get_active_panel(nav);
panel 61 uspace/app/nav/test/nav.c PCUT_ASSERT_EQUALS(nav->panel[0], panel);
panel 70 uspace/app/nav/test/nav.c panel_t *panel;
panel 77 uspace/app/nav/test/nav.c panel = navigator_get_active_panel(nav);
panel 78 uspace/app/nav/test/nav.c PCUT_ASSERT_EQUALS(nav->panel[0], panel);
panel 83 uspace/app/nav/test/nav.c panel = navigator_get_active_panel(nav);
panel 84 uspace/app/nav/test/nav.c PCUT_ASSERT_EQUALS(nav->panel[1], panel);
panel 89 uspace/app/nav/test/nav.c panel = navigator_get_active_panel(nav);
panel 90 uspace/app/nav/test/nav.c PCUT_ASSERT_EQUALS(nav->panel[0], panel);
panel 40 uspace/app/nav/test/panel.c PCUT_TEST_SUITE(panel);
panel 60 uspace/app/nav/test/panel.c panel_t *panel;
panel 72 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 75 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 86 uspace/app/nav/test/panel.c panel_t *panel;
panel 99 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 102 uspace/app/nav/test/panel.c panel_set_cb(panel, &test_cb, &resp);
panel 103 uspace/app/nav/test/panel.c PCUT_ASSERT_EQUALS(&test_cb, panel->cb);
panel 104 uspace/app/nav/test/panel.c PCUT_ASSERT_EQUALS(&resp, panel->cb_arg);
panel 106 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 117 uspace/app/nav/test/panel.c panel_t *panel;
panel 129 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 132 uspace/app/nav/test/panel.c rc = panel_paint(panel);
panel 135 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 146 uspace/app/nav/test/panel.c panel_t *panel;
panel 159 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 162 uspace/app/nav/test/panel.c control = panel_ctl(panel);
panel 165 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 176 uspace/app/nav/test/panel.c panel_t *panel;
panel 192 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 200 uspace/app/nav/test/panel.c claimed = panel_kbd_event(panel, &event);
panel 203 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 207 uspace/app/nav/test/panel.c rc = panel_create(window, false, &panel);
panel 215 uspace/app/nav/test/panel.c claimed = panel_kbd_event(panel, &event);
panel 218 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 234 uspace/app/nav/test/panel.c panel_t *panel;
panel 247 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 255 uspace/app/nav/test/panel.c panel_set_rect(panel, &rect);
panel 256 uspace/app/nav/test/panel.c PCUT_ASSERT_INT_EQUALS(rect.p0.x, panel->rect.p0.x);
panel 257 uspace/app/nav/test/panel.c PCUT_ASSERT_INT_EQUALS(rect.p0.y, panel->rect.p0.y);
panel 258 uspace/app/nav/test/panel.c PCUT_ASSERT_INT_EQUALS(rect.p1.x, panel->rect.p1.x);
panel 259 uspace/app/nav/test/panel.c PCUT_ASSERT_INT_EQUALS(rect.p1.y, panel->rect.p1.y);
panel 261 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 272 uspace/app/nav/test/panel.c panel_t *panel;
panel 284 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 286 uspace/app/nav/test/panel.c PCUT_ASSERT_TRUE(panel_is_active(panel));
panel 287 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 289 uspace/app/nav/test/panel.c rc = panel_create(window, false, &panel);
panel 291 uspace/app/nav/test/panel.c PCUT_ASSERT_FALSE(panel_is_active(panel));
panel 292 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 303 uspace/app/nav/test/panel.c panel_t *panel;
panel 315 uspace/app/nav/test/panel.c rc = panel_create(window, false, &panel);
panel 318 uspace/app/nav/test/panel.c PCUT_ASSERT_FALSE(panel_is_active(panel));
panel 319 uspace/app/nav/test/panel.c rc = panel_activate(panel);
panel 321 uspace/app/nav/test/panel.c PCUT_ASSERT_TRUE(panel_is_active(panel));
panel 323 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 334 uspace/app/nav/test/panel.c panel_t *panel;
panel 346 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 349 uspace/app/nav/test/panel.c PCUT_ASSERT_TRUE(panel_is_active(panel));
panel 350 uspace/app/nav/test/panel.c panel_deactivate(panel);
panel 351 uspace/app/nav/test/panel.c PCUT_ASSERT_FALSE(panel_is_active(panel));
panel 353 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 364 uspace/app/nav/test/panel.c panel_t *panel;
panel 377 uspace/app/nav/test/panel.c rc = panel_create(window, true, &panel);
panel 380 uspace/app/nav/test/panel.c panel_set_cb(panel, &test_cb, &resp);
panel 385 uspace/app/nav/test/panel.c panel_activate_req(panel);
panel 387 uspace/app/nav/test/panel.c PCUT_ASSERT_EQUALS(panel, resp.activate_req_panel);
panel 389 uspace/app/nav/test/panel.c panel_destroy(panel);
panel 394 uspace/app/nav/test/panel.c static void test_panel_activate_req(void *arg, panel_t *panel)
panel 399 uspace/app/nav/test/panel.c resp->activate_req_panel = panel;
panel 402 uspace/app/nav/test/panel.c PCUT_EXPORT(panel);
panel 58 uspace/app/nav/types/nav.h struct panel *panel[navigator_panels];
HelenOS homepage, sources at GitHub