mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-27 21:38:34 +00:00
Fixes for doc-links
This commit is contained in:
parent
5a43f28257
commit
c0f9035ec9
@ -420,8 +420,8 @@ impl<'ui> Ui {
|
|||||||
InputText::new(self, label, buf)
|
InputText::new(self, label, buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Edits text in a multi line widget. Similar to [`input_text`]
|
/// Edits text in a multi line widget. Similar to [`Self::input_text`]
|
||||||
/// but requires specifying a size. [`Ui::content_region_avail`]
|
/// but requires specifying a size. [`Self::content_region_avail`]
|
||||||
/// can be useful to make this take up all avaialble space
|
/// can be useful to make this take up all avaialble space
|
||||||
#[doc(alias = "InputText", alias = "InputTextMultiline")]
|
#[doc(alias = "InputText", alias = "InputTextMultiline")]
|
||||||
pub fn input_text_multiline<'p, L: AsRef<str>>(
|
pub fn input_text_multiline<'p, L: AsRef<str>>(
|
||||||
|
|||||||
@ -35,7 +35,7 @@ impl UiBuffer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Helper method, same as [`scratch_txt`] but for two strings
|
/// Helper method, same as [`Self::scratch_txt`] but for two strings
|
||||||
pub fn scratch_txt_two(
|
pub fn scratch_txt_two(
|
||||||
&mut self,
|
&mut self,
|
||||||
txt_0: impl AsRef<str>,
|
txt_0: impl AsRef<str>,
|
||||||
@ -45,7 +45,7 @@ impl UiBuffer {
|
|||||||
(self.push(txt_0), self.push(txt_1))
|
(self.push(txt_0), self.push(txt_1))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Helper method, same as [`scratch_txt`] but with one optional value
|
/// Helper method, same as [`Self::scratch_txt`] but with one optional value
|
||||||
pub fn scratch_txt_with_opt(
|
pub fn scratch_txt_with_opt(
|
||||||
&mut self,
|
&mut self,
|
||||||
txt_0: impl AsRef<str>,
|
txt_0: impl AsRef<str>,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user