Commit Graph

10 Commits

Author SHA1 Message Date
RealBadAngel c83ce3cd00 Update src/guiFormSpecMenu.cpp
Added to formspec backgrounds:
background[pos_x,pos_y;size_x,size_y;background_image]
When backgrounds are used in formspec no item slot rectangles are drawn.
2012-11-05 23:28:01 +01:00
RealBadAngel 6f5bc28c1e Draw images before inventories. Allows to use image as background. 2012-11-04 21:13:34 +01:00
Perttu Ahola e1a495ee30 Make inventory GUI do sane things when server-side inventory acts unusually 2012-09-02 22:51:38 +03:00
Perttu Ahola 6495007924 Fix bug in moving a larger sized stack in inventory on top of another
- You have 2 stacks: a with x items and b with y<x items
- Take a with your mouse and place it on b
- Whole stack a moves to b
- (y * 2 - x) items move from b to a
- (x - y) items are left to the mouse cursor
2012-09-02 20:24:45 +03:00
Perttu Ahola a26a66a8c4 Restore focus to formspec menu when pressing a button 2012-07-25 18:28:40 +03:00
Perttu Ahola db62c227c8 Improve formspec positioning 2012-07-25 16:30:23 +03:00
Perttu Ahola 9eaf93d41d Detached inventory callbacks and reworked node metadata callbacks 2012-07-25 02:36:54 +03:00
Perttu Ahola 2ac20982e0 Detached inventories 2012-07-24 20:57:17 +03:00
Perttu Ahola 6dfefaf229 Formspec button_exit[] and image_button_exit[] 2012-07-22 17:40:48 +03:00
darkrose 506203345b Implement formspec 2012-07-22 17:40:41 +03:00