Changed Hopper to wtHopper and adjusted .gitignore.
This commit is contained in:
parent
443b657b7d
commit
87a7d3ec64
3
.gitignore
vendored
3
.gitignore
vendored
@ -88,7 +88,8 @@ src/AllFiles.lst
|
|||||||
*.opensdf
|
*.opensdf
|
||||||
*.sdf
|
*.sdf
|
||||||
*.sln
|
*.sln
|
||||||
*.opendb
|
*.VC.opendb
|
||||||
|
*.VC.db
|
||||||
*.idb
|
*.idb
|
||||||
|
|
||||||
# cmake output folders and files
|
# cmake output folders and files
|
||||||
|
@ -1640,7 +1640,7 @@ end
|
|||||||
|
|
||||||
-- Set window contents:
|
-- Set window contents:
|
||||||
-- a_Player is a cPlayer object received from the outside of this code fragment
|
-- a_Player is a cPlayer object received from the outside of this code fragment
|
||||||
local Window = cLuaWindow(cWindow.Hopper, 3, 3, "TestWnd");
|
local Window = cLuaWindow(cWindow.wtHopper, 3, 3, "TestWnd");
|
||||||
Window:SetSlot(a_Player, 0, cItem(E_ITEM_DIAMOND, 64));
|
Window:SetSlot(a_Player, 0, cItem(E_ITEM_DIAMOND, 64));
|
||||||
Window:SetOnClosing(OnClosing);
|
Window:SetOnClosing(OnClosing);
|
||||||
Window:SetOnSlotChanged(OnSlotChanged);
|
Window:SetOnSlotChanged(OnSlotChanged);
|
||||||
|
Loading…
Reference in New Issue
Block a user