summaryrefslogtreecommitdiff
path: root/scene/gui/tab_container.cpp
AgeCommit message (Collapse)Author
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-27Signals: tab_changed now is emitted when it's on scene treeMateo Dev .59
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-01-30Fix tab container too large when tabs are hiddennathanwfranke
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-09-22Fix various problems with tab-related iconsMichael Alexsander Silva Dias
2019-08-30Merge pull request #25353 from azagaya/masterRémi Verschelde
Use also invisible tabs to calculate minimum size of tab container
2019-08-30Make tab containers in editor, project settings, and export dialog, to use ↵azagaya
hidden tabs for min size computation.
2019-07-29Translate TabContainer titles, when inherited from node nameFlorian Kothmeier
2019-05-06Fix 'TabContainer' not updating its tab titles when locale is changedMichael Alexsander Silva Dias
2019-05-03Make 'TabContainer' update when icon/title is changedMichael Alexsander Silva Dias
Fixes #28655.
2019-04-29Make buttons that trigger popups have the same scaleMichael Alexsander Silva Dias
2019-04-08Add ability to edit editor feature profilesJuan Linietsky
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-01-24Updates containers minimum size when some constants are modifiedgroud
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-07-05Merge pull request #19498 from guilhermefelipecgs/fix_regressionMax Hilbrunner
Fix "find and replace" initializing with wrong size
2018-06-13Fix "find and replace" initializing with wrong sizeGuilherme Felipe
Fix the code editor outside the allowed limits.
2018-06-12Fix TabContainer not showing tabs on left when resizing.Guilherme Felipe
Fix #19510.
2018-04-08Drag to rearrange Tabs and TabContainerianb96
2018-02-20Keep to show current script when closing all docsvolzhs
also fix error when removing multiple tabs from TabContainer at same frame. like closing multiple docs at once. Fix #16403
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-11Fix Index p_current=0 error at starting editorvolzhs
2017-10-30Fix crash when click an empty tabs containersanikoyes
2017-10-14tab container arrows don't work when a popup was setsantouits
2017-09-29Vertical alignement (TabContainer menu button)toger5
2017-09-22Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere
set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-17Merge pull request #10900 from toger5/theme_tab_borderRémi Verschelde
Added border for tabs + container.
2017-09-15Added border for tabs + container.toger5
- moved tabConetent position to be more reasonable. - fixed drawing order to allow those kind of styles.
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-18Rename localization method to `tr` againRémi Verschelde
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-17Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde
Also renames `set_message_translation` to `set_message_localization` for consistency.
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-13Replace GUI anchor type by a float between 0 and 1Gilles Roudiere
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-03Revert "Add new editor and default theme (WIP)"volzhs
This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
2017-04-27Add new editor and default theme (WIP)Daniel J. Ramirez
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05- `tab_changed` signal emits only by selecting a different tab.Thaer Razeq
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again. - Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index. - Add documentation for the added function and signals. Fix a typo too.