forked from Mirrors/openclonk
parent
26fec4ca89
commit
f5504f7497
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB |
|
@ -27,18 +27,17 @@ public func GetSlotId() { return position; }
|
|||
|
||||
public func SetSelected(int nr)
|
||||
{
|
||||
SetGraphics("Hand", GUI_Backpack_Slot_Icon, 4, GFXOV_MODE_Base);
|
||||
|
||||
if(nr == 0)
|
||||
SetGraphics("LeftHand", GUI_Backpack_Slot_Icon, 4, GFXOV_MODE_Base);
|
||||
SetObjDrawTransform(700, 0, -17000, 0, 700, 17000, 4);
|
||||
if(nr == 1)
|
||||
SetGraphics("RightHand", GUI_Backpack_Slot_Icon, 5, GFXOV_MODE_Base);
|
||||
//SetGraphics(nil, nil, MI_SELECTION_LAYER);
|
||||
//SetClrModulation(HSL(255-nr*86, 200, 150));
|
||||
SetObjDrawTransform(-700, 0, 17000, 0, 700, 17000, 4);
|
||||
}
|
||||
|
||||
public func SetUnselected()
|
||||
{
|
||||
SetGraphics(nil,nil,4);
|
||||
SetGraphics(nil,nil,5);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue