MCPcopy Create free account
hub / github.com/ZDoom/Raze / OnTimerExpired

Method OnTimerExpired

libraries/ZWidget/src/widgets/textedit/textedit.cpp:848–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848void TextEdit::OnTimerExpired()
849{
850 if (IsVisible() == false)
851 {
852 timer->Stop();
853 return;
854 }
855
856 if (cursor_blink_visible)
857 timer->Start(500);
858 else
859 timer->Start(500);
860
861 cursor_blink_visible = !cursor_blink_visible;
862 Update();
863}
864
865void TextEdit::OnGeometryChanged()
866{

Callers

nothing calls this directly

Calls 2

StopMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected