summaryrefslogtreecommitdiff
path: root/scene/resources/style_box.cpp
AgeCommit message (Collapse)Author
2018-05-07Merge pull request #17828 from bojidar-bg/17779-progressbar-minimum-sizeJuan Linietsky
Fix StyleBox ignoring region rect and ProgressBar using center size
2018-04-27Fixed stylebox crashsersoong
2018-03-28Fix StyleBox ignoring region rect and ProgressBar using center sizeBojidar Marinov
ProgressBar used the center size of the stylebox to calculate its minimum size, thus disallowing certain setups. If the old behaviour is wanted, it can be forced by providing a custom minimum size, or by giving proper margins to the stylebox. Fixes #17779.
2018-02-22StyleBoxTexture: Texture instead of RES for texture and normal_map.Pieter-Jan Briers
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-01-21attemp to fix #15870Mariano Suligoy
2018-01-12Bind many more properties to scriptsBojidar Marinov
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
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-10-14[DOCS] Fix a few typos.Andreas Haas
2017-08-31unified draw_center naming for (9patch,StyleBoxes)toger5
- filled -> draw_center - is_draw_center -> is_draw_center_enabled - get_draw_center -> is_draw_center_enabled
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-22fixed crash styleBoxTexture binding issuetoger5
2017-08-22Merge pull request #10519 from toger5/remove_addition_borderRémi Verschelde
Remove addition border
2017-08-21added utility funtions for expand margins (in styleBox)toger5
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-19Merge pull request #10444 from ↵Rémi Verschelde
toger5/styleBoxFlat_corner_detail_value_limitation styleBoxFlat: clamp corner_detail + aa_size
2017-08-19styleBoxFlat: clamp corner_detail + aa_sizetoger5
2017-08-19Performance styleBoxFlat:toger5
- style box flat was always drawn with 8 verts per corner in case it was a rounded corner... now it uses only one vert if it has no rounded corner.
2017-08-19Removes extra argument from StyleBoxFlat::get_border_color()Ignacio Etcheverry
2017-08-16Merge pull request #10265 from leezh/patchnine_styleboxRémi Verschelde
Added Tile and TileFit to StyleBoxes
2017-08-15styleBoxFlat removed light, dark color entirelytoger5
2017-08-15new StyleBoxFlat removed multiBorderColortoger5
- removed only the bindings because the drawing code is not done yet - kept c++ functions for setting individual border color for future implementation
2017-08-15new StyleBoxFlat limits for drawingtoger5
- corner and border are decreased if necassary to achoieve clean stylboxes - prohibits wired drawing artifacts when using wrong values - corner radius are relative to the partner corner when they would result in glitches
2017-08-15new StyleBoxFlat added more drawing featurestoger5
- corner radius bindings - shadow - antiAliasing - CornerDetail
2017-08-15NEW Style Box Flat Implementationtoger5
- now use polygons! - renamed blend -> blend_border - draw_center -> filled - GDScript biding
2017-08-12Added Tile and TileFit to StyleBoxesZher Huei Lee
Was already implemented for Patch9 boxes, but wasn't exposed here. Allows for use in other GUI elements like panels and buttons.
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-01Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-SyncRémi Verschelde
Texture region now updates when changing an Atlas region rect
2017-07-19Fix "vertical" property of StyleBoxLineGeorge Marques
2017-07-18Added separators using StyleBoxLine, some theme style fixes, added variant iconDaniel J. Ramirez
2017-06-29Texture region now updates when changing an AtlasRobert Hernandez
- Removed atlas_changed signal for AtlasTexture - Changes are now handled by _notify_change - Removed unneccesary signal connections - Texture preview now updates in real-time Fixed TextureRegionEditor constantly regenerating
2017-06-18Added normalmap support to stylebox and animated sprite.Juan Linietsky
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-05-09New customizable editor themevolzhs
2017-04-13Respect the expand margin for StyleBoTextures again.Ray Koopa
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-31Fixed WindowDialog not aligning properlyRobert Hernandez
2017-03-30Fixed AtlasTexture being incorrectlyRobert Hernandez
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an AtlasTexture.
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-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-04-Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky
-Modified help to display properties GDScript can still not make use of them, though.
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
2016-08-05VisualScript can now execute visual scripts, but there is no debugger or ↵Juan Linietsky
profiler yet.
2016-06-20Modify margins with mouse inputMarianoGNU