HelenOS sources
wndlist 87 uspace/app/taskbar/taskbar.c taskbar->wndlist->ev_idev_id = event->kbd_id;
wndlist 113 uspace/app/taskbar/taskbar.c taskbar->wndlist->ev_idev_id = event->pos_id;
wndlist 248 uspace/app/taskbar/taskbar.c rc = wndlist_create(taskbar->window, taskbar->fixed, &taskbar->wndlist);
wndlist 265 uspace/app/taskbar/taskbar.c wndlist_set_rect(taskbar->wndlist, &rect);
wndlist 271 uspace/app/taskbar/taskbar.c rc = wndlist_open_wm(taskbar->wndlist, wndmgt_svc);
wndlist 321 uspace/app/taskbar/taskbar.c if (taskbar->wndlist != NULL)
wndlist 322 uspace/app/taskbar/taskbar.c wndlist_destroy(taskbar->wndlist);
wndlist 341 uspace/app/taskbar/taskbar.c wndlist_destroy(taskbar->wndlist);
wndlist 36 uspace/app/taskbar/test/main.c PCUT_IMPORT(wndlist);
wndlist 64 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 79 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 82 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 97 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 112 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 119 uspace/app/taskbar/test/wndlist.c wndlist_set_rect(wndlist, &rect);
wndlist 120 uspace/app/taskbar/test/wndlist.c PCUT_ASSERT_INT_EQUALS(1, wndlist->rect.p0.x);
wndlist 121 uspace/app/taskbar/test/wndlist.c PCUT_ASSERT_INT_EQUALS(2, wndlist->rect.p0.y);
wndlist 122 uspace/app/taskbar/test/wndlist.c PCUT_ASSERT_INT_EQUALS(3, wndlist->rect.p1.x);
wndlist 123 uspace/app/taskbar/test/wndlist.c PCUT_ASSERT_INT_EQUALS(4, wndlist->rect.p1.y);
wndlist 125 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 140 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 169 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 172 uspace/app/taskbar/test/wndlist.c rc = wndlist_open_wm(wndlist, test_wndmgt_svc);
wndlist 175 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 193 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 209 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 212 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 123, "Foo", true, true);
wndlist 215 uspace/app/taskbar/test/wndlist.c entry = wndlist_first(wndlist);
wndlist 220 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 234 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 250 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 253 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 256 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 2, "Bar", false, true);
wndlist 259 uspace/app/taskbar/test/wndlist.c entry = wndlist_first(wndlist);
wndlist 262 uspace/app/taskbar/test/wndlist.c rc = wndlist_remove(wndlist, entry, true);
wndlist 265 uspace/app/taskbar/test/wndlist.c entry = wndlist_first(wndlist);
wndlist 268 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 282 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 298 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 301 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 304 uspace/app/taskbar/test/wndlist.c entry = wndlist_first(wndlist);
wndlist 309 uspace/app/taskbar/test/wndlist.c rc = wndlist_update(wndlist, entry, "Bar", false);
wndlist 316 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 330 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 346 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 349 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 123, "Foo", true, true);
wndlist 352 uspace/app/taskbar/test/wndlist.c entry = wndlist_first(wndlist);
wndlist 355 uspace/app/taskbar/test/wndlist.c wndlist_set_entry_rect(wndlist, entry);
wndlist 357 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 371 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 387 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 390 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 393 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 2, "Bar", false, true);
wndlist 396 uspace/app/taskbar/test/wndlist.c entry = wndlist_entry_by_id(wndlist, 1);
wndlist 400 uspace/app/taskbar/test/wndlist.c entry = wndlist_entry_by_id(wndlist, 2);
wndlist 404 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 418 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 434 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 437 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 440 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 2, "Bar", false, true);
wndlist 443 uspace/app/taskbar/test/wndlist.c entry = wndlist_first(wndlist);
wndlist 454 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 468 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 484 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 487 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 490 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 2, "Bar", false, true);
wndlist 493 uspace/app/taskbar/test/wndlist.c entry = wndlist_last(wndlist);
wndlist 497 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 511 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 527 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 530 uspace/app/taskbar/test/wndlist.c count = wndlist_count(wndlist);
wndlist 533 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 536 uspace/app/taskbar/test/wndlist.c count = wndlist_count(wndlist);
wndlist 539 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 2, "Bar", false, true);
wndlist 542 uspace/app/taskbar/test/wndlist.c count = wndlist_count(wndlist);
wndlist 545 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 559 uspace/app/taskbar/test/wndlist.c wndlist_t *wndlist;
wndlist 574 uspace/app/taskbar/test/wndlist.c rc = wndlist_create(window, fixed, &wndlist);
wndlist 577 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 1, "Foo", true, true);
wndlist 580 uspace/app/taskbar/test/wndlist.c rc = wndlist_append(wndlist, 2, "Bar", false, true);
wndlist 583 uspace/app/taskbar/test/wndlist.c rc = wndlist_repaint(wndlist);
wndlist 586 uspace/app/taskbar/test/wndlist.c wndlist_destroy(wndlist);
wndlist 649 uspace/app/taskbar/test/wndlist.c PCUT_EXPORT(wndlist);
wndlist 59 uspace/app/taskbar/types/taskbar.h wndlist_t *wndlist;
wndlist 50 uspace/app/taskbar/types/wndlist.h struct wndlist *wndlist;
wndlist 93 uspace/app/taskbar/wndlist.c wndlist_t *wndlist = NULL;
wndlist 96 uspace/app/taskbar/wndlist.c wndlist = calloc(1, sizeof(wndlist_t));
wndlist 97 uspace/app/taskbar/wndlist.c if (wndlist == NULL) {
wndlist 102 uspace/app/taskbar/wndlist.c wndlist->window = window;
wndlist 103 uspace/app/taskbar/wndlist.c wndlist->fixed = fixed;
wndlist 104 uspace/app/taskbar/wndlist.c list_initialize(&wndlist->entries);
wndlist 107 uspace/app/taskbar/wndlist.c wndlist->pitch = wndlist_button_pitch_max_text;
wndlist 109 uspace/app/taskbar/wndlist.c wndlist->pitch = wndlist_button_pitch_max;
wndlist 111 uspace/app/taskbar/wndlist.c *rwndlist = wndlist;
wndlist 122 uspace/app/taskbar/wndlist.c void wndlist_set_rect(wndlist_t *wndlist, gfx_rect_t *rect)
wndlist 124 uspace/app/taskbar/wndlist.c wndlist->rect = *rect;
wndlist 133 uspace/app/taskbar/wndlist.c errno_t wndlist_open_wm(wndlist_t *wndlist, const char *wndmgt_svc)
wndlist 140 uspace/app/taskbar/wndlist.c rc = wndmgt_open(wndmgt_svc, &wndlist_wndmgt_cb, (void *)wndlist,
wndlist 141 uspace/app/taskbar/wndlist.c &wndlist->wndmgt);
wndlist 145 uspace/app/taskbar/wndlist.c rc = wndmgt_get_window_list(wndlist->wndmgt, &wlist);
wndlist 150 uspace/app/taskbar/wndlist.c rc = wndmgt_get_window_info(wndlist->wndmgt, wlist->windows[i],
wndlist 156 uspace/app/taskbar/wndlist.c rc = wndlist_append(wndlist, wlist->windows[i],
wndlist 171 uspace/app/taskbar/wndlist.c if (wndlist->wndmgt != NULL) {
wndlist 172 uspace/app/taskbar/wndlist.c wndmgt_close(wndlist->wndmgt);
wndlist 173 uspace/app/taskbar/wndlist.c wndlist->wndmgt = NULL;
wndlist 182 uspace/app/taskbar/wndlist.c void wndlist_destroy(wndlist_t *wndlist)
wndlist 187 uspace/app/taskbar/wndlist.c if (wndlist->wndmgt)
wndlist 188 uspace/app/taskbar/wndlist.c wndmgt_close(wndlist->wndmgt);
wndlist 191 uspace/app/taskbar/wndlist.c entry = wndlist_first(wndlist);
wndlist 193 uspace/app/taskbar/wndlist.c (void)wndlist_remove(wndlist, entry, false);
wndlist 194 uspace/app/taskbar/wndlist.c entry = wndlist_first(wndlist);
wndlist 197 uspace/app/taskbar/wndlist.c free(wndlist);
wndlist 209 uspace/app/taskbar/wndlist.c errno_t wndlist_append(wndlist_t *wndlist, sysarg_t wnd_id,
wndlist 224 uspace/app/taskbar/wndlist.c res = ui_window_get_res(wndlist->window);
wndlist 230 uspace/app/taskbar/wndlist.c entry->wndlist = wndlist;
wndlist 231 uspace/app/taskbar/wndlist.c list_append(&entry->lentries, &wndlist->entries);
wndlist 240 uspace/app/taskbar/wndlist.c if (wndlist_update_pitch(wndlist)) {
wndlist 245 uspace/app/taskbar/wndlist.c e = wndlist_first(wndlist);
wndlist 247 uspace/app/taskbar/wndlist.c wndlist_set_entry_rect(wndlist, e);
wndlist 252 uspace/app/taskbar/wndlist.c return wndlist_repaint(wndlist);
wndlist 254 uspace/app/taskbar/wndlist.c wndlist_set_entry_rect(wndlist, entry);
wndlist 276 uspace/app/taskbar/wndlist.c errno_t wndlist_remove(wndlist_t *wndlist, wndlist_entry_t *entry,
wndlist 284 uspace/app/taskbar/wndlist.c assert(entry->wndlist == wndlist);
wndlist 288 uspace/app/taskbar/wndlist.c last = wndlist_last(wndlist);
wndlist 291 uspace/app/taskbar/wndlist.c ui_fixed_remove(wndlist->fixed, ui_pbutton_ctl(entry->button));
wndlist 295 uspace/app/taskbar/wndlist.c if (wndlist_update_pitch(wndlist)) {
wndlist 299 uspace/app/taskbar/wndlist.c e = wndlist_first(wndlist);
wndlist 301 uspace/app/taskbar/wndlist.c wndlist_set_entry_rect(wndlist, e);
wndlist 306 uspace/app/taskbar/wndlist.c rc = wndlist_repaint(wndlist);
wndlist 320 uspace/app/taskbar/wndlist.c wndlist_set_entry_rect(wndlist, e);
wndlist 344 uspace/app/taskbar/wndlist.c bool wndlist_update_pitch(wndlist_t *wndlist)
wndlist 353 uspace/app/taskbar/wndlist.c res = ui_window_get_res(wndlist->window);
wndlist 366 uspace/app/taskbar/wndlist.c nbuttons = wndlist_count(wndlist);
wndlist 368 uspace/app/taskbar/wndlist.c pitch = (wndlist->rect.p1.x - wndlist->rect.p0.x + pad) / nbuttons;
wndlist 378 uspace/app/taskbar/wndlist.c if (pitch == wndlist->pitch)
wndlist 381 uspace/app/taskbar/wndlist.c wndlist->pitch = pitch;
wndlist 392 uspace/app/taskbar/wndlist.c errno_t wndlist_update(wndlist_t *wndlist, wndlist_entry_t *entry,
wndlist 396 uspace/app/taskbar/wndlist.c assert(entry->wndlist == wndlist);
wndlist 418 uspace/app/taskbar/wndlist.c void wndlist_set_entry_rect(wndlist_t *wndlist, wndlist_entry_t *entry)
wndlist 429 uspace/app/taskbar/wndlist.c e = wndlist_first(wndlist);
wndlist 436 uspace/app/taskbar/wndlist.c res = ui_window_get_res(wndlist->window);
wndlist 444 uspace/app/taskbar/wndlist.c pitch = wndlist->pitch;
wndlist 446 uspace/app/taskbar/wndlist.c rect.p0.x = wndlist->rect.p0.x + pitch * idx;
wndlist 447 uspace/app/taskbar/wndlist.c rect.p0.y = wndlist->rect.p0.y;
wndlist 448 uspace/app/taskbar/wndlist.c rect.p1.x = wndlist->rect.p0.x + pitch * (idx + 1) - pad;
wndlist 449 uspace/app/taskbar/wndlist.c rect.p1.y = wndlist->rect.p1.y;
wndlist 452 uspace/app/taskbar/wndlist.c if (rect.p1.x > wndlist->rect.p1.x) {
wndlist 455 uspace/app/taskbar/wndlist.c ui_fixed_remove(wndlist->fixed,
wndlist 462 uspace/app/taskbar/wndlist.c ui_fixed_add(wndlist->fixed,
wndlist 481 uspace/app/taskbar/wndlist.c ui = ui_window_get_ui(entry->wndlist->window);
wndlist 501 uspace/app/taskbar/wndlist.c ui = ui_window_get_ui(entry->wndlist->window);
wndlist 502 uspace/app/taskbar/wndlist.c gc = ui_window_get_gc(entry->wndlist->window);
wndlist 503 uspace/app/taskbar/wndlist.c res = ui_window_get_res(entry->wndlist->window);
wndlist 531 uspace/app/taskbar/wndlist.c wndlist_t *wndlist = (wndlist_t *)arg;
wndlist 536 uspace/app/taskbar/wndlist.c ui = ui_window_get_ui(wndlist->window);
wndlist 539 uspace/app/taskbar/wndlist.c rc = wndmgt_get_window_info(wndlist->wndmgt, wnd_id, &winfo);
wndlist 544 uspace/app/taskbar/wndlist.c rc = wndlist_append(wndlist, wnd_id, winfo->caption,
wndlist 568 uspace/app/taskbar/wndlist.c wndlist_t *wndlist = (wndlist_t *)arg;
wndlist 572 uspace/app/taskbar/wndlist.c ui = ui_window_get_ui(wndlist->window);
wndlist 575 uspace/app/taskbar/wndlist.c entry = wndlist_entry_by_id(wndlist, wnd_id);
wndlist 581 uspace/app/taskbar/wndlist.c (void) wndlist_remove(wndlist, entry, true);
wndlist 592 uspace/app/taskbar/wndlist.c wndlist_t *wndlist = (wndlist_t *)arg;
wndlist 598 uspace/app/taskbar/wndlist.c ui = ui_window_get_ui(wndlist->window);
wndlist 601 uspace/app/taskbar/wndlist.c entry = wndlist_entry_by_id(wndlist, wnd_id);
wndlist 607 uspace/app/taskbar/wndlist.c rc = wndmgt_get_window_info(wndlist->wndmgt, wnd_id, &winfo);
wndlist 613 uspace/app/taskbar/wndlist.c (void) wndlist_update(wndlist, entry, winfo->caption,
wndlist 625 uspace/app/taskbar/wndlist.c wndlist_entry_t *wndlist_entry_by_id(wndlist_t *wndlist, sysarg_t wnd_id)
wndlist 629 uspace/app/taskbar/wndlist.c entry = wndlist_first(wndlist);
wndlist 645 uspace/app/taskbar/wndlist.c wndlist_entry_t *wndlist_first(wndlist_t *wndlist)
wndlist 649 uspace/app/taskbar/wndlist.c link = list_first(&wndlist->entries);
wndlist 661 uspace/app/taskbar/wndlist.c wndlist_entry_t *wndlist_last(wndlist_t *wndlist)
wndlist 665 uspace/app/taskbar/wndlist.c link = list_last(&wndlist->entries);
wndlist 681 uspace/app/taskbar/wndlist.c link = list_next(&cur->lentries, &cur->wndlist->entries);
wndlist 693 uspace/app/taskbar/wndlist.c size_t wndlist_count(wndlist_t *wndlist)
wndlist 695 uspace/app/taskbar/wndlist.c return list_count(&wndlist->entries);
wndlist 703 uspace/app/taskbar/wndlist.c errno_t wndlist_repaint(wndlist_t *wndlist)
wndlist 705 uspace/app/taskbar/wndlist.c if (ui_is_suspended(ui_window_get_ui(wndlist->window)))
wndlist 708 uspace/app/taskbar/wndlist.c return ui_window_paint(wndlist->window);
wndlist 722 uspace/app/taskbar/wndlist.c dev_id = entry->wndlist->ev_idev_id;
wndlist 724 uspace/app/taskbar/wndlist.c (void) wndmgt_activate_window(entry->wndlist->wndmgt,
HelenOS homepage, sources at GitHub