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

Function DrawString

Kernel/src/video.cpp:222–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 }
221
222 void DrawString(const char* str, unsigned int x, unsigned int y, uint8_t r, uint8_t g, uint8_t b) {
223 int xOffset = 0;
224 while (*str != 0) {
225 Video::DrawChar(*str, x + xOffset, y, r, g, b);
226 xOffset += 8;
227 str++;
228 }
229 }
230}

Callers 11

kmainFunction · 0.70
KernelPanicFunction · 0.70
DrawMethod · 0.50
PaintMethod · 0.50
mainFunction · 0.50
mainFunction · 0.50
PaintMethod · 0.50
OnWindowPaintFunction · 0.50
OnTaskbarPaintFunction · 0.50
mainFunction · 0.50
InitVideoFunction · 0.50

Calls 1

DrawCharFunction · 0.70

Tested by

no test coverage detected