summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/default_theme.cpp
AgeCommit message (Collapse)Author
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-08Always emit dynamic font change in update_oversamplingRuslan Mustakov
Fixes #15787. The issue occurred when two (or more) separate DynamicFont instances used the same DynamicFontAtSize instance due to having equal properties. The first instance updated its data_at_size and emitted "changed" signal, but the second did not because it considered the data_at_size to be up to date, even though it has just been updated.
2018-05-08Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov
- Implement outlines based on FreeType Stroker API. This allows artifact-free results, similar to what you will see in Web or any text editing tools. Outline is a part of DynamicFont rather than Label, because outlines have to be baked into the font's atlas. Font has a default outline_color and a Label can specify font_outline_modulator that will be multiplied with the Font's color to get the final result. - draw_char now has to be called twice to fully render a text - first with p_outline == true for each character and then with p_outline == false for each character. - Number of draw-calls is reduced from 5 to 2 per outlined character. - Overall cleanup of DynamicFont code, extracted duplicated code pieces into separate methods. - The change is backward-compatible - Labels still have outline properties that work exactly as they worked before. Closes #16279.
2018-04-12Implement font shadows for RichTextLabelMarkus Törnqvist
2018-03-27Add radio-button-looking entries to PopupMenuPedro J. Estébanez
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually. `is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button. Keeping check in the name adds an additional clue about these facts. Closes #13055.
2018-01-11set a better initial size to TextEdit nodesPaul Joannon
Address #15163
2018-01-04Merge pull request #15186 from GodotExplorer/default-themeRémi Verschelde
Fix errors with custom theme and custom font in project settings.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-30Fix errors with custom default theme and custom fonts.geequlim
2017-12-11Fix CheckBox minimum sizevolzhs
2017-12-11Fix CheckButton minimum sizevolzhs
2017-12-07Changed current line draw order and added code folding colorPaulb23
2017-12-06Merge pull request #13409 from YeldhamDev/textedit_disabledRémi Verschelde
Add disabled theme to TextEdit
2017-12-06Fix missing stylebox for LinkButton's hover statesWaldson Patrício
2017-12-02Fixed FileDialog's "parent folder" button not having a texture.Michael Alexsander Silva Dias
2017-12-01Add disabled theme to TextEdit.Michael Alexsander Silva Dias
2017-11-24Fix style error with MenuButton in default themegeequlim
2017-11-15Remove obsolete ButtonArray themingRémi Verschelde
ButtonArrays have been removed in 3.0. [ci skip]
2017-10-13Added and improved some missing icons, plus some other visual fixes.Daniel J. Ramirez
2017-10-11Added grabber_area to default_theme sliders. Fixes #11261hickop
2017-09-28Several visual improvements.Daniel J. Ramirez
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
2017-09-18Add some options and reorganize the 2D editor menus. Makes available forced ↵Gilles Roudiere
snapping.
2017-09-06rtl uses styleBoxEmpty as defualttoger5
2017-09-02Unified script panel backgrounds.toger5
- simplefied it with using the new rtl. - removed ("ScriptPanel", "EditorStyles") for since rtl now can be used - unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
2017-08-31changed-"HSlider" -> "VSlider" for focus style fixes #728toger5
2017-08-31Merge pull request #10096 from toger5/label_styleboxRémi Verschelde
fixed Import LineEdit to label + label stylebox
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-17fixed Import LineEdit to label + label styleboxtoger5
- added a normal stylebox to label. default is StyleBoxEmpty - changed drawing so that it draws correct with styleboxes with margins - changed the LineEdit in the import to use a label with the lineEdit stylebox
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-12Scroll bars now look different on presskbake
2017-07-18Fix ColorPicker to use theme constantsPoommetee Ketson
2017-07-11Slider: add set/is_editablePoommetee Ketson
2017-06-05Merge pull request #9038 from AlexHolly/rect2-rename-posRémi Verschelde
renamed all Rect2.pos to Rect2.position
2017-06-04Removed stupid right arrow to edit resource. Now simply click it..Juan Linietsky
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-05-20Merge pull request #8631 from volzhs/editor-theme-customRémi Verschelde
New customizable editor theme
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-09New customizable editor themevolzhs
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-20Merge pull request #8376 from RayKoopa/fix_stylebox_expand_marginRémi Verschelde
Respect the expand margin for StyleBoxTextures again.
2017-04-13Respect the expand margin for StyleBoTextures again.Ray Koopa
2017-04-12Fix editor style box for ToolButtonvolzhs
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06New particle system, mostly working, some small features missing.Juan Linietsky
2017-03-31Fixed WindowDialog not aligning properlyRobert Hernandez
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-01Added functionality for resizable dialogs.Ray Koopa
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-27Add disabled tabsRay Koopa