mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
Change return type of column_user_id to Id
This matches the type of `TableColumnSetup.user_id`
This commit is contained in:
parent
ec07713c5a
commit
8445334450
@ -848,8 +848,8 @@ impl<'a> Specs<'a> {
|
|||||||
pub struct TableColumnSortSpecs<'a>(&'a sys::ImGuiTableColumnSortSpecs);
|
pub struct TableColumnSortSpecs<'a>(&'a sys::ImGuiTableColumnSortSpecs);
|
||||||
impl<'a> TableColumnSortSpecs<'a> {
|
impl<'a> TableColumnSortSpecs<'a> {
|
||||||
/// User id of the column (if specified by a TableSetupColumn() call)
|
/// User id of the column (if specified by a TableSetupColumn() call)
|
||||||
pub fn column_user_id(&self) -> sys::ImGuiID {
|
pub fn column_user_id(&self) -> Id {
|
||||||
self.0.ColumnUserID
|
Id(self.0.ColumnUserID)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Index of the column
|
/// Index of the column
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user