MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / RemoveWindow

Function RemoveWindow

Applications/Shell/main.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void RemoveWindow(ShellWindow* win){
89 WindowButton* btn = taskbarWindows[win];
90 taskbarWindows.erase(win);
91
92 taskbarWindowsContainer->RemoveWidget(btn);
93 delete btn;
94}
95
96void OnTaskbarPaint(surface_t* surface){
97 Lemon::Graphics::DrawGradientVertical(0,0,surface->width, surface->height, {0x33, 0x2c, 0x29, 255}, {0x2e, 0x29, 0x29, 255},surface);

Callers 2

PollCommandsMethod · 0.70
PollMethod · 0.50

Calls 1

RemoveWidgetMethod · 0.45

Tested by

no test coverage detected