summaryrefslogtreecommitdiff
path: root/src/gui
Commit message (Expand)AuthorAge
* Settings: Proper priority hierarchySmallJoker2021-01-29
* Include irrlichttypes.h first to work around Irrlicht#433 (#10872)Vitaliy2021-01-28
* Fix formspec list spacing (#10861)Vincent Robinson2021-01-23
* Make hypertext and textarea have proper scroll event propagation. (#10860)Vincent Robinson2021-01-23
* FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson2021-01-23
* Remove dead code (#10845)rubenwardy2021-01-22
* Factorize more guiEditBoxes code (#10789)Loïc Blot2021-01-13
* Refactor/gui editbox (#10787)Loïc Blot2021-01-07
* refacto: factorize multiple code parts from guiEditbox childs (#10782)Loïc Blot2021-01-04
* Formspecs: Fix broken texture escaping with model[]Jean-Patrick Guerrero2021-01-01
* Fix item tooltip background color not workingLars Mueller2020-12-28
* Fix some minor code issues all over the placesfan52020-12-24
* Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S2020-12-15
* Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"SmallJoker2020-12-14
* GUIFormSpecMenu: Shift+Click listring workaround for MacOSSmallJoker2020-12-12
* Change typedef to normal definitions in GUI codesfan52020-11-26
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-23
* Fix warnings about an unused variables and implicit conversion (#10586)red-0012020-11-12
* Add model[] formspec element (#10320)SmallJoker2020-11-04
* Fix box[]es not being clipped (#10473)DS2020-10-08
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-05
* Fix scroll bar overlapping text (again) (#9058)random-geek2020-10-03
* Reduce the FPS when the window is unfocused (#8837)HybridDog2020-10-03
* Make bgcolor tint button background images (#9818)Hugues Ross2020-08-29
* darken tabheader background color (#10299)Kezi2020-08-23
* Avoid drawing clipped out formspec elements (#10095)EvidenceB2020-08-23
* Fix MSVC compiler warnings (#10197)adrido2020-08-23
* Fix missing translation call in hypertext (#10296)Pierre-Yves Rollo2020-08-20
* Add gradients and borders to FormSpec boxes (#8676)v-rob2020-08-19
* Optimize formspec form size (#10144)v-rob2020-08-19
* Add font styling options to tables and textlists (#10203)v-rob2020-08-11
* Android: Fix ConfirmRegistration and PasswordChange input and scale size (#10...Maksim2020-07-21
* Formspecs: volume and key settings windows can now be closed by doubleclickin...Zughy2020-07-14
* Add FormSpec font styling options (#9763)v-rob2020-07-12
* Allow FormSpec elements to be focused with `set_focus` (#9353)v-rob2020-07-12
* Formspec: Make dropdowns optionally return event based on index, not value (#...v-rob2020-07-10
* Don't stop style parsing on unknown property (#10143)v-rob2020-07-03
* Fix wrong use of guiScalingImageButton in formspecs buttons (#10094)Pierre-Yves Rollo2020-06-24
* Android: Fix only right strafe working (#10046)rubenwardy2020-06-18
* TouchScreenGUI: fix some bugs, cleanupMoNTE482020-06-09
* TouchScreen Control: fix some bugs, cleanupMoNTE482020-06-09
* Fix real keyboard movements on touchscreen devicesMaksim2020-06-09
* Hide tooltip after ETIE_LEFT_UP (for touch control)MoNTE482020-06-09
* Add chat_font_size setting (#9736)SmallJoker2020-05-24
* Modernize include guards and add missing ones (#9898)Awkor2020-05-23
* Always use same default tabheader height (#9319)Paul Ouellette2020-05-09
* FormSpec: Add universal style selector `*` (#9718)v-rob2020-05-06
* Fix broken client if openal cannot be opened (#9804)Loïc Blot2020-05-05
* Add 'content_offset' and 'padding' style properties for buttons (#9661)Hugues Ross2020-05-02
* Add `animated_image` to clickthrough elements (#9724)v-rob2020-04-25
>&getStarParams() const { return m_star_params; } void setCloudParams(const CloudParams &cloud_params) { m_cloud_params = cloud_params; } const CloudParams &getCloudParams() const { return m_cloud_params; } bool checkModified() const { return m_dirty || inventory.checkModified(); } inline void setModified(const bool x) { m_dirty = x; } void setLocalAnimations(v2s32 frames[4], float frame_speed) { for (int i = 0; i < 4; i++) local_animations[i] = frames[i]; local_animation_speed = frame_speed; } void getLocalAnimations(v2s32 *frames, float *frame_speed) { for (int i = 0; i < 4; i++) frames[i] = local_animations[i]; *frame_speed = local_animation_speed; } void setDirty(bool dirty) { m_dirty = true; } u16 protocol_version = 0; // v1 for clients older than 5.1.0-dev u16 formspec_version = 1; session_t getPeerId() const { return m_peer_id; } void setPeerId(session_t peer_id) { m_peer_id = peer_id; } void onSuccessfulSave(); private: PlayerSAO *m_sao = nullptr; bool m_dirty = false; static bool m_setting_cache_loaded; static float m_setting_chat_message_limit_per_10sec; static u16 m_setting_chat_message_limit_trigger_kick; u32 m_last_chat_message_sent = std::time(0); float m_chat_message_allowance = 5.0f; u16 m_message_rate_overhead = 0; bool m_day_night_ratio_do_override = false; float m_day_night_ratio; std::string hud_hotbar_image = ""; std::string hud_hotbar_selected_image = ""; CloudParams m_cloud_params; SkyboxParams m_skybox_params; SunParams m_sun_params; MoonParams m_moon_params; StarParams m_star_params; session_t m_peer_id = PEER_ID_INEXISTENT; };