UI
This commit is contained in:
@@ -19,9 +19,17 @@ struct remote_display_state {
|
||||
std::char_t title[96]{};
|
||||
std::char_t part[48]{};
|
||||
std::char_t mode[24]{};
|
||||
std::char_t focus[32]{};
|
||||
std::bool_t playback{};
|
||||
std::bool_t metronome{};
|
||||
std::bool_t editing{};
|
||||
std::uint32_t bpm{120U};
|
||||
std::array<std::char_t, vamp_protocol::title_id_size + 1U> title_image{};
|
||||
std::uint32_t page{};
|
||||
std::uint32_t pages{};
|
||||
auto operator==(remote_display_state const &other) const -> std::bool_t {
|
||||
return active == other.active && std::string_view{title} == other.title && std::string_view{part} == other.part && std::string_view{mode} == other.mode && std::string_view{focus} == other.focus && playback == other.playback && metronome == other.metronome && editing == other.editing && bpm == other.bpm && title_image == other.title_image && page == other.page && pages == other.pages;
|
||||
}
|
||||
};
|
||||
|
||||
auto parse_remote_display_body(std::string_view body, vamp_pico::remote_display_state &state) -> std::bool_t;
|
||||
|
||||
Reference in New Issue
Block a user