MCPcopy Create free account
hub / github.com/crossuo/crossuo / Paste

Method Paste

src/ScreenStages/MainScreen.cpp:102–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void CMainScreen::Paste()
103{
104 if (g_EntryPointer == m_MainGump.m_PasswordFake)
105 {
106 m_Password->Paste();
107
108 const auto len = (int)m_Password->Length();
109 g_EntryPointer->Clear();
110
111 for (int i = 0; i < len; i++)
112 {
113 g_EntryPointer->Insert(L'*');
114 }
115 }
116 else
117 {
118 g_EntryPointer->Paste();
119 }
120}
121
122void CMainScreen::OnTextInput(const TextEvent &ev)
123{

Callers

nothing calls this directly

Calls 3

LengthMethod · 0.80
ClearMethod · 0.45
InsertMethod · 0.45

Tested by

no test coverage detected