MCPcopy Create free account
hub / github.com/defold/defold / GetHeaderArea

Function GetHeaderArea

engine/profiler/src/profiler_render.cpp:415–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 }
414
415 static Area GetHeaderArea(DisplayMode display_mode, const Area& profiler_area)
416 {
417 Size s(profiler_area.s.w, CHARACTER_HEIGHT + CHARACTER_BORDER * 2);
418 Position p(profiler_area.p.x, profiler_area.p.y + profiler_area.s.h - s.h);
419 return Area(p, s);
420 }
421
422 static Area GetDetailsArea(DisplayMode display_mode, const Area& profiler_area, const Area& header_area)
423 {

Callers 1

DrawFunction · 0.85

Calls 1

AreaClass · 0.85

Tested by

no test coverage detected