| 79 | |
| 80 | bool paintTaskbar = true; |
| 81 | void AddWindow(ShellWindow* win){ |
| 82 | WindowButton* btn = new WindowButton(win, {0, 0, 0, 0} /* The LayoutContainer will handle bounds for us*/); |
| 83 | taskbarWindows.insert(std::pair<ShellWindow*, WindowButton*>(win, btn)); |
| 84 | |
| 85 | taskbarWindowsContainer->AddWidget(btn); |
| 86 | } |
| 87 | |
| 88 | void RemoveWindow(ShellWindow* win){ |
| 89 | WindowButton* btn = taskbarWindows[win]; |
no test coverage detected