summaryrefslogtreecommitdiff
path: root/scene/gui/view_panner.cpp
AgeCommit message (Collapse)Author
2023-01-23Add gesture to ViewPanner and simplify a bit its APIGilles Roudière
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-10-13fixed holding alt while zooming zooms in by 2 increments.MladoniSzabi
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-04-01Fix that slow mouse wheel scroll has no zoom effect on 2D editorC.Even
* scroll_vec in ViewPanner::gui_input is multiplied by float factors, so it should be a Vector2 rather than Vector2i * Fixes #57423
2022-01-24Fix 2D Pan Toolkobewi
2022-01-23Minor tweaks and fixes to panningkobewi
2022-01-21Add ViewPanner to 2D editorkobewi
2022-01-14Add ViewPanner to more editorskobewi
2022-01-11Unify panning in sub-editors and make it configurablekobewi