mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
Remove deprecated stuff
This commit is contained in:
parent
eefe22a5e6
commit
9401398b29
@ -26,6 +26,10 @@
|
||||
- Reduce unnecessary winit cursor changes which earlier caused cursor
|
||||
flickering or invalid cursors on some platforms (at least Windows)
|
||||
|
||||
### Removed
|
||||
|
||||
- Various things that were deprecated in imgui-rs 0.4.0
|
||||
|
||||
## [0.4.0] - 2020-05-27
|
||||
|
||||
### Added
|
||||
|
||||
@ -2,9 +2,7 @@
|
||||
use bitflags::bitflags;
|
||||
use std::os::raw::c_int;
|
||||
|
||||
use crate::string::ImStr;
|
||||
use crate::widget::tree::{CollapsingHeader, TreeNode, TreeNodeFlags};
|
||||
use crate::Ui;
|
||||
use crate::widget::tree::TreeNodeFlags;
|
||||
|
||||
bitflags!(
|
||||
/// Flags for igBeginDragDropSource(), igAcceptDragDropPayload()
|
||||
@ -123,20 +121,3 @@ bitflags!(
|
||||
);
|
||||
|
||||
pub type ImGuiTreeNodeFlags = TreeNodeFlags;
|
||||
|
||||
impl<'ui> Ui<'ui> {
|
||||
#[deprecated(
|
||||
since = "0.4.0",
|
||||
note = "use imgui::TreeNode::new(...), and build() instead"
|
||||
)]
|
||||
pub fn tree_node<'a>(&self, id: &'a ImStr) -> TreeNode<'a> {
|
||||
TreeNode::new(id)
|
||||
}
|
||||
#[deprecated(
|
||||
since = "0.4.0",
|
||||
note = "use imgui::CollapsingHeader::new(...), and build() instead"
|
||||
)]
|
||||
pub fn collapsing_header<'a>(&self, label: &'a ImStr) -> CollapsingHeader<'a> {
|
||||
CollapsingHeader::new(label)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user