| 310 | } |
| 311 | |
| 312 | void 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 | |
| 326 | void afxSpellButton::setPage(U8 page) |
| 327 | { |