MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setSpellBook

Method setSpellBook

Engine/source/afx/ui/afxSpellButton.cpp:312–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void afxSpellButton::setSpellBook(afxSpellBook* book, U8 page)
313{
314 book_slot.x = page;
315
316 if (spellbook)
317 clearNotify(spellbook);
318
319 spellbook = book;
320 update_bitmap();
321
322 if (spellbook)
323 deleteNotify(spellbook);
324}
325
326void afxSpellButton::setPage(U8 page)
327{

Callers 1

afxSpellButton.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected