| 51 | |
| 52 | public: |
| 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){ |
nothing calls this directly
no outgoing calls
no test coverage detected