MCPcopy Create free account

hub / github.com/PistonDevelopers/conrod / functions

Functions1,384 in github.com/PistonDevelopers/conrod

↓ 1 callersFunctionrect_range
Returns the range along the rect for the given axis.
conrod_core/src/widget/graph/node.rs:248
↓ 1 callersFunctionrects_per_line
Produce an iterator that, for every `(line, line_rect)` pair yielded by the given iterator, produces an iterator that yields a `Rect` for every charac
conrod_core/src/text.rs:329
↓ 1 callersFunctionrel_tab_bar_area
Calculate the dimensions and position of the Tab Bar relative to the center of the widget.
conrod_core/src/widget/tabs.rs:364
↓ 1 callersMethodrel_xy
The position of the mouse relative to the middle of the widget's `Rect`.
conrod_core/src/input/widget.rs:275
↓ 1 callersMethodrelative_to
Returns a copy of the input::State relative to the given `position::Point`
conrod_core/src/input/state.rs:56
↓ 1 callersMethodrelative_to_x
Returns a `Rect` with a position relative to the given position on the *x* axis.
conrod_core/src/position/rect.rs:212
↓ 1 callersMethodrelative_to_y
Returns a `Rect` with a position relative to the given position on the *y* axis.
conrod_core/src/position/rect.rs:220
↓ 1 callersMethodrelease
Set's the `Button` in the `Up` position.
conrod_core/src/input/state.rs:236
↓ 1 callersFunctionrelease_mouse_button
(button: MouseButton, ui: &mut Ui)
conrod_core/src/tests/ui.rs:15
↓ 1 callersMethodrender
Converts the inner list of `Command`s generated via `fill` to a list of `RenderPassCommand`s that are easily digestible by a `wgpu::RenderPass` produc
backends/conrod_wgpu/src/lib.rs:273
↓ 1 callersMethodreset_indices
Resets the index for every `TypeWidgetIds` list to `0`. This should be called at the beginning of the `Graph` update to ensure each widget receives a
conrod_core/src/widget/graph/mod.rs:176
↓ 1 callersMethodrgba
Set the color of the widget from rgba values.
conrod_core/src/color.rs:525
↓ 1 callersFunctionrgba_bytes
(r: u8, g: u8, b: u8, a: f32)
conrod_core/src/color.rs:45
↓ 1 callersMethodright_justify
Align the text to the right of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/text_box.rs:87
↓ 1 callersFunctionrounded_border_triangles
An iterator yielding triangles for a rounded border. Clamps the thickness of the border to half the smallest dimension of the rectangle to ensure the
conrod_core/src/widget/bordered_rectangle.rs:150
↓ 1 callersFunctionrun_conrod
A function that runs the conrod loop.
backends/conrod_glium/examples/all_winit_glium_threaded.rs:68
↓ 1 callersFunctionrusttype_glyph_cache
Creating the rusttype glyph cache used within a `GlyphCache`.
backends/conrod_glium/src/lib.rs:346
↓ 1 callersFunctionsampler_desc
()
backends/conrod_wgpu/src/lib.rs:542
↓ 1 callersMethodscroll_kids
Makes the widget's `KidArea` scrollable. If a widget is scrollable and it has children widgets that fall outside of its `KidArea`, the `KidArea` will
conrod_core/src/widget/mod.rs:790
↓ 1 callersFunctionscroll_offset
Return the `scroll_offset` for the widget at the given index. The offset is retrieved from the widget that is the immediate `depth_parent` of the wid
conrod_core/src/graph/algo.rs:289
↓ 1 callersMethodscrollable_y_parent_recursion
A **Walker** type that recursively walks **Depth** parents that are scrollable along the y* axis for the given node.
conrod_core/src/graph/mod.rs:483
↓ 1 callersMethodscrollbar_next_to
Specifies that the `List` should be scrollable and should provide a `Scrollbar` to the right of the items.
conrod_core/src/widget/list_select.rs:337
↓ 1 callersMethodscrollbar_next_to
Specifies that the list should be scrollable and should provide a `Scrollbar` to the right of the items.
conrod_core/src/widget/drop_down_list.rs:131
↓ 1 callersMethodscrollbar_on_top
Specifies that the `List` should be scrollable and should provide a `Scrollbar` that hovers above the right edge of the items and automatically hides
conrod_core/src/widget/list_select.rs:344
↓ 1 callersMethodscrollbar_on_top
Specifies that the list should be scrollable and should provide a `Scrollbar` that hovers above the right edge of the items and automatically hides wh
conrod_core/src/widget/drop_down_list.rs:138
↓ 1 callersMethodscrollbar_width
Specify the width of the scrollbar.
conrod_core/src/widget/drop_down_list.rs:150
↓ 1 callersMethodscrolls
Produce an iterator that yields only the `Scroll` events yielded by the `Events` iterator.
conrod_core/src/input/widget.rs:261
↓ 1 callersMethodsection
Produces an `Oval` where only a section is drawn. The given `radians` describes the angle occuppied by the section's circumference.
conrod_core/src/widget/primitive/shape/oval.rs:114
↓ 1 callersFunctionselected_rects
Produces an iterator yielding a `Rect` for the selected range in each selected line in a block of text. The yielded `Rect`s represent the selected ra
conrod_core/src/text.rs:1459
↓ 1 callersFunctionselected_rects_per_line
Produces an iterator that yields iterators yielding `Rect`s for each selected character in each line of text within the given iterator yielding char `
conrod_core/src/text.rs:351
↓ 1 callersMethodset_cap
Set the **Cap** for the line.
conrod_core/src/widget/primitive/line.rs:224
↓ 1 callersFunctionset_ui
Declare the `WidgetId`s and instantiate the widgets.
backends/conrod_glium/examples/text_edit.rs:120
↓ 1 callersFunctionset_ui
(ref mut ui: conrod_core::UiCell, ids: &Ids, fonts: &Fonts)
backends/conrod_glium/examples/text.rs:136
↓ 1 callersFunctionset_ui
(ref mut ui: conrod_core::UiCell, ids: &Ids)
backends/conrod_glium/examples/primitives.rs:106
↓ 1 callersFunctionset_ui
Declare the `WidgetId`s and instantiate the widgets.
backends/conrod_glium/examples/range_slider.rs:107
↓ 1 callersFunctionset_ui
Declare the `WidgetId`s and instantiate the widgets.
backends/conrod_glium/examples/list.rs:106
↓ 1 callersFunctionset_widget
Updates the given widget and caches it within the given `Ui`'s `widget_graph`. If it is the first time a widget has been set, it will be cached into
conrod_core/src/widget/mod.rs:902
↓ 1 callersFunctionset_widgets
(ui: &mut conrod_core::UiCell, ids: &Ids, graph: &mut MyGraph, layout: &mut Layout)
backends/conrod_glium/examples/graph.rs:139
↓ 1 callersFunctionset_widgets
Set all `Widget`s within the User Interface. The first time this gets called, each `Widget`'s `State` will be initialised and cached within the `Ui`
backends/conrod_glium/examples/old_demo.rs:236
↓ 1 callersFunctionset_widgets
Draw the Ui.
backends/conrod_glium/examples/canvas.rs:103
↓ 1 callersMethodset_x
Return the X value.
conrod_core/src/widget/envelope_editor.rs:120
↓ 1 callersMethodset_y
Return the Y value.
conrod_core/src/widget/envelope_editor.rs:124
↓ 1 callersMethodshift_x
Shift the Rect along the x axis.
conrod_core/src/position/rect.rs:191
↓ 1 callersMethodshift_y
Shift the Rect along the y axis.
conrod_core/src/position/rect.rs:199
↓ 1 callersMethodshow_hidden_files
Whether to show hidden files and directories.
conrod_core/src/widget/file_navigator/mod.rs:170
↓ 1 callersFunctionside_axis_and_scalar
Axis from a given side and the scalar offset from the centre of the rect.
conrod_core/src/widget/graph/node.rs:223
↓ 1 callersMethodsocket_color
Specify the color for the node's sockets.
conrod_core/src/widget/graph/node.rs:183
↓ 1 callersFunctionsocket_position
The position of the socket at the given index.
conrod_core/src/widget/graph/node.rs:233
↓ 1 callersFunctionsocket_rect_dim
Dimensions for a socket rectangle given some axis.
conrod_core/src/widget/graph/node.rs:240
↓ 1 callersFunctionsocket_step_and_start
The gap between each socket and the position of the first socket.
conrod_core/src/widget/graph/node.rs:256
↓ 1 callersMethodstart
The start (or "input") for the edge. This is described via the node's `Id` and the position of its output socket.
conrod_core/src/widget/graph/mod.rs:695
↓ 1 callersMethodstyle
(&self)
conrod_core/src/widget/tabs.rs:191
↓ 1 callersFunctiontab_dim
(num_tabs: usize, tab_bar_dim: Dimensions, layout: Layout)
conrod_core/src/widget/tabs.rs:399
↓ 1 callersMethodtext_color
The color of the `Text` used to display the file names.
conrod_core/src/widget/file_navigator/directory_view.rs:169
↓ 1 callersFunctiontext_texture_uncompressed_float_format
Return the optimal uncompressed float format for the text texture given the version.
backends/conrod_glium/src/lib.rs:334
↓ 1 callersFunctiontexture_from_image
Specify how to get the drawable texture from the image. In this case, the image is* the texture.
backends/conrod_piston/examples/all_piston_window.rs:124
↓ 1 callersFunctiontitle_bar
The Rect for the Canvas' title bar.
conrod_core/src/widget/canvas.rs:424
↓ 1 callersMethodtitle_bar_color
Set the color of the `Canvas`' `TitleBar` if it is visible.
conrod_core/src/widget/canvas.rs:209
↓ 1 callersFunctionto_window_coordinates
(xy: Point, ui: &Ui)
conrod_core/src/tests/ui.rs:53
↓ 1 callersFunctiontriangles
Triangulate the polygon given as a list of `Point`s describing its sides. Returns `None` if the given iterator yields less than two points.
conrod_core/src/widget/primitive/shape/polygon.rs:286
↓ 1 callersFunctionturns
Convert turns to radians.
conrod_core/src/utils.rs:95
↓ 1 callersMethodui
Converts the `Events` into a `UiEvents`, yielding only the `event::Ui`s that have occurred since the last time `Ui::set_widgets` was called.
conrod_core/src/input/global.rs:75
↓ 1 callersMethodunselected_color
The color of the unselected entries within each `DirectoryView`.
conrod_core/src/widget/file_navigator/directory_view.rs:163
↓ 1 callersMethodup
Build with the **Position** as some distance above another widget.
conrod_core/src/position/mod.rs:277
↓ 1 callersMethodup_from
Build with the **Position** as some distance above the given widget.
conrod_core/src/position/mod.rs:307
↓ 1 callersFunctionupdate_texture
Updates a texture with the given data (used for updating the GlyphCache texture)
backends/conrod_gfx/src/lib.rs:767
↓ 1 callersFunctionval_string_width
Return the dimensions of value string glyphs.
conrod_core/src/widget/number_dialer.rs:118
↓ 1 callersFunctionvertex_attrs
()
backends/conrod_wgpu/src/lib.rs:653
↓ 1 callersFunctionvertices_as_bytes
(s: &[mesh::Vertex])
backends/conrod_wgpu/src/lib.rs:753
↓ 1 callersMethodw_of
The absolute width of the widget at the given index. Returns `None` if there is no widget for the given index.
conrod_core/src/ui.rs:238
↓ 1 callersMethodwalk
Produce an iterator-like type for yielding `Primitive`s.
conrod_core/src/render.rs:767
↓ 1 callersMethodwh_of
Set the dimensions as the dimensions of the widget at the given index.
conrod_core/src/position/mod.rs:763
↓ 1 callersFunctionwidget_graph_mut
A mutable reference to the given `Ui`'s widget `Graph`.
conrod_core/src/ui.rs:1411
↓ 1 callersMethodwindow_dim
Returns the dimensions of the window
conrod_core/src/ui.rs:1293
↓ 1 callersMethodwith_dimensions
Construct a **GlyphCache** with the given texture dimensions. When calling `GlyphCache::new`, the `get_framebuffer_dimensions` method is used to prod
backends/conrod_glium/src/lib.rs:391
↓ 1 callersMethodwith_style
Override the default button style
conrod_core/src/widget/button.rs:204
↓ 1 callersMethodwrap_by_word
Line wrap the **Text** at the beginning of the first word that exceeds the width.
conrod_core/src/widget/primitive/text.rs:98
↓ 1 callersMethodx
Build with the given **Absolute** **Position** along the *x* axis.
conrod_core/src/position/mod.rs:162
↓ 1 callersMethodx_position_children
For walking the **Position(X)** children of the given parent node.
conrod_core/src/graph/mod.rs:532
↓ 1 callersMethodx_position_parent
Return the index of the parent along the given widget's **Position** **Edge**.
conrod_core/src/graph/mod.rs:405
↓ 1 callersMethodx_position_parent_recursion
A **Walker** type that recursively walks **X** **Position** parents starting from the given node.
conrod_core/src/graph/mod.rs:442
↓ 1 callersMethodx_relative
Set the **Position** as a **Scalar** along the *x* axis **Relative** to the middle of previous widget.
conrod_core/src/position/mod.rs:218
↓ 1 callersMethodx_relative_to
Set the position relative to the widget with the given widget::Id.
conrod_core/src/position/mod.rs:240
↓ 1 callersMethodxy
Set the **Position** with some Point.
conrod_core/src/position/mod.rs:172
↓ 1 callersFunctionxy_at
Determine the *xy* location of the cursor at the given cursor `Index`.
conrod_core/src/text.rs:799
↓ 1 callersMethodxy_of
The coordinates for the widget at the given index. Returns `None` if there is no widget for the given index.
conrod_core/src/ui.rs:259
↓ 1 callersMethodxy_relative
Set the **Position** as a **Point** **Relative** to the middle of the previous widget.
conrod_core/src/position/mod.rs:229
↓ 1 callersFunctionxys_per_line
Every possible cursor position within each line of text yielded by the given iterator. Yields `(xs, y_range)`, where `y_range` is the `Range` occupie
conrod_core/src/text.rs:731
↓ 1 callersMethody
Build with the given **Absolute** **Position** along the *y* axis.
conrod_core/src/position/mod.rs:167
↓ 1 callersMethody_position_children
For walking the **Position(Y)** children of the given parent node.
conrod_core/src/graph/mod.rs:537
↓ 1 callersMethody_position_parent
Return the index of the parent along the given widget's **Position** **Edge**.
conrod_core/src/graph/mod.rs:410
↓ 1 callersMethody_position_parent_recursion
A **Walker** type that recursively walks **Y** **Position** parents starting from the given node.
conrod_core/src/graph/mod.rs:456
↓ 1 callersMethody_relative
Set the **Position** as a **Scalar** along the *y* axis **Relative** to the middle of previous widget.
conrod_core/src/position/mod.rs:224
↓ 1 callersMethody_relative_to
Set the position relative to the widget with the given widget::Id.
conrod_core/src/position/mod.rs:245
Methodabove
Align `self`'s bottom edge with the top edge of the `other` **Rect**.
conrod_core/src/position/rect.rs:320
Methodabs
Build a new PointPath whose bounding box is fit to the absolute co-ordinates of the points. This requires that the `points` iterator is `Clone` so th
conrod_core/src/widget/primitive/point_path.rs:72
Methodabs_fill
The same as [**Polygon::abs_styled**](./struct.Polygon#method.abs_styled) but builds the Polygon** with the default **Fill** style.
conrod_core/src/widget/primitive/shape/polygon.rs:106
Methodabs_fill_with
The same as [**Polygon::abs_styled**](./struct.Polygon#method.abs_styled) but builds the Polygon** **Fill**ed with the given **Color**.
conrod_core/src/widget/primitive/shape/polygon.rs:115
Methodabs_from_position
Retrieves the absolute **Scalar** position from the given position for a single axis. The axis used is specified by the given range_from_rect functio
conrod_core/src/ui.rs:1007
Methodabs_outline
The same as [**Polygon::abs_styled**](./struct.Polygon#method.abs_styled) but builds the Polygon** with the default **Outline** style.
conrod_core/src/widget/primitive/shape/polygon.rs:124
← previousnext →601–700 of 1,384, ranked by callers