mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-25 12:28:35 +00:00
commit
021e16ece8
@ -786,7 +786,7 @@ extern "C" {
|
|||||||
pub fn igPushStyleColor(idx: ImGuiCol, col: ImVec4);
|
pub fn igPushStyleColor(idx: ImGuiCol, col: ImVec4);
|
||||||
pub fn igPopStyleColor(count: c_int);
|
pub fn igPopStyleColor(count: c_int);
|
||||||
pub fn igPushStyleVar(idx: ImGuiStyleVar, val: c_float);
|
pub fn igPushStyleVar(idx: ImGuiStyleVar, val: c_float);
|
||||||
pub fn igPushStyleVavrVec(idx: ImGuiStyleVar, val: ImVec2);
|
pub fn igPushStyleVarVec(idx: ImGuiStyleVar, val: ImVec2);
|
||||||
pub fn igPopStyleVar(count: c_int);
|
pub fn igPopStyleVar(count: c_int);
|
||||||
pub fn igGetFont() -> *mut ImFont;
|
pub fn igGetFont() -> *mut ImFont;
|
||||||
pub fn igGetFontSize() -> c_float;
|
pub fn igGetFontSize() -> c_float;
|
||||||
|
|||||||
@ -137,7 +137,7 @@ impl<'ui, 'p> Window<'ui, 'p> {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn always_vertical_scollbar(mut self, value: bool) -> Self {
|
pub fn always_vertical_scrollbar(mut self, value: bool) -> Self {
|
||||||
self.flags.set(ImGuiWindowFlags_AlwaysVerticalScrollbar, value);
|
self.flags.set(ImGuiWindowFlags_AlwaysVerticalScrollbar, value);
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user