Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PistonDevelopers/conrod
/ functions
Functions
1,384 in github.com/PistonDevelopers/conrod
⨍
Functions
1,384
◇
Types & classes
423
↓ 1 callers
Method
get_x_position
(&self, ui: &Ui<B>)
conrod_core/src/position/matrix.rs:103
↓ 1 callers
Method
get_y_dimension
(&self, ui: &Ui<B>)
conrod_core/src/position/matrix.rs:142
↓ 1 callers
Method
get_y_position
(&self, ui: &Ui<B>)
conrod_core/src/position/matrix.rs:107
↓ 1 callers
Function
glyph_cache_tex_desc
([width, height]: [u32; 2])
backends/conrod_wgpu/src/lib.rs:504
↓ 1 callers
Function
glyph_cache_texture
Create the texture used within a `GlyphCache` of the given size.
backends/conrod_glium/src/lib.rs:357
↓ 1 callers
Method
graphic_parent
Return the index of the parent along the given widget's **Graphic** **Edge**.
conrod_core/src/graph/mod.rs:423
↓ 1 callers
Method
h_of
The absolute height of the widget at the given index. Returns `None` if there is no widget for the given index.
conrod_core/src/ui.rs:245
↓ 1 callers
Method
hidpi_factor
(&self)
backends/conrod_glium/src/lib.rs:443
↓ 1 callers
Method
hidpi_factor
(&self)
backends/conrod_rendy/examples/all_winit_rendy.rs:42
↓ 1 callers
Method
hover_image
The image displayed while the mouse hovers over the `Button`.
conrod_core/src/widget/button.rs:185
↓ 1 callers
Function
idx_to_button
Converts a `ButtonMap` index to its respective `Button`.
conrod_core/src/input/state.rs:256
↓ 1 callers
Method
if_down
Returns the position at which the button was pressed along with the widget that was under the mouse at the time of pressing if the position is `Down`.
conrod_core/src/input/state.rs:180
↓ 1 callers
Method
image_copy_buffer
Create the copy view ready for copying the pixel data to the texture.
backends/conrod_wgpu/src/lib.rs:459
↓ 1 callers
Method
image_copy_texture
Create the texture copy view ready for receiving the pixel data from the buffer.
backends/conrod_wgpu/src/lib.rs:471
↓ 1 callers
Function
infer_parent_from_position
Infer a widget's `Depth` parent by examining it's *x* and *y* `Position`s. When a different parent may be inferred from either `Position`, the *x* `P
conrod_core/src/ui.rs:1418
↓ 1 callers
Function
infos_wrapped_by
Produce an `Infos` iterator wrapped by the given `next_break_fn`.
conrod_core/src/text.rs:1363
↓ 1 callers
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/tabs.rs:184
↓ 1 callers
Method
inputs
Specify the number of input sockets for the node.
conrod_core/src/widget/graph/node.rs:144
↓ 1 callers
Function
is_file_hidden
(_path: &std::path::PathBuf)
conrod_core/src/widget/file_navigator/directory_view.rs:90
↓ 1 callers
Function
is_over
Describes whether or not the given point touches the line described by *a -> b* with the given thickness.
conrod_core/src/widget/primitive/line.rs:356
↓ 1 callers
Function
is_over
Returns whether or not the given point `p` lies over the `PointPath` described by the given points, line cap and thickness.
conrod_core/src/widget/primitive/point_path.rs:264
↓ 1 callers
Function
is_over
Returns `true` if the given `Point` is over the polygon described by the given series of points.
conrod_core/src/widget/primitive/shape/polygon.rs:322
↓ 1 callers
Function
is_over
Returns `true` if the given `Point` is over any of the given `Triangle`s.
conrod_core/src/widget/primitive/shape/triangles.rs:471
↓ 1 callers
Method
is_over
(&self)
conrod_core/src/widget/rounded_rectangle.rs:99
↓ 1 callers
Method
is_over
(&self)
conrod_core/src/widget/primitive/point_path.rs:162
↓ 1 callers
Method
is_over
(&self)
conrod_core/src/widget/primitive/shape/polygon.rs:215
↓ 1 callers
Method
is_over
(&self)
conrod_core/src/widget/primitive/shape/triangles.rs:341
↓ 1 callers
Method
is_over
(&self)
conrod_core/src/widget/primitive/shape/oval.rs:163
↓ 1 callers
Function
is_over_section
Returns whether or not the given point is over the section described
conrod_core/src/widget/primitive/shape/oval.rs:336
↓ 1 callers
Function
is_over_triangle
Returns `true` if the given `Point` is over the given `Triangle`.
conrod_core/src/widget/primitive/shape/triangles.rs:452
↓ 1 callers
Method
is_up
Is the `ButtonPosition` up.
conrod_core/src/input/state.rs:171
↓ 1 callers
Method
is_widget
Whether or not the **Node** is of the **Widget** variant.
conrod_core/src/graph/mod.rs:192
↓ 1 callers
Method
key_selection
( &self, press: event::KeyPress, _i: usize, num_items: usize, state: &
conrod_core/src/widget/list_select.rs:607
↓ 1 callers
Method
kid_area
The area on which child widgets will be placed when using the `Place` `Position` methods.
conrod_core/src/widget/mod.rs:684
↓ 1 callers
Method
kid_area_h_of
Set the height as the `KidArea` height of the widget at the given index.
conrod_core/src/position/mod.rs:785
↓ 1 callers
Method
kid_area_wh_of
Set the dimensions as the `KidArea` dimensions of the widget at the given index.
conrod_core/src/position/mod.rs:796
↓ 1 callers
Function
kids_bounding_box
Find the absolute `Rect` that bounds all widgets that are `Depth` children of the widget at the given `idx`. FIXME: This currently uses call stack re
conrod_core/src/graph/algo.rs:222
↓ 1 callers
Method
kids_bounding_box
The **Rect** that bounds the kids of the widget with the given index.
conrod_core/src/ui.rs:1263
↓ 1 callers
Function
kids_dfs
A function for doing a recursive depth-first search through all depth kids that satisfy the `kid_filter` (see above) in order to find the maximum "bou
conrod_core/src/graph/algo.rs:239
↓ 1 callers
Method
l_b_w_h
The left and bottom edges of the **Rect** along with the width and height.
conrod_core/src/position/rect.rs:185
↓ 1 callers
Method
l_t_w_h
The left and top edges of the **Rect** along with the width and height.
conrod_core/src/position/rect.rs:179
↓ 1 callers
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/button.rs:239
↓ 1 callers
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/envelope_editor.rs:154
↓ 1 callers
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/slider.rs:89
↓ 1 callers
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/xy_pad.rs:91
↓ 1 callers
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/range_slider.rs:126
↓ 1 callers
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/toggle.rs:104
↓ 1 callers
Method
label_x
Specify the label's position relatively to `Button` along the *x* axis.
conrod_core/src/widget/title_bar.rs:106
↓ 1 callers
Method
label_x
Specify the label's position relatively to `Toggle` along the *x* axis.
conrod_core/src/widget/toggle.rs:110
↓ 1 callers
Method
label_y
Specify the label's position relatively to `Button` along the *y* axis.
conrod_core/src/widget/button.rs:271
↓ 1 callers
Method
label_y
Specify the label's position relatively to `Button` along the *y* axis.
conrod_core/src/widget/title_bar.rs:112
↓ 1 callers
Method
label_y
Specify the label's position relatively to `Toggle` along the *y* axis.
conrod_core/src/widget/toggle.rs:116
↓ 1 callers
Function
left_click_mouse
(ui: &mut Ui)
conrod_core/src/tests/ui.rs:10
↓ 1 callers
Method
left_from
Build with the **Position** as some distance to the left of the given widget.
conrod_core/src/position/mod.rs:312
↓ 1 callers
Method
left_justify
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/text_box.rs:77
↓ 1 callers
Method
left_justify_label
Align the label to the left of the `Button`'s surface.
conrod_core/src/widget/button.rs:245
↓ 1 callers
Method
len
(&self)
conrod_core/src/image.rs:128
↓ 1 callers
Method
load_buffer_and_encode
Short-hand for `create_buffer` and `encode` in succession.
backends/conrod_wgpu/src/lib.rs:498
↓ 1 callers
Function
load_rust_logo
Load the Rust logo from our assets folder to use as an example image.
backends/conrod_glium/examples/all_winit_glium_threaded.rs:42
↓ 1 callers
Function
load_rust_logo
Load the Rust logo from our assets folder to use as an example image.
backends/conrod_glium/examples/image.rs:112
↓ 1 callers
Function
load_rust_logo
Load the Rust logo from our assets folder to use as an example image.
backends/conrod_glium/examples/all_winit_glium.rs:43
↓ 1 callers
Method
map_value_to
Map the given Scalar from `Self` to some other given `Range`. # Examples ``` use conrod_core::Range; let a = Range::new(0.0, 5.0); let b = Range::
conrod_core/src/position/range.rs:150
↓ 1 callers
Method
max_visible_items
Set the maximum height of the DropDownList (before the scrollbar appears) as a number of items.
conrod_core/src/widget/drop_down_list.rs:117
↓ 1 callers
Function
modulo
(a: I, b: I)
conrod_core/src/utils.rs:64
↓ 1 callers
Method
mouse
If the `Press` event represents the pressing of a mouse button, return `Some`.
conrod_core/src/event.rs:360
↓ 1 callers
Method
mouse_cursor
Get mouse cursor state.
conrod_core/src/ui.rs:1276
↓ 1 callers
Function
mouse_move_event
(x: Scalar, y: Scalar)
conrod_core/src/tests/global_input.rs:12
↓ 1 callers
Function
move_mouse_to_abs_coordinates
(x: f64, y: f64, ui: &mut Ui)
conrod_core/src/tests/ui.rs:32
↓ 1 callers
Function
move_mouse_to_widget
(widget_id: widget::Id, ui: &mut Ui)
conrod_core/src/tests/ui.rs:25
↓ 1 callers
Method
needs_update
Notifies the event loop that the `Ui` requires another update whether or not there are any pending events. This is primarily used on the occasion tha
backends/conrod_glium/examples/tutorial/chapter3_hello_world.rs:154
↓ 1 callers
Method
next
(&mut self)
conrod_core/src/widget/button.rs:138
↓ 1 callers
Method
next
Yield the next `Element`.
conrod_core/src/widget/matrix.rs:194
↓ 1 callers
Method
next
(&mut self)
conrod_core/src/widget/range_slider.rs:99
↓ 1 callers
Method
next
(&mut self)
conrod_core/src/widget/toggle.rs:80
↓ 1 callers
Method
next
(&mut self)
conrod_core/src/widget/primitive/shape/oval.rs:286
↓ 1 callers
Method
next
(&mut self)
conrod_core/src/widget/graph/node.rs:420
↓ 1 callers
Method
next
The `widget::Id` of the next `Widget` under the `xy` location. The `Graph` is traversed from the top down. If the next widget is some graphic elemen
conrod_core/src/graph/algo.rs:88
↓ 1 callers
Method
next
(&mut self)
backends/conrod_gfx/src/lib.rs:795
↓ 1 callers
Function
next_break
Returns the next index at which the text naturally breaks via a newline character, along with the width of the line.
conrod_core/src/text.rs:1149
↓ 1 callers
Function
next_widget
Retrieves the next visible widget from the `depth_order`, updating the `crop_stack` as necessary.
conrod_core/src/render.rs:904
↓ 1 callers
Method
next_with_id_and_label
Yield the next **Tab** **Rect**, along with the associated ID and label.
conrod_core/src/widget/tabs.rs:461
↓ 1 callers
Method
no_parent
Specify that this widget has no parent widgets.
conrod_core/src/widget/mod.rs:725
↓ 1 callers
Method
node_id
The unique identifier associated with this node.
conrod_core/src/widget/graph/mod.rs:609
↓ 1 callers
Method
on_resize
Call this routine when a window has been resized. This ensures that conrod primitives are drawn properly with the `draw` call.
backends/conrod_gfx/src/lib.rs:666
↓ 1 callers
Method
opengl_version
(&self)
backends/conrod_glium/src/lib.rs:435
↓ 1 callers
Method
outputs
Specify the number of output sockets for the node.
conrod_core/src/widget/graph/node.rs:150
↓ 1 callers
Method
owned
Collect the `Primitives` list into an owned collection. This is useful for sending `Ui` rendering data across threads in an efficient manner.
conrod_core/src/render.rs:641
↓ 1 callers
Method
padded_h_of
Set the height as the height of the widget at the given index padded at both ends by the given Scalar.
conrod_core/src/position/mod.rs:758
↓ 1 callers
Method
padded_kid_area_h_of
Set the height as the `KidArea` height of the widget at the given index, padded at both ends by the given scalar.
conrod_core/src/position/mod.rs:791
↓ 1 callers
Method
padded_kid_area_w_of
Set the width as the `KidArea` width for the widget at the given index, padded at both ends by the given scalar.
conrod_core/src/position/mod.rs:780
↓ 1 callers
Function
pick_scrollable_widgets
Produces a graph node "walker" that yields all scrollable widgets under the given `xy` position in order from top to bottom.
conrod_core/src/graph/algo.rs:143
↓ 1 callers
Method
points
The three points that make up the triangle.
conrod_core/src/widget/primitive/shape/triangles.rs:111
↓ 1 callers
Method
post_update_cache
Cache some `PostUpdateCache` widget data into the graph. This is called (via the `ui` module) from within the `widget::set_widget` function after the
conrod_core/src/graph/mod.rs:795
↓ 1 callers
Function
pre_update_cache
Cache some `PreUpdateCache` widget data into the widget graph. Set the widget that is being cached as the new `prev_widget`. Set the widget's parent a
conrod_core/src/ui.rs:1455
↓ 1 callers
Method
pre_update_cache
Cache some `PreUpdateCache` widget data into the graph. This is called (via the `ui` module) from within the `widget::set_widget` function prior to t
conrod_core/src/graph/mod.rs:649
↓ 1 callers
Method
press_image
The image displayed while the `Button` is pressed.
conrod_core/src/widget/button.rs:191
↓ 1 callers
Function
press_mouse_button
(button: MouseButton, ui: &mut Ui)
conrod_core/src/tests/ui.rs:20
↓ 1 callers
Function
primitive
Render a single `Primitive`. Params: - `primitive` - The `Primitive` that is to be rendered to the screen. - `context` - The piston2d-graphics drawi
backends/conrod_piston/src/draw.rs:70
↓ 1 callers
Function
primitives
Render the given sequence of conrod primitive widgets. Params: - `primitives` - The sequence of primitives to be rendered to the screen. - `context`
backends/conrod_piston/src/draw.rs:22
↓ 1 callers
Function
program
Construct the glium shader program that can be used to render `Vertex`es.
backends/conrod_glium/src/lib.rs:276
← previous
next →
501–600 of 1,384, ranked by callers