mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-08-28 12:56:57 +02:00
restruct: 25e
This commit is contained in:
parent
c737c7d839
commit
3bbe52093e
11 changed files with 454 additions and 432 deletions
|
|
@ -16,14 +16,15 @@ use crate::*;
|
|||
/// let _ = editor.edit_status();
|
||||
/// ```
|
||||
pub struct MidiEditor {
|
||||
/// Size of editor on screen
|
||||
pub size: Size,
|
||||
/// View mode and state of editor
|
||||
pub mode: PianoHorizontal,
|
||||
/// Size of editor on screen
|
||||
pub size: Size,
|
||||
}
|
||||
|
||||
impl_default!(MidiEditor: Self {
|
||||
size: [0, 0].into(), mode: PianoHorizontal::new(None)
|
||||
mode: PianoHorizontal::new(None),
|
||||
size: Size(0.into(), 0.into()),
|
||||
});
|
||||
|
||||
impl MidiEditor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue