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

Method WindowButton

Applications/Shell/main.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52public:
53 WindowButton(ShellWindow* win, rect_t bounds) : Button(win->title.c_str(), bounds){
54 this->win = win;
55 labelAlignment = Lemon::GUI::TextAlignment::Left;
56 }
57
58 void Paint(surface_t* surface){
59 if(win->state == Lemon::Shell::ShellWindowStateActive || pressed){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected