Merge pull request #44377 from Calinou/rename-textureprogressbar
Rename the TextureProgress node to TextureProgressBar
This commit is contained in:
@@ -851,15 +851,15 @@ EditorAudioBus::EditorAudioBus(EditorAudioBuses *p_buses, bool p_is_master) {
|
||||
|
||||
cc = 0;
|
||||
for (int i = 0; i < CHANNELS_MAX; i++) {
|
||||
channel[i].vu_l = memnew(TextureProgress);
|
||||
channel[i].vu_l->set_fill_mode(TextureProgress::FILL_BOTTOM_TO_TOP);
|
||||
channel[i].vu_l = memnew(TextureProgressBar);
|
||||
channel[i].vu_l->set_fill_mode(TextureProgressBar::FILL_BOTTOM_TO_TOP);
|
||||
hb->add_child(channel[i].vu_l);
|
||||
channel[i].vu_l->set_min(-80);
|
||||
channel[i].vu_l->set_max(24);
|
||||
channel[i].vu_l->set_step(0.1);
|
||||
|
||||
channel[i].vu_r = memnew(TextureProgress);
|
||||
channel[i].vu_r->set_fill_mode(TextureProgress::FILL_BOTTOM_TO_TOP);
|
||||
channel[i].vu_r = memnew(TextureProgressBar);
|
||||
channel[i].vu_r->set_fill_mode(TextureProgressBar::FILL_BOTTOM_TO_TOP);
|
||||
hb->add_child(channel[i].vu_r);
|
||||
channel[i].vu_r->set_min(-80);
|
||||
channel[i].vu_r->set_max(24);
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "scene/gui/panel_container.h"
|
||||
#include "scene/gui/scroll_container.h"
|
||||
#include "scene/gui/slider.h"
|
||||
#include "scene/gui/texture_progress.h"
|
||||
#include "scene/gui/texture_progress_bar.h"
|
||||
#include "scene/gui/texture_rect.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
@@ -66,8 +66,8 @@ class EditorAudioBus : public PanelContainer {
|
||||
float peak_l = 0;
|
||||
float peak_r = 0;
|
||||
|
||||
TextureProgress *vu_l = nullptr;
|
||||
TextureProgress *vu_r = nullptr;
|
||||
TextureProgressBar *vu_l = nullptr;
|
||||
TextureProgressBar *vu_r = nullptr;
|
||||
} channel[CHANNELS_MAX];
|
||||
|
||||
OptionButton *send;
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#include "scene/gui/split_container.h"
|
||||
#include "scene/gui/tab_container.h"
|
||||
#include "scene/gui/tabs.h"
|
||||
#include "scene/gui/texture_progress.h"
|
||||
#include "scene/gui/texture_progress_bar.h"
|
||||
#include "scene/main/window.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
#include "servers/display_server.h"
|
||||
|
||||
@@ -81,7 +81,7 @@ class RunSettingsDialog;
|
||||
class ScriptCreateDialog;
|
||||
class TabContainer;
|
||||
class Tabs;
|
||||
class TextureProgress;
|
||||
class TextureProgressBar;
|
||||
class Button;
|
||||
class VSplitContainer;
|
||||
class Window;
|
||||
@@ -271,7 +271,7 @@ private:
|
||||
Button *play_scene_button;
|
||||
Button *play_custom_scene_button;
|
||||
Button *search_button;
|
||||
TextureProgress *audio_vu;
|
||||
TextureProgressBar *audio_vu;
|
||||
|
||||
Timer *screenshot_timer;
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 391 B |
Reference in New Issue
Block a user