MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / drawingFade

Function drawingFade

source/drawing.c:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static void drawingFade(float width, float height)
208{
209 if (s_brightnessLevel >= 1.0f) return;
210 drawingWithColor(((u32)((1-s_brightnessLevel)*255)) << 24);
211 drawingDrawQuad(0, 0, width, height);
212}
213
214static void drawingTopScreen(float iod)
215{

Callers 2

drawingTopScreenFunction · 0.85
drawingBottomScreenFunction · 0.85

Calls 2

drawingWithColorFunction · 0.85
drawingDrawQuadFunction · 0.85

Tested by

no test coverage detected