[cimgui 1.53.1] Rename igGetItemsLineHeightWithSpacing to igGetFrameHeightWithSpacing

This commit is contained in:
Malik Olivier Boussejra 2018-04-29 18:46:48 +09:00
parent cf15d49e36
commit 1d10578471
2 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- Upgrade to imgui/cimgui 1.53.1
- Rename `Ui::show_test_window` to `Ui::show_demo_window`.
- Rename `sys::igGetItemsLineHeightWithSpacing` to `sys::igGetFrameHeightWithSpacing`.
## [0.0.18] - 2017-12-23

View File

@ -1002,13 +1002,19 @@ extern "C" {
pub fn igAlignTextToFramePadding();
pub fn igGetTextLineHeight() -> c_float;
pub fn igGetTextLineHeightWithSpacing() -> c_float;
pub fn igGetItemsLineHeightWithSpacing() -> c_float;
pub fn igGetFrameHeightWithSpacing() -> c_float;
}
#[allow(non_snake_case)]
#[deprecated(since = "0.0.18", note = "please use igAlignTextToFramePadding instead")]
pub unsafe fn igAlignFirstTextHeightToWidgets() { igAlignTextToFramePadding(); }
#[allow(non_snake_case)]
#[deprecated(since = "0.0.19", note = "please use igGetFrameHeightWithSpacing instead")]
pub unsafe fn igGetItemsLineHeightWithSpacing() -> c_float {
igGetFrameHeightWithSpacing()
}
// Columns
extern "C" {
pub fn igColumns(count: c_int, id: *const c_char, border: bool);