Skip to content

Commit

Permalink
Added setTexID function back to ImFontAtlas
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Jan 17, 2018
1 parent 3b78e7e commit 6dd23e8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions imgui/font/ImFontAtlas.hx
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,7 @@ extern class ImFontAtlas
_pixels = cast ptr.toUnmanagedArray(_outWidth * _outHeight);
}

/*
@:native('ImGui::linc::SetTexID') private static function _setTexID(_atlas : RawPointer<ImFontAtlas>, _data : String) : RawPointer<cpp.Void>;
inline function setTexID(_data : String) : RawPointer<cpp.Void> {
return _setTexID(RawPointer.addressOf(this), _data);
}
*/
@:native('SetTexID') function setTexID(_id : ImTextureID) : Void;

//--------------//
// Glyph Ranges //
Expand Down

0 comments on commit 6dd23e8

Please sign in to comment.