Skip to content

Commit

Permalink
migration: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Apr 13, 2023
1 parent b42ec3d commit 1266588
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ sed -i -e 's/imgui\.TableRowFlags_/imgui\.TableRowFlags/g' $files
sed -i -e 's/imgui\.TableColumnFlags_/imgui\.TableColumnFlags/g' $files
sed -i -e 's/\(imgui\.TableColumnFlags.*\)_/\1/g' $files

sed -i -e 's/\(imgui\.PlotFlags\)_/\1/g' $files
# ImPlotFlags:
# disable flags that are not present:
# API CHANGE!
sed -i -e 's/\(imgui\.\)Im\(PlotFlags\)/\1\2/g' $files
sed -i -e 's/\(imgui\.PlotFlags\)_/\1/g' $files
sed -i -e 's/\(.*imgui\.PlotFlagsNoMousePos.*\)/\/\/ \1/g' $files
sed -i -e 's/\(.*imgui\.PlotFlagsNoHighlight.*\)/\/\/ \1/g' $files
sed -i -e 's/\(.*imgui\.PlotFlagsYAxis2.*\)/\/\/ \1/g' $files
Expand All @@ -132,9 +132,10 @@ sed -i -e 's/\(.*imgui\.PlotFlagsAntiAliased.*\)/\/\/ \1/g' $files

# Plot Axis Flags
# API CHANGE!
sed -i -e 's/\(.*imgui\.ImPlotAxisFlagsLogScale.*\)/\/\/ \1/g' $files
sed -i -e 's/\(.*imgui\.ImPlotAxisFlagsTime.*\)/\/\/ \1/g' $files
sed -i -e 's/\(imgui\.\)Im\(PlotAxisFlags\)/\1\2/g' $files
sed -i -e 's/\(.*imgui\.PlotAxisFlagsLogScale.*\)/\/\/ \1/g' $files
sed -i -e 's/\(.*imgui\.PlotAxisFlagsTime.*\)/\/\/ \1/g' $files
sed -i -e 's/\(imgui\.PlotAxisFlags\)_/\1/g' $files

# master window
# API CHANGE!
Expand Down

0 comments on commit 1266588

Please sign in to comment.