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

Method Paint

Applications/Shell/main.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void Paint(surface_t* surface){
59 if(win->state == Lemon::Shell::ShellWindowStateActive || pressed){
60 Lemon::Graphics::DrawRect(fixedBounds, {42, 50, 64, 255}, surface);
61 }
62
63 DrawButtonLabel(surface, false);
64 }
65
66 void OnMouseUp(vector2i_t mousePos){
67 pressed = false;

Callers 1

mainFunction · 0.45

Calls 1

DrawRectFunction · 0.50

Tested by

no test coverage detected