Adds a remove class item option in the theme editor.

I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
This commit is contained in:
Aren Villanueva
2016-04-21 11:58:53 +10:00
parent c0ec7e933a
commit d75856146c
5 changed files with 75 additions and 3 deletions

View File

@@ -2310,7 +2310,7 @@ void Control::_bind_methods() {
BIND_CONSTANT( ANCHOR_BEGIN );
BIND_CONSTANT( ANCHOR_END );
BIND_CONSTANT( ANCHOR_RATIO );
BIND_CONSTANT( ANCHOR_CENTER );
BIND_CONSTANT( ANCHOR_CENTER );
BIND_CONSTANT( FOCUS_NONE );
BIND_CONSTANT( FOCUS_CLICK );
BIND_CONSTANT( FOCUS_ALL );