MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetNextLinePosition

Function GetNextLinePosition

TombEngine/Renderer/RendererDrawMenu.cpp:64–64  ·  view source on GitHub ↗

Helper functions to jump caret to new line

Source from the content-addressed store, hash-verified

62
63 // Helper functions to jump caret to new line
64 inline void GetNextLinePosition(int* value, float scale = 1.0f) { *value += MenuVerticalLineSpacing * scale; }
65 inline void GetNextNarrowLinePosition(int* value) { *value += MenuVerticalNarrowLineSpacing; }
66 inline void GetNextBlockPosition(int* value) { *value += MenuVerticalBlockSpacing; }
67

Callers 6

InitializeMenuBarsMethod · 0.85
RenderOptionsMenuMethod · 0.85
RenderTitleMenuMethod · 0.85
RenderPauseMenuMethod · 0.85
RenderLoadSaveMenuMethod · 0.85
DrawStatisticsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected