MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / UpdateTrayVisibility

Method UpdateTrayVisibility

TranslucentTB/mainappwindow.cpp:303–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void MainAppWindow::UpdateTrayVisibility(bool visible)
304{
305 if (!m_HideIconOverride && visible)
306 {
307 Show();
308 }
309 else
310 {
311 Hide();
312 }
313}
314
315MainAppWindow::MainAppWindow(Application &app, bool hideIconOverride, bool hasPackageIdentity, HINSTANCE hInstance, DynamicLoader &loader) :
316 // make the window topmost so that the context menu shows correctly

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected