mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-14 06:58:35 +00:00
window_draw_list: Fix awkward wording in doc
This commit is contained in:
parent
734292fdab
commit
082d5e47f9
@ -74,7 +74,7 @@ impl<'ui> WindowDrawList<'ui> {
|
||||
/// Split into *channels_count* drawing channels.
|
||||
/// At the end of the closure, the channels are merged. The objects
|
||||
/// are then drawn in the increasing order of their channel number, and not
|
||||
/// in the all order they were called.
|
||||
/// in the order they were called.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
@ -100,7 +100,9 @@ impl<'ui> WindowDrawList<'ui> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Represent the drawing interface within a call to `channels_split`.
|
||||
/// Represent the drawing interface within a call to [`channels_split`].
|
||||
///
|
||||
/// [`channels_split`]: WindowDrawList::channels_split
|
||||
pub struct ChannelsSplit<'ui> {
|
||||
draw_list: &'ui WindowDrawList<'ui>,
|
||||
channels_count: u32,
|
||||
@ -111,7 +113,7 @@ impl<'ui> DrawAPI for ChannelsSplit<'ui> {
|
||||
}
|
||||
|
||||
impl<'ui> ChannelsSplit<'ui> {
|
||||
/// Change current channel
|
||||
/// Change current channel.
|
||||
///
|
||||
/// Panic if channel_index overflows the number of channels.
|
||||
pub fn channels_set_current(&self, channel_index: u32) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user