score-avnd-senior/Senior/SeniorUi.hpp

32 lines
535 B
C++
Raw Normal View History

2024-09-30 18:50:58 +01:00
#pragma once
2024-10-06 23:26:13 +01:00
#include <Senior/SeniorModel.hpp>
2024-09-30 18:50:58 +01:00
#include <halp/layout.hpp>
2024-10-06 23:26:13 +01:00
namespace Ottobit
2024-09-30 18:50:58 +01:00
{
2024-10-06 23:26:13 +01:00
struct Senior::ui
2024-09-30 18:50:58 +01:00
{
using enum halp::colors;
using enum halp::layouts;
2024-10-06 23:26:13 +01:00
halp_meta(name, "Senior")
2024-10-07 22:53:11 +01:00
halp_meta(layout, vbox)
2024-09-30 18:50:58 +01:00
halp_meta(background, dark)
2024-10-07 22:53:11 +01:00
struct
{
halp_meta(layout, hbox)
halp::item<&ins::bits> bits;
halp::item<&ins::s_rate> s_rate;
} res;
2024-10-01 00:43:19 +01:00
2024-10-07 22:53:11 +01:00
struct
{
halp_meta(layout, hbox)
halp::item<&ins::depth> depth;
halp::item<&ins::freq> freq;
halp::item<&ins::am_fm> am_fm;
2024-10-07 22:53:11 +01:00
} mod;
2024-09-30 18:50:58 +01:00
};
}