From fdaa2920eb21fff3320a17e9239e04dfadecdb00 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 18 Apr 2015 14:38:54 -0300 Subject: Updated copyright year in all headers --- scene/gui/base_button.cpp | 2 +- scene/gui/base_button.h | 2 +- scene/gui/box_container.cpp | 2 +- scene/gui/box_container.h | 2 +- scene/gui/button.cpp | 2 +- scene/gui/button.h | 2 +- scene/gui/button_array.cpp | 2 +- scene/gui/button_array.h | 192 ++++++++++++++++++++--------------------- scene/gui/button_group.cpp | 2 +- scene/gui/button_group.h | 2 +- scene/gui/center_container.cpp | 2 +- scene/gui/center_container.h | 2 +- scene/gui/check_button.cpp | 2 +- scene/gui/check_button.h | 2 +- scene/gui/color_picker.cpp | 2 +- scene/gui/color_picker.h | 2 +- scene/gui/container.cpp | 2 +- scene/gui/container.h | 2 +- scene/gui/control.cpp | 2 +- scene/gui/control.h | 2 +- scene/gui/custom_button.cpp | 2 +- scene/gui/custom_button.h | 2 +- scene/gui/dialogs.cpp | 2 +- scene/gui/dialogs.h | 2 +- scene/gui/file_dialog.cpp | 2 +- scene/gui/file_dialog.h | 2 +- scene/gui/grid_container.cpp | 2 +- scene/gui/grid_container.h | 2 +- scene/gui/label.cpp | 2 +- scene/gui/label.h | 2 +- scene/gui/line_edit.cpp | 2 +- scene/gui/line_edit.h | 2 +- scene/gui/margin_container.cpp | 2 +- scene/gui/margin_container.h | 2 +- scene/gui/menu_button.cpp | 2 +- scene/gui/menu_button.h | 2 +- scene/gui/option_button.cpp | 2 +- scene/gui/option_button.h | 2 +- scene/gui/panel.cpp | 2 +- scene/gui/panel.h | 2 +- scene/gui/panel_container.cpp | 2 +- scene/gui/panel_container.h | 2 +- scene/gui/popup.cpp | 2 +- scene/gui/popup.h | 2 +- scene/gui/popup_menu.cpp | 2 +- scene/gui/popup_menu.h | 2 +- scene/gui/progress_bar.cpp | 2 +- scene/gui/progress_bar.h | 2 +- scene/gui/range.cpp | 2 +- scene/gui/range.h | 2 +- scene/gui/reference_frame.cpp | 2 +- scene/gui/reference_frame.h | 2 +- scene/gui/rich_text_label.cpp | 2 +- scene/gui/rich_text_label.h | 2 +- scene/gui/scroll_bar.cpp | 2 +- scene/gui/scroll_bar.h | 2 +- scene/gui/scroll_container.cpp | 2 +- scene/gui/scroll_container.h | 2 +- scene/gui/separator.cpp | 2 +- scene/gui/separator.h | 2 +- scene/gui/slider.cpp | 2 +- scene/gui/slider.h | 2 +- scene/gui/spin_box.cpp | 2 +- scene/gui/spin_box.h | 2 +- scene/gui/split_container.cpp | 2 +- scene/gui/split_container.h | 2 +- scene/gui/tab_container.cpp | 2 +- scene/gui/tab_container.h | 2 +- scene/gui/tabs.cpp | 2 +- scene/gui/tabs.h | 2 +- scene/gui/text_edit.cpp | 2 +- scene/gui/text_edit.h | 2 +- scene/gui/texture_button.cpp | 2 +- scene/gui/texture_button.h | 2 +- scene/gui/texture_frame.cpp | 2 +- scene/gui/texture_frame.h | 2 +- scene/gui/texture_progress.cpp | 2 +- scene/gui/texture_progress.h | 2 +- scene/gui/tool_button.cpp | 2 +- scene/gui/tool_button.h | 2 +- scene/gui/tree.cpp | 2 +- scene/gui/tree.h | 2 +- scene/gui/video_player.cpp | 2 +- scene/gui/video_player.h | 2 +- 84 files changed, 179 insertions(+), 179 deletions(-) (limited to 'scene/gui') diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index bbe15da1cc..dff2377766 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/base_button.h b/scene/gui/base_button.h index a376591ebb..e187a85eae 100644 --- a/scene/gui/base_button.h +++ b/scene/gui/base_button.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/box_container.cpp b/scene/gui/box_container.cpp index 5ed60e88f8..6489cbccd5 100644 --- a/scene/gui/box_container.cpp +++ b/scene/gui/box_container.cpp @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/box_container.h b/scene/gui/box_container.h index fb305f0423..d461b4aebe 100644 --- a/scene/gui/box_container.h +++ b/scene/gui/box_container.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp index 0532ab22da..57dd29ad07 100644 --- a/scene/gui/button.cpp +++ b/scene/gui/button.cpp @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/button.h b/scene/gui/button.h index cf79e23579..690179b90c 100644 --- a/scene/gui/button.h +++ b/scene/gui/button.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/button_array.cpp b/scene/gui/button_array.cpp index e3a2b7b290..7f565de244 100644 --- a/scene/gui/button_array.cpp +++ b/scene/gui/button_array.cpp @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/scene/gui/button_array.h b/scene/gui/button_array.h index f536040039..ea2c1e4968 100644 --- a/scene/gui/button_array.h +++ b/scene/gui/button_array.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -26,98 +26,98 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef BUTTON_ARRAY_H -#define BUTTON_ARRAY_H - -#include "scene/gui/control.h" - -class ButtonArray : public Control { - - OBJ_TYPE(ButtonArray, Control); -public: - enum Align { - ALIGN_BEGIN, - ALIGN_CENTER, - ALIGN_END, - ALIGN_FILL, - ALIGN_EXPAND_FILL - }; -private: - - Orientation orientation; - Align align; - - struct Button { - - String text; - Ref icon; - mutable int _ms_cache; - mutable int _pos_cache; - mutable int _size_cache; - }; - - int selected; - int hover; - double min_button_size; - - Vector