Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Paint
Method
Paint
Applications/LemonPaint/main.cpp:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
std::vector<Brush*> brushes;
17
18
void Colour::Paint(surface_t* surface){
19
Lemon::Graphics::DrawRect(bounds, colour, surface);
20
}
21
22
void Colour::OnMouseDown(vector2i_t mousePos){
23
canvas->colour = colour;
Callers
6
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
1
DrawRect
Function · 0.50
Tested by
no test coverage detected