Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bungoboingo/halo
/ functions
Functions
60 in github.com/bungoboingo/halo
⨍
Functions
60
◇
Types & classes
30
↓ 17 callers
Method
palette
(&self)
src/theme.rs:60
↓ 7 callers
Function
icon
TODO colored icons once I have an actual theme
src/editor.rs:344
↓ 3 callers
Method
font
(&self)
src/editor/highlighter.rs:42
↓ 2 callers
Function
save
(preferences: Preferences)
src/preferences.rs:35
↓ 2 callers
Method
save_prefs
(&self)
src/editor.rs:215
↓ 2 callers
Method
title_bar
(&self)
src/editor.rs:287
↓ 2 callers
Function
validate
assumes shader is wgsl
src/editor/validation.rs:50
↓ 1 callers
Method
active
(&self, _style: &Self::Style)
src/theme.rs:196
↓ 1 callers
Method
color
(&self)
src/editor/highlighter.rs:36
↓ 1 callers
Method
content
(&self)
src/viewer.rs:37
↓ 1 callers
Method
draw
( &self, _state: &Self::State, cursor: mouse::Cursor, bounds: Rectangle, )
src/viewer.rs:62
↓ 1 callers
Method
hovered
(&self, _style: &Self::Style)
src/theme.rs:209
↓ 1 callers
Method
keypress
( &self, key: keyboard::KeyCode, modifiers: keyboard::Modifiers, )
src/editor.rs:67
↓ 1 callers
Function
load
()
src/preferences.rs:16
↓ 1 callers
Function
load
(path: PathBuf)
src/editor/file.rs:8
↓ 1 callers
Function
open
()
src/editor/file.rs:40
↓ 1 callers
Method
to_format
(&self)
src/editor/highlighter.rs:46
↓ 1 callers
Method
to_raw
(&self, scale_factor: f32, transform: Transformation)
src/viewer/uniforms.rs:12
Method
appearance
(&self, _style: &Self::Style)
src/theme.rs:75
Method
change_line
TODO review
src/editor/highlighter.rs:87
Function
control_button
( content: impl Into<Element<'a, Message>>, label: &'a str, on_press: Message, )
src/editor.rs:330
Method
current_line
(&self)
src/editor/highlighter.rs:149
Method
default
()
src/editor.rs:52
Method
default
()
src/viewer.rs:25
Method
default
()
src/theme.rs:21
Function
dim
Reduces intensity by 10%
src/theme.rs:43
Method
disabled
(&self, _style: &Self::Style)
src/theme.rs:302
Method
disabled_color
(&self, _style: &Self::Style)
src/theme.rs:294
Method
fmt
(&self, f: &mut Formatter<'_>)
src/preferences.rs:49
Method
fmt
(&self, f: &mut Formatter<'_>)
src/editor/validation.rs:20
Method
focused
(&self, _style: &Self::Style)
src/theme.rs:277
Method
highlight_line
(&mut self, line: &str)
src/editor/highlighter.rs:109
Method
hovered_region
(&self, _style: &Self::Style)
src/theme.rs:157
Method
hovered_split
(&self, _style: &Self::Style)
src/theme.rs:177
Method
icon
(&self)
src/editor/validation.rs:33
Function
main
()
src/main.rs:30
Method
new
(_flags: Self::Flags)
src/main.rs:71
Method
new
( device: &wgpu::Device, format: wgpu::TextureFormat, shader: &str, version: u
src/viewer/pipeline.rs:14
Method
new
(settings: &Self::Settings)
src/editor/highlighter.rs:61
Method
next
(&mut self)
src/editor/highlighter.rs:164
Method
picked_split
(&self, _style: &Self::Style)
src/theme.rs:168
Method
placeholder_color
(&self, _style: &Self::Style)
src/theme.rs:286
Method
prepare
( &self, format: iced::widget::shader::wgpu::TextureFormat, device: &iced::widget::sha
src/viewer/primitive.rs:15
Method
prepare
(&mut self, queue: &wgpu::Queue, uniforms: &uniforms::Raw)
src/viewer/pipeline.rs:103
Method
pressed
(&self, style: &Self::Style)
src/theme.rs:222
Method
render
( &self, storage: &Storage, bounds: Rectangle<u32>, target: &iced::widget::sha
src/viewer/primitive.rs:39
Method
render
( &self, encoder: &mut wgpu::CommandEncoder, target: &wgpu::TextureView, bound
src/viewer/pipeline.rs:107
Function
save
(path: Option<PathBuf>, contents: String)
src/editor/file.rs:17
Method
selection_color
(&self, _style: &Self::Style)
src/theme.rs:298
Method
subscription
(&self)
src/main.rs:140
Method
theme
(&self)
src/main.rs:136
Method
title
(&self)
src/main.rs:89
Function
tmp_error_view
(msg: &str, errors: &[(Range<usize>, String)], shader: &str)
src/editor.rs:350
Method
update
(&mut self, message: Self::Message)
src/main.rs:93
Method
update
(&mut self, update: Message)
src/editor.rs:83
Method
update
( &self, _state: &mut Self::State, _event: Event, _bounds: Rectangle,
src/viewer.rs:49
Method
update
(&mut self, new_settings: &Self::Settings)
src/editor/highlighter.rs:81
Method
value_color
(&self, _style: &Self::Style)
src/theme.rs:290
Method
view
(&self)
src/main.rs:124
Method
view
(&self)
src/editor.rs:224