aboutsummaryrefslogtreecommitdiff
path: root/core/color.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed float Color conversions to int typesMax2018-06-191-13/+13
|
* Fix mismatch between Color.h and Color.from_hsv()Bernhard Liebl2018-03-141-0/+4
|
* Add Color.from_hsv()Bernhard Liebl2018-01-181-0/+49
|
* Revert "Fix bad color to HTML conversion. Alpha channel was added before RGB."Rémi Verschelde2018-01-161-1/+1
|
* -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes ↵Juan Linietsky2018-01-121-54/+53
| | | | | | #14686. -Refresh progress bar less often, makes baking, exporting, etc. faster.
* Fix bad color to HTML conversion. Alpha channel was added befor RGB.robfram2018-01-091-1/+1
|
* 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #11208 from kitsune/hex-color-shortcutsRémi Verschelde2017-09-191-0/+8
|\ | | | | Adds 3 and 4 digit html shortcuts to Color
| * Adds 3 and 4 digit html shortcuts to ColorDylan Enloe2017-09-121-0/+8
| | | | | | | | | | | | | | | | Color::html now expands 3 and 4 digit hex values into 6 and 8 digit values by repeating each digit. This is to bring it in line with how html handles these values fixes #10997
* | Implement +,-,/, * and negate operators for Color type.bncastle2017-09-161-0/+119
| |
* | Change Color.to_32() to to_rgba32() and format as RGBAmrawlingst2017-09-071-6/+6
|/
* added to_ABGR32() to core/Colortoger52017-08-301-0/+12
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-151/+140
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-0/+1
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Merge pull request #7093 from bojidar-bg/named-colorsRémi Verschelde2017-01-111-1/+21
|\ | | | | Add named colors to GDScript/Visual Script/core.
| * Add named colors to GDScript/Visual Script/core.Bojidar Marinov2016-12-171-1/+21
| | | | | | | | Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* remove trailing whitespaceHubert Jarosz2016-03-091-7/+7
|
* fix color when hue is set to 1Nuno Donato2016-02-181-5/+7
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* fix typo error in Color::invertchoikwa2015-05-241-1/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* closes #163Dana Olson2014-12-081-1/+1
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+377