MCPcopy Create free account
hub / github.com/audacity/audacity / SetAnonymousState

Method SetAnonymousState

modules/sharing/mod-cloud-audiocom/ui/UserPanel.cpp:184–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void UserPanel::SetAnonymousState()
185{
186 mUserName->SetLabel(anonymousText.Translation());
187 mUserImage->SetBitmap(theTheme.Bitmap(bmpAnonymousUser));
188 mUserImage->SetLabel(anonymousText); // for screen readers
189 mLinkButton->SetLabel(XXO("Sign in").Translation());
190 mLinkButton->Show(mLinkButtonVisible);
191
192 OnStateChanged(false);
193}
194
195} // namespace audacity::cloud::audiocom

Callers

nothing calls this directly

Calls 4

TranslationMethod · 0.80
SetLabelMethod · 0.45
SetBitmapMethod · 0.45
ShowMethod · 0.45

Tested by

no test coverage detected