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

Method OnMouseUp

Applications/Shell/main.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void OnMouseUp(vector2i_t mousePos){
67 pressed = false;
68
69 if(win->lastState == Lemon::Shell::ShellWindowStateActive){
70 window->Minimize(win->id, true);
71 } else {
72 window->Minimize(win->id, false);
73 }
74 }
75};
76
77std::map<ShellWindow*, WindowButton*> taskbarWindows;

Callers

nothing calls this directly

Calls 1

MinimizeMethod · 0.45

Tested by

no test coverage detected