mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
[cimgui 1.53.1] Rename igGetItemsLineHeightWithSpacing to igGetFrameHeightWithSpacing
This commit is contained in:
parent
cf15d49e36
commit
1d10578471
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user