Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cksac/oxui
/ functions
Functions
135 in github.com/cksac/oxui
⨍
Functions
135
◇
Types & classes
46
↓ 20 callers
Method
layout
(&mut self, constraints: &BoxConstraints, parent_use_size: bool)
src/rendering/box.rs:178
↓ 8 callers
Method
with_child
(mut self, child: impl Into<RenderFlexible>)
src/rendering/flex.rs:81
↓ 4 callers
Method
constrain
(&self, size: impl Into<Size>)
src/rendering/box.rs:132
↓ 4 callers
Method
constrain_height
(&self, height: f32)
src/rendering/box.rs:114
↓ 4 callers
Method
constrain_width
(&self, width: f32)
src/rendering/box.rs:110
↓ 4 callers
Method
cross_size
(&self, direction: Axis)
src/rendering/basic_types.rs:30
↓ 4 callers
Method
into_flexible
(self, flex: usize, fit: FlexFit)
src/widgets/widget.rs:19
↓ 4 callers
Method
main_size
(&self, direction: Axis)
src/rendering/basic_types.rs:23
↓ 4 callers
Method
size
(&self)
src/rendering/flex.rs:290
↓ 3 callers
Function
create_image
(width: i32, height: i32)
src/tests/common/image.rs:4
↓ 3 callers
Method
draw_rect
(&mut self, offset: Offset, size: Size)
src/rendering/object.rs:21
↓ 2 callers
Method
add
(self, rhs: Offset)
src/rendering/basic_types.rs:69
↓ 2 callers
Method
axis
(&self)
src/rendering/sliver.rs:31
↓ 2 callers
Method
draw_frame
(&mut self, cx: &mut Composer, context: &mut PaintContext)
src/rendering/object.rs:90
↓ 2 callers
Method
enforce
(&self, other: &BoxConstraints)
src/rendering/box.rs:89
↓ 2 callers
Method
height
(&self)
src/ui/image.rs:13
↓ 2 callers
Method
size
(&self)
src/rendering/render_view.rs:78
↓ 2 callers
Method
size
(&self)
src/rendering/proxy_box.rs:70
↓ 2 callers
Method
smallest
(&self)
src/rendering/box.rs:125
↓ 2 callers
Function
start_is_top_left
( direction: Axis, text_direction: impl Into<Option<TextDirection>>, vertical_direction: impl Into
src/rendering/flex.rs:429
↓ 2 callers
Method
width
(&self)
src/ui/image.rs:9
↓ 2 callers
Method
with_direction
(mut self, direction: Axis)
src/rendering/flex.rs:66
↓ 2 callers
Method
with_max_height
(mut self, max_height: f32)
src/rendering/box.rs:33
↓ 2 callers
Method
with_max_width
(mut self, max_width: f32)
src/rendering/box.rs:28
↓ 1 callers
Method
biggest
(&self)
src/rendering/box.rs:118
↓ 1 callers
Method
calculate_cache_offset
(&self, from: f32, to: f32)
src/rendering/sliver.rs:42
↓ 1 callers
Method
calculate_paint_offset
(&self, from: f32, to: f32)
src/rendering/sliver.rs:35
↓ 1 callers
Method
compute_sizes
(&mut self, constraints: &BoxConstraints)
src/rendering/flex.rs:134
↓ 1 callers
Method
constrain_with_aspect_ratio
(&self, size: impl Into<Size>)
src/rendering/box.rs:140
↓ 1 callers
Method
contains
(&self, offset: Offset)
src/rendering/basic_types.rs:37
↓ 1 callers
Method
create
(&self, context: BuildContext)
src/widgets/view.rs:25
↓ 1 callers
Method
flip
(&self)
src/rendering/basic_types.rs:101
↓ 1 callers
Method
flush_layout
(&mut self)
src/rendering/object.rs:101
↓ 1 callers
Method
flush_paint
(&mut self, context: &mut PaintContext)
src/rendering/object.rs:108
↓ 1 callers
Method
handle_event
(&mut self, position: Offset)
src/rendering/object.rs:71
↓ 1 callers
Method
has_tight_height
(&self)
src/rendering/box.rs:102
↓ 1 callers
Method
has_tight_width
(&self)
src/rendering/box.rs:98
↓ 1 callers
Method
hit_test
(&self, position: Offset, result: &mut HitTestResult)
src/rendering/object.rs:46
↓ 1 callers
Method
is_empty
(&self)
src/rendering/basic_types.rs:19
↓ 1 callers
Method
is_tight
(&self)
src/rendering/box.rs:106
↓ 1 callers
Method
layout
(&mut self, constraints: &SliverConstraints)
src/rendering/sliver.rs:84
↓ 1 callers
Method
paint
(&self, context: &mut PaintContext, offset: Offset)
src/rendering/flex.rs:265
↓ 1 callers
Method
perform_layout
(&mut self, constraints: &SliverConstraints)
src/rendering/sliver.rs:118
↓ 1 callers
Method
perform_layout
(&mut self, constraints: &BoxConstraints)
src/rendering/flex.rs:294
↓ 1 callers
Method
with_text_direction
(mut self, text_direction: impl Into<Option<TextDirection>>)
src/rendering/flex.rs:71
Method
add
(&mut self, entry: HitTestEntry)
src/gestures/hit_test.rs:19
Method
add_assign
(&mut self, rhs: Offset)
src/rendering/basic_types.rs:88
Method
create
(&self, context: BuildContext)
src/widgets/flex.rs:44
Method
create
(&self, context: BuildContext)
src/widgets/constrained_box.rs:23
Method
create
(&self, context: BuildContext)
examples/run_event.rs:22
Method
create
(&self, context: BuildContext)
examples/run_app.rs:22
Method
default
()
src/widgets/constrained_box.rs:14
Method
default
()
src/rendering/flex.rs:88
Method
default
()
src/rendering/box.rs:12
Method
default
()
src/rendering/image.rs:19
Method
draw
(&mut self, draw_args: AppDrawArgs)
examples/run_event.rs:97
Method
draw
(&mut self, draw_args: AppDrawArgs)
examples/run_app.rs:94
Method
expand
()
src/rendering/box.rs:67
Method
expand_by
(width: impl Into<Option<f32>>, height: impl Into<Option<f32>>)
src/rendering/box.rs:71
Method
fatal_error
(&mut self, error: &AppError)
examples/run_event.rs:112
Method
fatal_error
(&mut self, error: &AppError)
examples/run_app.rs:111
Method
from
(w: T)
src/widgets/flex.rs:106
Method
from
(s: &'a SliverConstraints)
src/rendering/sliver.rs:51
Method
from
(val: (f32, f32))
src/rendering/basic_types.rs:43
Method
from
(img: Image)
src/rendering/image.rs:41
Method
geometry
(&self)
src/rendering/sliver.rs:151
Method
handle_event
(&mut self, event: PointerEvent, entry: HitTestEntry)
src/gestures/hit_test.rs:6
Method
hit_test
(&self, position: Offset, result: &mut HitTestResult)
src/rendering/render_view.rs:46
Method
hit_test
(&self, position: Offset, result: &mut HitTestResult)
src/rendering/flex.rs:275
Method
hit_test
(&self, position: Offset, result: &mut crate::gestures::HitTestResult)
src/rendering/proxy_box.rs:47
Function
main
This example shows how to use the "app" helpers to get a window open and drawing with minimal code It's not as flexible as working with winit directly
examples/run_event.rs:119
Function
main
This example shows how to use the "app" helpers to get a window open and drawing with minimal code It's not as flexible as working with winit directly
examples/run_app.rs:118
Method
new
(width: f32, height: f32)
src/tests/common/box.rs:11
Method
new
(child: T)
src/widgets/view.rs:13
Method
new
()
src/gestures/hit_test.rs:15
Method
new
()
src/rendering/render_view.rs:21
Method
new
(child: T, flex: usize, fit: FlexFit)
src/rendering/flex.rs:114
Method
new
(direction: Axis, cache_extent: f32)
src/rendering/sliver_list.rs:27
Method
new
(width: f32, height: f32)
src/rendering/basic_types.rs:8
Method
new
(width: impl Into<Option<f32>>, heigh: impl Into<Option<f32>>)
src/rendering/image.rs:30
Method
new
(constraints: BoxConstraints)
src/rendering/proxy_box.rs:23
Method
new
(canvas: &'a mut skia_safe::Canvas)
src/rendering/object.rs:17
Method
new
(width: u32, height: u32, root: W)
examples/run_event.rs:65
Method
new
(width: u32, height: u32, root: W)
examples/run_app.rs:65
Method
paint
(&self, context: &mut super::PaintContext, offset: super::Offset)
src/rendering/sliver.rs:112
Method
paint
(&self, context: &mut PaintContext, offset: Offset)
src/rendering/render_view.rs:40
Method
paint
(&self, context: &mut super::PaintContext, offset: Offset)
src/rendering/sliver_list.rs:53
Method
paint
(&self, context: &mut PaintContext, offset: Offset)
src/rendering/image.rs:63
Method
paint
(&self, context: &mut PaintContext, offset: Offset)
src/rendering/proxy_box.rs:43
Method
perform_layout
(&mut self, constraints: &BoxConstraints)
src/tests/common/box.rs:29
Method
perform_layout
(&mut self, constraints: &BoxConstraints)
src/rendering/render_view.rs:61
Method
perform_layout
(&mut self, constraints: &BoxConstraints)
src/rendering/sliver_list.rs:63
Method
perform_layout
(&mut self, constraints: &BoxConstraints)
src/rendering/image.rs:69
Method
perform_layout
(&mut self, constraints: &BoxConstraints)
src/rendering/proxy_box.rs:53
Method
perform_resize
(&mut self, constraints: &BoxConstraints)
src/tests/common/box.rs:31
Method
perform_resize
(&mut self, constraints: &SliverConstraints)
src/rendering/sliver.rs:147
Method
perform_resize
(&mut self, constraints: &BoxConstraints)
src/rendering/render_view.rs:71
Method
perform_resize
(&mut self, constraints: &BoxConstraints)
src/rendering/flex.rs:424
Method
perform_resize
(&mut self, constraints: &BoxConstraints)
src/rendering/sliver_list.rs:106
Method
perform_resize
(&mut self, constraints: &BoxConstraints)
src/rendering/image.rs:79
next →
1–100 of 135, ranked by callers