Skip to content

Commit

Permalink
Support PushStyleVar/PopStyleVar (no multi pop) for ENABLE_IM_LUA_END…
Browse files Browse the repository at this point in the history
…_STACK
  • Loading branch information
casssoft committed Feb 20, 2017
1 parent 00a6efe commit 0751583
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions generate_imgui_bindings.pl
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@ sub generateNamespaceImgui {
# We have to redefine stuff when it doesn't work so cleanly
my %beginN = (
"TreeNode" => "Tree",
"TreePush" => "Tree"
"TreePush" => "Tree",
"PushStyleVar" => "StyleVar"
);
my %changeN = (
"Tree" => "TreePop"
"Tree" => "TreePop",
"StyleVar"=> "PopStyleVar"
);
my %endN = (
"TreePop" => "Tree"
"TreePop" => "Tree",
"PopStyleVar" => "StyleVar"
);
my %endOverride = (
"PopupModal" => "Popup",
Expand Down

0 comments on commit 0751583

Please sign in to comment.