godot/scene/gui
Markus Sauermann 28af870750 Code simplifications found by cppcheck
They are based on:
- Boolean arithmetic simplifications
- setting variables that are not accessed
- constant variables
2022-11-21 08:43:36 +01:00
..
aspect_ratio_container.cpp Add some codes, returnes directly if the value is not changed. 2022-08-23 23:25:22 +08:00
aspect_ratio_container.h Reorganize inspector layout workflow for Control nodes 2022-02-10 20:29:34 +03:00
base_button.cpp Merge pull request #68097 from KoBeWi/no_signal🔕 2022-11-04 10:48:47 +01:00
base_button.h Make BaseButton Shortcut feedback togglable 2022-10-20 02:02:12 -04:00
box_container.cpp Rework oriented containers 2022-09-01 22:13:46 +02:00
box_container.h Rework oriented containers 2022-09-01 22:13:46 +02:00
button.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
button.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
center_container.cpp Use switch consistently in _notification (scene folder) 2022-02-15 18:44:55 +01:00
center_container.h Reorganize inspector layout workflow for Control nodes 2022-02-10 20:29:34 +03:00
check_box.cpp Improve naming of theme properties throughout GUI code 2022-09-06 22:53:17 +03:00
check_box.h Improve naming of theme properties throughout GUI code 2022-09-06 22:53:17 +03:00
check_button.cpp Improve naming of theme properties throughout GUI code 2022-09-06 22:53:17 +03:00
check_button.h Improve naming of theme properties throughout GUI code 2022-09-06 22:53:17 +03:00
code_edit.cpp Add Control::localize_numeral_system property to toggle automatic numeral system conversion. 2022-11-17 14:59:56 +02:00
code_edit.h Stop centering clicked suggestions in the autocomplete popup 2022-10-28 20:22:28 -03:00
color_mode.cpp Change hue icons to horizontal GradientTexture2D 2022-11-02 15:34:15 +01:00
color_mode.h ColorPicker Refactor 2022-07-06 22:11:43 +05:30
color_picker.cpp Code simplifications found by cppcheck 2022-11-21 08:43:36 +01:00
color_picker.h Modularize the Color Picker via properties. 2022-11-04 00:08:46 -04:00
color_rect.cpp Rename CanvasItem.update() to queue_redraw() 2022-08-29 14:59:47 +02:00
color_rect.h
container.cpp Change return type of get_configuration_warnings to PackedStringArray 2022-09-19 16:43:15 +01:00
container.h Change return type of get_configuration_warnings to PackedStringArray 2022-09-19 16:43:15 +01:00
control.cpp Add Control::localize_numeral_system property to toggle automatic numeral system conversion. 2022-11-17 14:59:56 +02:00
control.h Add Control::localize_numeral_system property to toggle automatic numeral system conversion. 2022-11-17 14:59:56 +02:00
dialogs.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
dialogs.h Make AcceptDialog and derivatives utilize StyleBox fully 2022-09-07 01:42:11 +03:00
file_dialog.cpp Remove auto selecting the first file for FileDialog with Save file mode selected 2022-11-13 02:24:17 +01:00
file_dialog.h Improve naming of theme properties throughout GUI code 2022-09-06 22:53:17 +03:00
flow_container.cpp Add alignment options to flow container 2022-10-23 13:40:17 +02:00
flow_container.h Add alignment options to flow container 2022-10-23 13:40:17 +02:00
graph_edit.cpp Simplify GDVIRTUAL_CALL calls 2022-10-19 00:05:48 +02:00
graph_edit.h Change return type of get_configuration_warnings to PackedStringArray 2022-09-19 16:43:15 +01:00
graph_node.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
graph_node.h Improve parameter naming and documentation in GraphEdit and GraphNode 2022-09-09 17:50:44 +03:00
grid_container.cpp Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
grid_container.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
item_list.cpp Remove duplicate project settings definitions 2022-11-08 01:29:39 +01:00
item_list.h Make Vector2i values paired with EDSCALE be just Vector2 2022-09-08 14:46:32 -03:00
label.cpp Merge pull request #67083 from RedMser/label-font-warning 2022-10-09 18:29:06 +02:00
label.h Add warning for missing characters in label font 2022-10-08 17:02:25 +02:00
line_edit.cpp [Line Edit] Ignore placeholder text when drawing caret. 2022-11-08 15:15:13 +02:00
line_edit.h Allow selecting SpinBox & LineEdit text when focus enters 2022-10-29 09:58:42 +08:00
link_button.cpp Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
link_button.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
margin_container.cpp Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
margin_container.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
menu_bar.cpp Merge pull request #66337 from EricEzaM/sprite-frames 2022-10-13 15:24:39 +02:00
menu_bar.h Move Shortcut Context to Control and ensure that shortcut_input adheres to contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context. 2022-10-13 21:07:19 +10:00
menu_button.cpp Move Shortcut Context to Control and ensure that shortcut_input adheres to contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context. 2022-10-13 21:07:19 +10:00
menu_button.h Improve MenuButton and OptionButton 2022-10-03 20:07:39 +10:00
nine_patch_rect.cpp Rename CanvasItem.update() to queue_redraw() 2022-08-29 14:59:47 +02:00
nine_patch_rect.h
option_button.cpp Fix position and size of OptionButton PopupMenu 2022-11-12 21:12:02 +01:00
option_button.h Improve MenuButton and OptionButton 2022-10-03 20:07:39 +10:00
panel_container.cpp Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
panel_container.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
panel.cpp Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
panel.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
popup_menu.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
popup_menu.h Ensure popup menu redraws items when shortcuts update. 2022-09-26 23:21:32 +10:00
popup.cpp Prevent Popups it the edited scene tree from closing on focus loss. Hide irrelevant Popup flags from the editor inspector. 2022-10-11 08:55:00 +03:00
popup.h Prevent Popups it the edited scene tree from closing on focus loss. Hide irrelevant Popup flags from the editor inspector. 2022-10-11 08:55:00 +03:00
progress_bar.cpp Add Control::localize_numeral_system property to toggle automatic numeral system conversion. 2022-11-17 14:59:56 +02:00
progress_bar.h Rename ProgressBar.percent_visible to show_percentage 2022-09-07 11:58:30 +02:00
range.cpp Add set_value_no_signal() to Range 2022-10-31 23:59:01 +01:00
range.h Add set_value_no_signal() to Range 2022-10-31 23:59:01 +01:00
reference_rect.cpp Rename CanvasItem.update() to queue_redraw() 2022-08-29 14:59:47 +02:00
reference_rect.h
rich_text_effect.cpp Simplify GDVIRTUAL_CALL calls 2022-10-19 00:05:48 +02:00
rich_text_effect.h
rich_text_label.cpp Fix multithreaded RTL resetting scroll position on resize. 2022-11-17 16:26:06 +02:00
rich_text_label.h Remove override_selected_font_color property 2022-10-26 12:59:18 +02:00
scroll_bar.cpp Code simplifications 2022-10-18 12:47:40 +02:00
scroll_bar.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
scroll_container.cpp Code simplifications 2022-11-07 01:21:25 +01:00
scroll_container.h Change return type of get_configuration_warnings to PackedStringArray 2022-09-19 16:43:15 +01:00
SCsub
separator.cpp Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
separator.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
slider.cpp Merge pull request #66337 from EricEzaM/sprite-frames 2022-10-13 15:24:39 +02:00
slider.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
spin_box.cpp Add Control::localize_numeral_system property to toggle automatic numeral system conversion. 2022-11-17 14:59:56 +02:00
spin_box.h Allow selecting SpinBox & LineEdit text when focus enters 2022-10-29 09:58:42 +08:00
split_container.cpp Code simplifications found by cppcheck 2022-11-21 08:43:36 +01:00
split_container.h Allow SplitContainer to have a grab area larger than its visual grabber 2022-09-07 12:33:02 +02:00
subviewport_container.cpp Change return type of get_configuration_warnings to PackedStringArray 2022-09-19 16:43:15 +01:00
subviewport_container.h Change return type of get_configuration_warnings to PackedStringArray 2022-09-19 16:43:15 +01:00
tab_bar.cpp Code simplifications found by cppcheck 2022-11-21 08:43:36 +01:00
tab_bar.h Add a lifecycle method for manual theme item caching to Control 2022-09-01 16:35:36 +03:00
tab_container.cpp Fix problems with tab_changed signal when removing multiple tabs at once 2022-10-27 03:16:01 -03:00
tab_container.h Fix problems with tab_changed signal when removing multiple tabs at once 2022-10-27 03:16:01 -03:00
text_edit.cpp Mouse click deselect removes secondary carets and puts primary caret under mouse position 2022-11-06 20:03:06 +01:00
text_edit.h Unified shortcut to clear carets and selections 2022-11-02 18:23:24 +01:00
texture_button.cpp Rename TextureButton set_*_texture methods to set_texture_* 2022-11-19 17:33:40 -06:00
texture_button.h Rename TextureButton set_*_texture methods to set_texture_* 2022-11-19 17:33:40 -06:00
texture_progress_bar.cpp Support AtlasTexture in radial modes of TextureProgressBar 2022-10-17 20:44:25 +03:00
texture_progress_bar.h
texture_rect.cpp Replace Rect2(i) has_no_area with has_area 2022-09-04 23:03:36 -05:00
texture_rect.h
tree.cpp Fix a gap with scrolling down in Tree with arrow keys (#57636) 2022-11-14 21:37:42 +01:00
tree.h [Font] Add an import option to pre-render all glyphs required for the translation. 2022-11-10 10:43:15 +02:00
video_stream_player.cpp Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
video_stream_player.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
view_panner.cpp fixed holding alt while zooming zooms in by 2 increments. 2022-10-13 11:38:25 +01:00
view_panner.h