<SampleDefinition
name = "CEGUIInventoryDemo"
type = "C++ Module"
summary = "The demo contains an RPG style inventory that allows dragging shaped items from one inventory window to another. Red and green colours display if the item can be dropped at the current position."
description = "To achieve this the custom windows "TaharezLook/InventoryReceiver" and "TaharezLook/InventoryItem" were added via the "InventoryComponents.looknfeel" file. For handling the mechanics of allowing or refusing items to be dropped at set position, the InventoryReceiver class provides extra functionality in the C++ code. Event handlers are used to react to drag n' drop events for this purpose. "
credits = "CrazyEddie"
/>
|