mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Piano: Rename KnobsWidget to TrackControlsWidget
This more generic name will better reflect the purpose of the widget in the future, as this commit begins the long process of enhancing the widget into a container for all controls of Piano's currently selected track.
This commit is contained in:
parent
0190be9788
commit
cf6676beb2
5 changed files with 12 additions and 12 deletions
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "MainWidget.h"
|
||||
#include "KeysWidget.h"
|
||||
#include "KnobsWidget.h"
|
||||
#include "PlayerWidget.h"
|
||||
#include "RollWidget.h"
|
||||
#include "SamplerWidget.h"
|
||||
#include "TrackControlsWidget.h"
|
||||
#include "TrackManager.h"
|
||||
#include "WaveWidget.h"
|
||||
#include <LibGUI/Action.h>
|
||||
|
@ -55,7 +55,7 @@ ErrorOr<void> MainWidget::initialize()
|
|||
|
||||
m_keys_widget = TRY(m_keys_and_knobs_container->try_add<KeysWidget>(m_track_manager.keyboard()));
|
||||
|
||||
m_knobs_widget = TRY(m_keys_and_knobs_container->try_add<KnobsWidget>(m_track_manager, *this));
|
||||
m_knobs_widget = TRY(m_keys_and_knobs_container->try_add<TrackControlsWidget>(m_track_manager, *this));
|
||||
|
||||
m_roll_widget->set_keys_widget(m_keys_widget);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue