MCPcopy Create free account
hub / github.com/TurningWheel/Barony / changeCurrentView

Method changeCurrentView

src/interface/interface.cpp:16787–16804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16785}
16786
16787void GenericGUIMenu::AlchemyGUI_t::changeCurrentView(GenericGUIMenu::AlchemyGUI_t::AlchemyView_t view)
16788{
16789 recipes.closeRecipePanel();
16790
16791 animTooltip = 0.0;
16792
16793 animPotion1 = 0.0;
16794 potion1Uid = 0;
16795 animPotion2 = 0.0;
16796 potion2Uid = 0;
16797 alchemyResultPotion.type = POTION_EMPTY;
16798 potionResultUid = 0;
16799 animPotionResult = 0.0;
16800
16801 itemRequiresTitleReflow = true;
16802
16803 openAlchemyMenu(view);
16804}
16805
16806void GenericGUIMenu::AlchemyGUI_t::closeAlchemyMenu()
16807{

Callers 2

createAlchemyMenuMethod · 0.80
createAssistShrineMethod · 0.80

Calls 9

isCharacterValidFromDLCFunction · 0.85
closeRecipePanelMethod · 0.80
findFrameMethod · 0.80
findButtonMethod · 0.80
setPressedMethod · 0.80
activateModuleMethod · 0.80
getVirtualMouseMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected