Skip to content

Commit

Permalink
Fixed ImVector naming conventions for ImDrawCmd and added constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Jan 28, 2018
1 parent c45f9d7 commit 834bbdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions imgui/draw/ImDrawCmd.hx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ extern class ImDrawCmd

@:native('ImVector<ImDrawCmd>')
@:structAccess
extern class ImDrawCmdVector extends ImVector<ImDrawCmd>
@:unreflective
extern class ImVectorImDrawCmd extends ImVector<ImDrawCmd>
{
//
@:native('ImVector<ImDrawCmd>') public static function create() : ImVectorImDrawCmd;
}
2 changes: 1 addition & 1 deletion imgui/draw/ImDrawList.hx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import imgui.util.ImVec4;
@:unreflective
extern class ImDrawList
{
@:native('CmdBuffer') public var cmdBuffer : ImDrawCmdVector;
@:native('CmdBuffer') public var cmdBuffer : ImVectorImDrawCmd;
@:native('IdxBuffer') public var idxBuffer : ImDrawIdxVector;
@:native('VtxBuffer') public var vtxBuffer : ImDrawVertVector;

Expand Down

0 comments on commit 834bbdc

Please sign in to comment.