aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change from "search dialog" to "search bar" on help screenGuilherme Silva2018-05-081-2/+53
|
* Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov2018-05-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* Merge pull request #18122 from olivergs/wip/rtl-content-heightMax Hilbrunner2018-05-071-3/+10
|\ | | | | RichTextLabel, doc: Added new method to get total content height
| * RichTextLabel, doc: Added new method to get total content heightOliver Gutierrez2018-04-111-3/+10
| |
* | Merge pull request #18146 from mjtorn/gh-mjtorn-rtl-shadowMax Hilbrunner2018-05-051-18/+46
|\ \ | | | | | | Implement font shadows for RichTextLabel
| * | Implement font shadows for RichTextLabelMarkus Törnqvist2018-04-121-18/+46
| |/
* / fix clang6 assignment errorthfrwn2018-04-211-2/+2
|/
* Fix `RichTextLabel` column size growing beyond its calculated `max_width`robfram2018-03-241-0/+33
| | | | | | | | | When `RichTextLabel` calculated the actual width of columns, it let them grow to sizes greater than its calculated `max_width`. Now this PR ensures no columns grows beyond `max_width`, and the excess width is distributed among the columns which can still grow. It should fix #17731.
* Fix bad rendering of BBCode tables in `RichTextLabel`robfram2018-03-181-3/+8
| | | | | | | | | | | | | | | | Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
* Fix more regressions in RichTextLabel from PR 15711Bernhard Liebl2018-03-021-9/+5
|
* Fix regression through fa98637acaab9135568bf0d43a65c9c96b59c32dpoke10242018-03-011-0/+5
|
* Fixes wrong vertical font layout in RichTextLabelBernhard Liebl2018-01-141-4/+22
|
* Bind many more properties to scriptsBojidar Marinov2018-01-121-0/+9
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Merge pull request #15317 from poke1024/fix-rtl-underlineRémi Verschelde2018-01-041-10/+11
|\ | | | | RichTextLabel: don't draw underline character-wise
| * RichTextLabel: don't draw underline on single charactersBernhard Liebl2018-01-041-10/+11
| |
* | Fix word wrapping in tables in RichTextLabelBernhard Liebl2018-01-041-4/+6
|/
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Double-click word selection for RichTextLabel (i.e. docs)Bernhard Liebl2017-12-281-0/+28
|
* Fix thin lines in editor gui on hidpi (issue 14691)Bernhard Liebl2017-12-151-1/+10
|
* Fix crash (and bug) in RichTextLabelpoke10242017-12-131-1/+1
|
* Fix crash in RichTextLabel::selection_copy()Bernhard Liebl2017-12-101-1/+1
|
* Rich Text Label: fixed deselection issueDmitry Koteroff2017-12-041-0/+11
|
* Native pan and zoom for macOSBernhard Liebl2017-11-211-0/+10
|
* Adding ability for single meta hoveringWill Nations2017-11-171-3/+23
|
* Fix selection and clicks on text in tables in RichTextLabelBernhard Liebl2017-11-051-0/+3
|
* Fixed RichTextLabel::add_newline() #12564Zher Huei Lee2017-11-021-1/+2
|
* Bind unbound enums, rearrange some by valuePoommetee Ketson2017-10-221-0/+1
|
* Merge pull request #11407 from toger5/selection_override_colorRémi Verschelde2017-10-151-1/+16
|\ | | | | added option to keep font color on selection + use consistent selection color in help (fixes: #11501)
| * keep font color on selection as defaulttoger52017-09-281-1/+16
| |
* | Add NIL_IS_VARIANT usage to few definitionsRuslan Mustakov2017-10-051-1/+1
| | | | | | | | | | The missing usage flag led to GDNative API descriptions containting arguments with "void" type.
* | RichTextLabel: Added get_visible_line_count method.Ferenc Arn2017-09-211-15/+51
|/ | | | Also exposed get_line_count to GDScript.
* Make clickable properly in editor helpvolzhs2017-09-161-8/+0
| | | | fixes #3671
* fixed copy on osx + help selection colortoger52017-09-041-1/+1
|
* richTextLable implemented stylebox supporttoger52017-09-021-9/+18
| | | | - also fixed issue with total_chars ignoring first line
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-18/+18
|
* Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-1/+1
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-3/+3
|
* Add object type hint for docsPoommetee Ketson2017-07-231-1/+1
|
* Added additional functions to RichTextLabel:TwistedTwigleg2017-07-081-2/+31
| | | | | | * Added set_text function to RichTextLabel * Added percent_visible attributes and functions to RichTextLabel This should make switching from Label to RichTextLabel easier.
* Add statements for script types of RichTextLabelgeequlim2017-06-241-2/+2
|
* Revert "Fix text warp in color blocks with CJK"Rémi Verschelde2017-06-071-1/+1
| | | | | | | This reverts commit cd778e00dc5362d00d4760c79fc301951f6f9b75. That commit introduced regressions for non-CJK languages are discussed in #8952. Fixes #9078.
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-2/+2
| | | | Make the naming consistent with other classes.
* Fix text warp in color blocks with CJKGeequlim2017-05-271-1/+1
| | | | (cherry picked from commit cd778e00dc5362d00d4760c79fc301951f6f9b75)
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-109/+104
| | | | this might cause bugs I haven't found yet..
* Implemented scrolling factor for smooth trackpad scrollingtoger52017-05-071-2/+4
| | | | | Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-910/+790
| | | | | | | | | | | | | | | | | | | | | | | | 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