all: remove control center in its entirety
This commit is contained in:
parent
1dfd6169f8
commit
769d12a525
97 changed files with 59 additions and 10580 deletions
|
|
@ -1067,21 +1067,10 @@ impl ConfigClient {
|
|||
position
|
||||
}
|
||||
|
||||
pub fn set_egui_fonts(&self, proportional: Option<Vec<&str>>, monospace: Option<Vec<&str>>) {
|
||||
self.send(&ClientMessage::SetEguiFonts {
|
||||
proportional,
|
||||
monospace,
|
||||
});
|
||||
}
|
||||
|
||||
pub fn set_middle_click_paste_enabled(&self, enabled: bool) {
|
||||
self.send(&ClientMessage::SetMiddleClickPasteEnabled { enabled });
|
||||
}
|
||||
|
||||
pub fn open_control_center(&self) {
|
||||
self.send(&ClientMessage::OpenControlCenter);
|
||||
}
|
||||
|
||||
pub fn set_workspace_display_order(&self, order: WorkspaceDisplayOrder) {
|
||||
self.send(&ClientMessage::SetWorkspaceDisplayOrder { order });
|
||||
}
|
||||
|
|
|
|||
|
|
@ -847,11 +847,6 @@ pub enum ClientMessage<'a> {
|
|||
fds: Vec<(i32, i32)>,
|
||||
tag: Option<&'a str>,
|
||||
},
|
||||
SetEguiFonts {
|
||||
proportional: Option<Vec<&'a str>>,
|
||||
monospace: Option<Vec<&'a str>>,
|
||||
},
|
||||
OpenControlCenter,
|
||||
ConnectorSupportsArbitraryModes {
|
||||
connector: Connector,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -381,7 +381,3 @@ pub fn set_middle_click_paste_enabled(enabled: bool) {
|
|||
get!().set_middle_click_paste_enabled(enabled);
|
||||
}
|
||||
|
||||
/// Opens the control center.
|
||||
pub fn open_control_center() {
|
||||
get!().open_control_center();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -197,20 +197,6 @@ pub fn get_bar_position() -> BarPosition {
|
|||
get!(BarPosition::Top).get_bar_position()
|
||||
}
|
||||
|
||||
/// Sets the proportional fonts used by egui windows.
|
||||
///
|
||||
/// The default is `["sans-serif", "Noto Sans", "Noto Color Emoji"]`.
|
||||
pub fn set_egui_proportional_fonts<'a>(fonts: impl IntoIterator<Item = &'a str>) {
|
||||
get!().set_egui_fonts(Some(fonts.into_iter().collect()), None);
|
||||
}
|
||||
|
||||
/// Sets the monospace fonts used by egui windows.
|
||||
///
|
||||
/// The default is `["monospace", "Noto Sans Mono", "Noto Color Emoji"]`.
|
||||
pub fn set_egui_monospace_fonts<'a>(fonts: impl IntoIterator<Item = &'a str>) {
|
||||
get!().set_egui_fonts(None, Some(fonts.into_iter().collect()));
|
||||
}
|
||||
|
||||
/// Elements of the compositor whose color can be changed.
|
||||
pub mod colors {
|
||||
use {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue