diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /scene/gui/panel.cpp | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip | |
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6e3e905b94b8764e99491e608122261.
Diffstat (limited to '')
| -rw-r--r-- | scene/gui/panel.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/scene/gui/panel.cpp b/scene/gui/panel.cpp index 68d01ccb6..5f6c4b8ec 100644 --- a/scene/gui/panel.cpp +++ b/scene/gui/panel.cpp @@ -31,11 +31,11 @@ void Panel::_notification(int p_what) { - if (p_what==NOTIFICATION_DRAW) { + if (p_what == NOTIFICATION_DRAW) { RID ci = get_canvas_item(); Ref<StyleBox> style = get_stylebox("panel"); - style->draw( ci, Rect2( Point2(), get_size() ) ); + style->draw(ci, Rect2(Point2(), get_size())); } } @@ -44,9 +44,5 @@ Panel::Panel() { set_stop_mouse(true); } - -Panel::~Panel() -{ +Panel::~Panel() { } - - |
