| 94 | } |
| 95 | |
| 96 | void OnTaskbarPaint(surface_t* surface){ |
| 97 | Lemon::Graphics::DrawGradientVertical(0,0,surface->width, surface->height, {0x33, 0x2c, 0x29, 255}, {0x2e, 0x29, 0x29, 255},surface); |
| 98 | |
| 99 | if(showMenu){ |
| 100 | Lemon::Graphics::surfacecpyTransparent(surface, &menuButton, {0, 1}, {0, menuButton.height / 2, menuButton.width, 30}); |
| 101 | } else { |
| 102 | Lemon::Graphics::surfacecpyTransparent(surface, &menuButton, {0, 1}, {0, 0, menuButton.width, 30}); |
| 103 | } |
| 104 | |
| 105 | sprintf(memString, "Used Memory: %lu/%lu KB", sysInfo.usedMem, sysInfo.totalMem); |
| 106 | Lemon::Graphics::DrawString(memString, surface->width - Lemon::Graphics::GetTextLength(memString) - 8, 10, 255, 255, 255, surface); |
| 107 | } |
| 108 | |
| 109 | void InitializeMenu(); |
| 110 | void PollMenu(); |
nothing calls this directly
no test coverage detected