Add rudimentary UI for BufferSearch
This commit is contained in:
@@ -4,7 +4,7 @@ use std::sync::Arc;
|
||||
use gpui3::{DefiniteLength, Hsla, Interactive, MouseButton, WindowContext};
|
||||
|
||||
use crate::prelude::*;
|
||||
use crate::{h_stack, theme, Icon, IconColor, IconElement, Label, LabelColor, LabelSize};
|
||||
use crate::{h_stack, Icon, IconColor, IconElement, Label, LabelColor, LabelSize};
|
||||
|
||||
#[derive(Default, PartialEq, Clone, Copy)]
|
||||
pub enum IconPosition {
|
||||
|
||||
@@ -82,6 +82,8 @@ pub enum Icon {
|
||||
MicMute,
|
||||
Plus,
|
||||
Quote,
|
||||
Replace,
|
||||
ReplaceAll,
|
||||
Screen,
|
||||
SelectAll,
|
||||
Split,
|
||||
@@ -130,6 +132,8 @@ impl Icon {
|
||||
Icon::MicMute => "icons/mic-mute.svg",
|
||||
Icon::Plus => "icons/plus.svg",
|
||||
Icon::Quote => "icons/quote.svg",
|
||||
Icon::Replace => "icons/replace.svg",
|
||||
Icon::ReplaceAll => "icons/replace_all.svg",
|
||||
Icon::Screen => "icons/desktop.svg",
|
||||
Icon::SelectAll => "icons/select-all.svg",
|
||||
Icon::Split => "icons/split.svg",
|
||||
|
||||
Reference in New Issue
Block a user