diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-16 18:15:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 18:15:04 +0200 |
commit | a8a6082dc07e8a00c8a546abf121d82599b1c39a (patch) | |
tree | dfddd90190a2e1f3171e97ac0a9e488af1d68ecd /core | |
parent | 5485233549c97c7128fc2026bc2c01d3c1c5b48d (diff) | |
parent | 701fb55a108bd83d9a1e6c6bc4bfe61539df333d (diff) |
Merge pull request #8899 from toger5/BetterFlatStylebox
Better flat stylebox with rounded corners
Diffstat (limited to 'core')
-rw-r--r-- | core/math/math_2d.h | 8 | ||||
-rw-r--r-- | core/method_bind.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/core/math/math_2d.h b/core/math/math_2d.h index 963b5efc43..6fea6c8adb 100644 --- a/core/math/math_2d.h +++ b/core/math/math_2d.h @@ -43,6 +43,14 @@ enum Margin { MARGIN_BOTTOM }; +enum Corner { + + CORNER_TOP_LEFT, + CORNER_TOP_RIGHT, + CORNER_BOTTOM_RIGHT, + CORNER_BOTTOM_LEFT +}; + enum Orientation { HORIZONTAL, diff --git a/core/method_bind.h b/core/method_bind.h index 3b4ff96a19..9bf0323733 100644 --- a/core/method_bind.h +++ b/core/method_bind.h @@ -150,6 +150,7 @@ VARIANT_ENUM_CAST(Vector3::Axis); VARIANT_ENUM_CAST(Error); VARIANT_ENUM_CAST(wchar_t); VARIANT_ENUM_CAST(Margin); +VARIANT_ENUM_CAST(Corner); VARIANT_ENUM_CAST(Orientation); VARIANT_ENUM_CAST(HAlign); VARIANT_ENUM_CAST(Variant::Type); |