Skip to content

Commit

Permalink
remove unused npaths
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Nov 12, 2023
1 parent 90e3e1c commit 20dea5c
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions MaterialDesign/wxAwesomeBrandsArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -971,10 +971,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxAwesomeRegularArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxAwesomeSolidArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2807,10 +2807,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxFluentuiFilledArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5015,10 +5015,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxFluentuiRegularArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5009,10 +5009,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxMaterialFilledArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4269,10 +4269,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxMaterialOutlinedArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4269,10 +4269,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxMaterialRoundArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4269,10 +4269,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxMaterialSharpArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4269,10 +4269,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxMaterialTwoToneArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4269,10 +4269,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions MaterialDesign/wxSimpleIconsArt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5531,10 +5531,8 @@ if (count>0) return svg;

// Set color to the first path
int ifirst = svg.Find(NEW_PATH);
int npaths = 0;
wxString tmp;
while (!(ifirst==wxNOT_FOUND)) {
npaths++;
// Add color to the current fill
tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1)
+ "fill=\""
Expand Down
2 changes: 0 additions & 2 deletions scripts/create_folder_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ def create_svg_folder_header(base_path,folder,save_path,client_name):
fcpp.write('if (count>0) return svg; \n\n');
fcpp.write("// Set color to the first path \n")
fcpp.write("int ifirst = svg.Find(NEW_PATH); \n")
fcpp.write("int npaths = 0; \n")
fcpp.write("wxString tmp; \n")
fcpp.write("while (!(ifirst==wxNOT_FOUND)) { \n")
fcpp.write(" npaths++; \n")
fcpp.write(" // Add color to the current fill \n")
fcpp.write(" tmp.append(svg.substr(0,(size_t)ifirst+NPSIZE-1) \n")
fcpp.write(' + "fill=\\"" \n')
Expand Down

0 comments on commit 20dea5c

Please sign in to comment.