mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Userspace: Use Core::Object::add() when building interfaces
This commit is contained in:
parent
7ec758773c
commit
3d20da9ee4
87 changed files with 403 additions and 438 deletions
|
@ -33,9 +33,8 @@
|
|||
constexpr int note_height = 20;
|
||||
constexpr int roll_height = note_count * note_height;
|
||||
|
||||
RollWidget::RollWidget(GUI::Widget* parent, AudioEngine& audio_engine)
|
||||
: ScrollableWidget(parent)
|
||||
, m_audio_engine(audio_engine)
|
||||
RollWidget::RollWidget(AudioEngine& audio_engine)
|
||||
: m_audio_engine(audio_engine)
|
||||
{
|
||||
set_frame_thickness(2);
|
||||
set_frame_shadow(Gfx::FrameShadow::Sunken);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue