MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateCaption

Method updateCaption

Tools/LayoutEditor/WorkspaceControl.cpp:624–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 }
623
624 void WorkspaceControl::updateCaption()
625 {
626 if (getActivate())
627 {
628 int scale = (int)(getScale() * (double)100);
629 addUserTag("CurrentScale", MyGUI::utility::toString(scale));
630
631 CommandManager::getInstance().executeCommand("Command_UpdateAppCaption");
632 }
633 }
634
635 void WorkspaceControl::updateMenu()
636 {

Callers

nothing calls this directly

Calls 3

addUserTagFunction · 0.85
toStringFunction · 0.85
executeCommandMethod · 0.45

Tested by

no test coverage detected