1
0
Fork 0
forked from wry/wry

control-center: add outputs pane

This commit is contained in:
Julian Orth 2026-03-07 14:04:04 +01:00
parent dee142b3bb
commit d328655f8b
13 changed files with 1775 additions and 36 deletions

File diff suppressed because it is too large Load diff

View file

@ -12,6 +12,7 @@ enum PaneName {
Idle,
ColorManagement,
Xwayland,
Outputs,
}
impl PaneName {
@ -21,6 +22,7 @@ impl PaneName {
PaneName::Idle => "Idle",
PaneName::ColorManagement => "Color Management",
PaneName::Xwayland => "Xwayland",
PaneName::Outputs => "Outputs",
}
}
}
@ -55,6 +57,9 @@ impl ControlCenterInner {
PaneName::Xwayland => {
PaneType::Xwayland(self.create_xwayland_pane())
}
PaneName::Outputs => {
PaneType::Outputs(Box::new(self.create_outputs_pane()))
}
};
self.open(tree, ty);
ui.ctx().request_repaint();