MCPcopy Create free account
hub / github.com/TASEmulators/fceux / ScrollLogWindowToLastLine

Function ScrollLogWindowToLastLine

src/drivers/win/tracer.cpp:1063–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061}
1062
1063void ScrollLogWindowToLastLine()
1064{
1065 tracesi.cbSize = sizeof(SCROLLINFO);
1066 tracesi.fMask = SIF_ALL;
1067 tracesi.nMin = 0;
1068 tracesi.nMax = tracelogbufusedsize;
1069 tracesi.nPos = tracesi.nMax - tracesi.nPage;
1070 if (tracesi.nPos < tracesi.nMin)
1071 tracesi.nPos = tracesi.nMin;
1072 SetScrollInfo(GetDlgItem(hTracer,IDC_SCRL_TRACER_LOG),SB_CTL,&tracesi,TRUE);
1073}
1074
1075void UpdateLogText(void)
1076{

Callers 2

EndLoggingSequenceFunction · 0.85
UpdateLogWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected