summaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.cpp
Commit message (Collapse)AuthorAge
* Fix scrollbarsBlockMen2015-11-12
|
* Use warningstream for log messages with WARNINGShadowNinja2015-10-14
| | | | Remove DTIME macro and its uses, too
* Clear list rings when loading a new formspecest312015-10-10
| | | | | | | | | Fixes a bug where the old list ring remained when a new formspec was displayed over the old one. This created the list-ring of the new formspec to be partly ignored. Thanks to @VanessaE to report the bug, and @DonBatman to produce the code that exposed it.
* Change i++ to ++iDavid Jones2015-08-25
|
* Fix intlGUIEditBox leak and uninitialized value in Mapper (reported by valgrind)Kahrl2015-08-10
|
* Add MoveSomewhere inventory actionest312015-06-23
| | | | Improve shift+click experience
* Don't print an error for valid listring[] formspecest312015-06-18
|
* GUIFormSpecMenu::OnEvent code style update and small refactorest312015-06-16
| | | | | | | | * Make method (more) consistent with current code stlye * Move index into loop constructor after @rubenwardy's suggestion * Cache inv_s->getList(s.listname), which removes a possibly bad scenario of inv_s being null. * Properly check for validity
* Add list-ringsest312015-06-16
| | | | | | | Adds list-rings, a method to implement item sending between inventories via shift-click. Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method. Also adds them to minimal game, and the standard inventory. Craft output slots are not supported.
* Use utf-8 in formspecsIlya Zhuravlev2015-06-13
|
* Make split method staticest312015-06-01
|
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* Fix some minor details from 6d61375kwolekr2015-04-01
|
* Clean scaling pre-filter for formspec/HUD.Aaron Suen2015-04-01
|
* Disable double-click -> ESC translation for main menuCraig Robbins2015-03-14
|
* Unescape tooltip textsest312015-03-11
| | | | | | Previously, tooltips didn't unescape escaped formspec texts. Item descriptions that trigger tooltips like inside inventories or for item_image_button don't need to get unescaped, as they don't get set using formspec, but from lua.
* Stop formspecs closing with double-click in empty areaCraig Robbins2015-03-09
| | | | | | Behaviour on Android remains the same until other alternatives can be devised (if possible) See #2425 (and the many other -- now closed -- issues reporting this feature as a bug)
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-07
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot2015-03-05
| | | | tile.hpp to src/client/
* Move hex.h to util/Loic Blot2015-02-21
|
* Fix Exit to OS button focus in Pause Menungosang2015-02-10
|
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-05
|
* Performance fixes.onkrot2015-01-13
|
* Remove automatic consistent formspec size <-> font size (now has to be done ↵sapier2015-01-09
| | | | | | | manually) Set builtin formspecs to autoscale in order to get consistent formspec look and feel Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
* Fix logic of checkbox formspec element validity checkingKahrl2015-01-09
|
* Fixes for androidsapier2015-01-06
| | | | | | | | | Copy only minetest_game to apk by default Don't copy .git and .svn folders to apk Fix bouncing asset copy scrollbar due to long filepaths Reenable font scaling to fix broken menu on high dpi screens Implement minetest loglevel to android loglevel mapping Disable touch digging while moving around
* Fix rounding error in font size making main menu and in game font sizes ↵sapier2015-01-02
| | | | inconsistent
* Fix segfault when dragging mouse out of mainmenu window (#1910)Kahrl2014-12-13
|
* Responsive tooltip offset for Android.Kodexky2014-12-13
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* (INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins2014-12-05
| | | | Until a permanent fix can be developed
* Right mouse button behaviour for craft/inventory If right mousebutton ↵Craig Robbins2014-12-04
| | | | 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.
* Make hud use fontengine toosapier2014-11-30
| | | | | Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
* Scale form elements consistentlyZefram2014-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Implement proper font handlingsapier2014-11-30
|
* Fix uninitialized variable warningkwolekr2014-10-30
|
* Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanismKahrl2014-10-24
|
* Fix use of unitialized variables in mouse button handlingCraig Robbins2014-10-08
|
* Add [colorize modifierBlockMen2014-10-05
|
* Standardize tooltip row detectionBlockMen2014-09-28
|
* Fix multilined description in tooltips (fixes #1688)BlockMen2014-09-28
|
* Fix GCC reorder warningShadowNinja2014-09-21
| | | | Caused by a020d1b653f94fbcaac06c15f9dbab4521fda355.
* Add inventory right click drag and dropsruz252014-09-21
|
* Allow taking screenshots of formspecs and move message to chatBlockMen2014-09-21
|
* Make tooltip_show_delay=0 workZefram2014-07-16
|
* Permit non-integer sizes for item_image[]Zefram2014-07-16
|
* Add srollbar formspec elementsapier2014-07-16
|
* Fix errors/warnings reported by valgrindsfan52014-07-06
|
* Add support for Android 2.3+sapier2014-06-29
| | | | | | | | | | | | | 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!
* Add formspec api versioningsapier2014-06-29
|