aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
AgeCommit message (Collapse)Author
2015-02-10Fix Exit to OS button focus in Pause Menungosang
2015-02-10Network Layer 7 rework (Packet handling)Loic Blot
* Move networkcode to a dedicated directory * Rename clientserver.h to network/networkprotocol.h (Better name) and sanitize some includes * Create object NetworkPacket * It stores command (opcode) and data separated * It also stores peer_id * Data reading can be done by using a streaming interface * Change packet routing analysis * Remove old conditional analysis * Now uses function pointed analysis and add connection state ({Client,Server}::handlers) * Connection state permit to categorize condition to handle before analyze packets * Create a handler for depreciated messages, instead of duplicating code
2014-12-04Right mouse button behaviour for craft/inventory If right mousebutton ↵Craig Robbins
clicked once then don't drop single items into slots. If right mouse button has been clicked and held a second time, drop items as the mouse is moved. In the second case (automatically drop/place items as mouse is moved) only auto-drop into blank slots, or slots that contain the same item.
2014-11-30Scale form elements consistentlyZefram
The ratios between the sizes of form elements, including text, is now fixed, aside from variations caused by rounding. This makes form layout almost fully predictable, and particularly independent of player's screen size. The proportions of non-text elements are the traditional proportions. For compatibility, the way in which element positions and sizes are specified remains unchanged, in all its baroqueness, with one exception. The exception is that the position of a label[] element is now defined in terms of the vertically center of the first line of the label, rather than the bottom of the first line of the label. This change allows a label to be precisely aligned with button text or an edit box, which are positioned in a centering manner. Label positioning remains consistent with the previous system, just more precisely defined. Make multi-line label[] elements work properly. Previously the code set a bounding rectangle assuming that there would be only a single line, and as a result a multi-line label would be cut somewhere in the middle of the second line. Now multi-line labels not only work, but have guaranteed line spacing relative to inventory slots, to aid alignment. Incidentally fix tabheader[] elements which were being constrained to the wrong width. Given an unusually large form, in variable-size mode, the form rendering system now chooses a scale that will fit the entire form on the screen, if that doesn't make elements too small. Fixed-size forms, including the main menu, are have their sizes fixed in inch terms. The fixed size for fixed-size forms and the preferred and minimum sizes for variable-size forms all scale according to the gui_scaling parameter.
2014-11-30Implement proper font handlingsapier
2014-10-30Fix uninitialized variable warningkwolekr
2014-10-24Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanismKahrl
2014-10-05Add [colorize modifierBlockMen
2014-09-21Add inventory right click drag and dropsruz25
2014-09-21Allow taking screenshots of formspecs and move message to chatBlockMen
2014-07-16Add srollbar formspec elementsapier
2014-06-29Add support for Android 2.3+sapier
There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
2014-06-29Add formspec api versioningsapier
2014-06-25Add setting for tooltips show delay.RealBadAngel
2014-06-24Tooltips rework.RealBadAngel
Separate element for tooltips. Delayed showing, use global color or given ones.
2014-06-22Support for scalable font and gui elementssapier
Fix positioning of tabheader in order to be usable for scaling GUIs WARNING: this changes position of current tabheaders, mods have to adjust!
2014-06-18Fix bounding rect for formspec elements label vertlabel and checkboxessapier
2014-06-12Add support for exiting formspecs by doubleclicking outsidesapier
2014-04-22Fix formspec replacement handling for in game formspecssapier
2014-03-13Fix game pause in singleplayerBlockMen
2014-03-12Pass arguments by referenceSelat
2014-03-05Replace pause and message menu by formspec onessapier
2014-01-13Add formspec tableKahrl
2013-11-03Reworked formspecs and kahrl's hexcolor parserBlockMen
2013-11-03Send a on_receive_fields event when formspec is closed, with fields.quit = ↵Novatux
"true"
2013-09-11Change mainmenu texture handling + small misc changesKahrl
Texture names must now be escaped in formspec elements image[], background[], image_button[], image_button_exit[]. Instead of special-case handling of texture loading (and unloading which was missing) in guiFormSpecMenu.cpp, use the newly created ISimpleTextureSource interface which is a minimal subset of ITextureSource. There is an implementation of this interface used by GUIEngine (MenuTextureSource). Fix an off-by-one bug in unescape_string; it caused requests for a texture called "\0".
2013-08-19GUIFormSpecMenu focus fixesKahrl
2013-08-17Add translation for main menusapier
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-16Don't automatically scroll listbox when selecting an item in the middleKahrl
2013-08-16Formspec textlist: Black Irrlicht magic to detect fake doubleclicksKahrl
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-07-07Fix many formspec menu bugssapier
2013-07-06Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColorSfan5
2013-07-02Replace C++ mainmenu by formspec powered onesapier
2013-06-18Formspec: Don't perform black magic if selected item fits the guessKahrl
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-12-01New elements in formspec, item_image and item_image_button.RealBadAngel
Fixed also game bug drawing dragged item behind fields, buttons etc.
2012-11-30Make dragged itemstack following the mouse cursor much smootherJürgen Doser
by using the cursor coordinates directly, instead of updating them only when a mouse event is seen.
2012-11-08Adding background to FormspecRealBadAngel
2012-09-02Make inventory GUI do sane things when server-side inventory acts unusuallyPerttu Ahola
2012-07-24Detached inventoriesPerttu Ahola
2012-07-22Formspec button_exit[] and image_button_exit[]Perttu Ahola
2012-07-22minetest.register_on_player_receive_fields()Perttu Ahola
2012-07-22Implement formspecdarkrose