MCPcopy Create free account

hub / github.com/bungoboingo/halo / functions

Functions60 in github.com/bungoboingo/halo

↓ 17 callersMethodpalette
(&self)
src/theme.rs:60
↓ 7 callersFunctionicon
TODO colored icons once I have an actual theme
src/editor.rs:344
↓ 3 callersMethodfont
(&self)
src/editor/highlighter.rs:42
↓ 2 callersFunctionsave
(preferences: Preferences)
src/preferences.rs:35
↓ 2 callersMethodsave_prefs
(&self)
src/editor.rs:215
↓ 2 callersMethodtitle_bar
(&self)
src/editor.rs:287
↓ 2 callersFunctionvalidate
assumes shader is wgsl
src/editor/validation.rs:50
↓ 1 callersMethodactive
(&self, _style: &Self::Style)
src/theme.rs:196
↓ 1 callersMethodcolor
(&self)
src/editor/highlighter.rs:36
↓ 1 callersMethodcontent
(&self)
src/viewer.rs:37
↓ 1 callersMethoddraw
( &self, _state: &Self::State, cursor: mouse::Cursor, bounds: Rectangle, )
src/viewer.rs:62
↓ 1 callersMethodhovered
(&self, _style: &Self::Style)
src/theme.rs:209
↓ 1 callersMethodkeypress
( &self, key: keyboard::KeyCode, modifiers: keyboard::Modifiers, )
src/editor.rs:67
↓ 1 callersFunctionload
()
src/preferences.rs:16
↓ 1 callersFunctionload
(path: PathBuf)
src/editor/file.rs:8
↓ 1 callersFunctionopen
()
src/editor/file.rs:40
↓ 1 callersMethodto_format
(&self)
src/editor/highlighter.rs:46
↓ 1 callersMethodto_raw
(&self, scale_factor: f32, transform: Transformation)
src/viewer/uniforms.rs:12
Methodappearance
(&self, _style: &Self::Style)
src/theme.rs:75
Methodchange_line
TODO review
src/editor/highlighter.rs:87
Functioncontrol_button
( content: impl Into<Element<'a, Message>>, label: &'a str, on_press: Message, )
src/editor.rs:330
Methodcurrent_line
(&self)
src/editor/highlighter.rs:149
Methoddefault
()
src/editor.rs:52
Methoddefault
()
src/viewer.rs:25
Methoddefault
()
src/theme.rs:21
Functiondim
Reduces intensity by 10%
src/theme.rs:43
Methoddisabled
(&self, _style: &Self::Style)
src/theme.rs:302
Methoddisabled_color
(&self, _style: &Self::Style)
src/theme.rs:294
Methodfmt
(&self, f: &mut Formatter<'_>)
src/preferences.rs:49
Methodfmt
(&self, f: &mut Formatter<'_>)
src/editor/validation.rs:20
Methodfocused
(&self, _style: &Self::Style)
src/theme.rs:277
Methodhighlight_line
(&mut self, line: &str)
src/editor/highlighter.rs:109
Methodhovered_region
(&self, _style: &Self::Style)
src/theme.rs:157
Methodhovered_split
(&self, _style: &Self::Style)
src/theme.rs:177
Methodicon
(&self)
src/editor/validation.rs:33
Functionmain
()
src/main.rs:30
Methodnew
(_flags: Self::Flags)
src/main.rs:71
Methodnew
( device: &wgpu::Device, format: wgpu::TextureFormat, shader: &str, version: u
src/viewer/pipeline.rs:14
Methodnew
(settings: &Self::Settings)
src/editor/highlighter.rs:61
Methodnext
(&mut self)
src/editor/highlighter.rs:164
Methodpicked_split
(&self, _style: &Self::Style)
src/theme.rs:168
Methodplaceholder_color
(&self, _style: &Self::Style)
src/theme.rs:286
Methodprepare
( &self, format: iced::widget::shader::wgpu::TextureFormat, device: &iced::widget::sha
src/viewer/primitive.rs:15
Methodprepare
(&mut self, queue: &wgpu::Queue, uniforms: &uniforms::Raw)
src/viewer/pipeline.rs:103
Methodpressed
(&self, style: &Self::Style)
src/theme.rs:222
Methodrender
( &self, storage: &Storage, bounds: Rectangle<u32>, target: &iced::widget::sha
src/viewer/primitive.rs:39
Methodrender
( &self, encoder: &mut wgpu::CommandEncoder, target: &wgpu::TextureView, bound
src/viewer/pipeline.rs:107
Functionsave
(path: Option<PathBuf>, contents: String)
src/editor/file.rs:17
Methodselection_color
(&self, _style: &Self::Style)
src/theme.rs:298
Methodsubscription
(&self)
src/main.rs:140
Methodtheme
(&self)
src/main.rs:136
Methodtitle
(&self)
src/main.rs:89
Functiontmp_error_view
(msg: &str, errors: &[(Range<usize>, String)], shader: &str)
src/editor.rs:350
Methodupdate
(&mut self, message: Self::Message)
src/main.rs:93
Methodupdate
(&mut self, update: Message)
src/editor.rs:83
Methodupdate
( &self, _state: &mut Self::State, _event: Event, _bounds: Rectangle,
src/viewer.rs:49
Methodupdate
(&mut self, new_settings: &Self::Settings)
src/editor/highlighter.rs:81
Methodvalue_color
(&self, _style: &Self::Style)
src/theme.rs:290
Methodview
(&self)
src/main.rs:124
Methodview
(&self)
src/editor.rs:224