blob: 7867265ac4938a4795b73fc1ccf66342326041ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "IUIScene_AbstractContainerMenu.h"
// The 0-indexed slot in the inventory list that lines up with the result slot
#define ENCHANT_SCENE_ENCHANT_BUTTONS_UP_OFFSET 3
#define ENCHANT_SCENE_ENCHANT_BUTTONS_DOWN_OFFSET -7
#define ENCHANT_SCENE_INGREDIENT_SLOT_UP_OFFSET 0
#define ENCHANT_SCENE_INGREDIENT_SLOT_DOWN_OFFSET 0
class EnchantmentMenu;
class IUIScene_EnchantingMenu : public virtual IUIScene_AbstractContainerMenu
{
protected:
virtual ESceneSection GetSectionAndSlotInDirection( ESceneSection eSection, ETapState eTapDirection, int *piTargetX, int *piTargetY );
virtual void handleOtherClicked(int iPad, ESceneSection eSection, int buttonNum, bool quickKey);
int getSectionStartOffset(ESceneSection eSection);
virtual bool IsSectionSlotList( ESceneSection eSection );
public:
EnchantmentMenu *getMenu();
};
|