mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-25 20:38:36 +00:00
Fix formatting
I don't know where that 3 spaces nonsense came from... :/
This commit is contained in:
parent
1a42c45373
commit
fa5bd75bb3
@ -221,7 +221,7 @@ bitflags!(
|
|||||||
);
|
);
|
||||||
|
|
||||||
pub type ImGuiTextEditCallback =
|
pub type ImGuiTextEditCallback =
|
||||||
Option<extern "C" fn(data: *mut ImGuiTextEditCallbackData) -> c_int>;
|
Option<extern "C" fn(data: *mut ImGuiTextEditCallbackData) -> c_int>;
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Copy, Clone, Debug, Default)]
|
#[derive(Copy, Clone, Debug, Default)]
|
||||||
@ -735,8 +735,7 @@ extern "C" {
|
|||||||
items_separated_by_zeros: *const c_char, height_in_items: c_int) -> bool;
|
items_separated_by_zeros: *const c_char, height_in_items: c_int) -> bool;
|
||||||
pub fn igCombo3(label: *const c_char, current_item: *mut c_int,
|
pub fn igCombo3(label: *const c_char, current_item: *mut c_int,
|
||||||
items_getter: extern "C" fn(data: *mut c_void,
|
items_getter: extern "C" fn(data: *mut c_void,
|
||||||
idx: c_int,
|
idx: c_int, out_text: *mut *const c_char) -> bool,
|
||||||
out_text: *mut *const c_char) -> bool,
|
|
||||||
data: *mut c_void, items_count: c_int,
|
data: *mut c_void, items_count: c_int,
|
||||||
height_in_items: c_int) -> bool;
|
height_in_items: c_int) -> bool;
|
||||||
pub fn igColorButton(col: ImVec4, small_height: bool, outline_border: bool) -> bool;
|
pub fn igColorButton(col: ImVec4, small_height: bool, outline_border: bool) -> bool;
|
||||||
@ -749,8 +748,7 @@ extern "C" {
|
|||||||
scale_min: c_float, scale_max: c_float,
|
scale_min: c_float, scale_max: c_float,
|
||||||
graph_size: ImVec2, stride: c_int);
|
graph_size: ImVec2, stride: c_int);
|
||||||
pub fn igPlotLines2(label: *const c_char,
|
pub fn igPlotLines2(label: *const c_char,
|
||||||
values_getter: extern "C" fn(data: *mut c_void,
|
values_getter: extern "C" fn(data: *mut c_void, idx: c_int) -> c_float,
|
||||||
idx: c_int) -> c_float,
|
|
||||||
data: *mut c_void,
|
data: *mut c_void,
|
||||||
values_count: c_int, values_offset: c_int,
|
values_count: c_int, values_offset: c_int,
|
||||||
overlay_text: *const c_char,
|
overlay_text: *const c_char,
|
||||||
@ -761,8 +759,7 @@ extern "C" {
|
|||||||
scale_min: c_float, scale_max: c_float,
|
scale_min: c_float, scale_max: c_float,
|
||||||
graph_size: ImVec2, stride: c_int);
|
graph_size: ImVec2, stride: c_int);
|
||||||
pub fn igPlotHistogram2(label: *const c_char,
|
pub fn igPlotHistogram2(label: *const c_char,
|
||||||
values_getter: extern "C" fn(data: *mut c_void,
|
values_getter: extern "C" fn(data: *mut c_void, idx: c_int) -> c_float,
|
||||||
idx: c_int) -> c_float,
|
|
||||||
data: *mut c_void,
|
data: *mut c_void,
|
||||||
values_count: c_int, values_offset: c_int,
|
values_count: c_int, values_offset: c_int,
|
||||||
overlay_text: *const c_char,
|
overlay_text: *const c_char,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user