WIP: Allow panels to be moved
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
45df09245b
commit
8f12489937
6 changed files with 157 additions and 92 deletions
|
@ -1060,5 +1060,33 @@ pub(crate) mod test {
|
|||
}
|
||||
}
|
||||
|
||||
impl Panel for TestItem {}
|
||||
impl Panel for TestItem {
|
||||
fn position(&self, cx: &gpui::WindowContext) -> crate::dock::DockPosition {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn position_is_valid(&self, position: crate::dock::DockPosition) -> bool {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn icon_path(&self) -> &'static str {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn icon_tooltip(&self) -> String {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn should_change_position_on_event(&self, _: &Self::Event, _: &AppContext) -> bool {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn should_activate_on_event(&self, _: &Self::Event, _: &AppContext) -> bool {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn should_close_on_event(&self, _: &Self::Event, _: &AppContext) -> bool {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue