- added a new package to be installed in Linux to make available the black theme for FlatCAM beta

- moved all the 'share' resources (icons) to the 'assets/resources' folder
- some more fixes to problems generated by latest changes in the open handlers
- modified the make_freezed.py script for the new location of the icons
- added a fix for the ConnectionRefusedError in Linux that is issued when first running after a FlatCAM crash
This commit is contained in:
Marius Stanciu
2020-04-28 17:23:49 +03:00
committed by Marius
parent eed7e3d620
commit f03d6bfda4
629 changed files with 61 additions and 43 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/resources/active.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
assets/resources/aero.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 838 B

BIN
assets/resources/arc16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

BIN
assets/resources/arc24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

BIN
assets/resources/arc32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 B

BIN
assets/resources/axis32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
assets/resources/blue32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

BIN
assets/resources/bold32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

BIN
assets/resources/bug16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

BIN
assets/resources/bug32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

BIN
assets/resources/cnc16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

BIN
assets/resources/cnc32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

BIN
assets/resources/code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

BIN
assets/resources/copy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

BIN
assets/resources/copy16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

BIN
assets/resources/copy32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 838 B

BIN
assets/resources/cut16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

BIN
assets/resources/cut32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

View File

@@ -0,0 +1,296 @@
#addarray16.png
#addarray20.png
#addarray32.png
#aero_arc.png
#aero_array.png
#aero_buffer.png
#aero_circle_geo.png
#aero_circle.png
#aero_disc.png
#aero_drill_array.png
#aero_drill.png
#aero_path1.png
#aero_path2.png
#aero_path3.png
#aero_path4.png
#aero_path5.png
#aero.png
#aero_semidisc.png
#aero_slot.png
#aero_text.png
#align_center32.png
#align_justify32.png
#align_left32.png
#align_right32.png
#aperture16.png
#aperture32.png
#arc16.png
#arc24.png
#arc32.png
#axis32.png
#backup24.png
#backup_export24.png
#backup_import24.png
#blocked16.png
#bold32.png
#bookmarks16.png
#bookmarks32.png
#buffer16-2.png
#buffer16.png
#buffer20.png
#buffer24.png
#bug16.png
#bug32.png
#calculator16.png
#calculator24.png
#calibrate_16.png
#calibrate_32.png
#cancel_edit16.png
#cancel_edit32.png
#circle32.png
#clear_plot16.png
#clear_plot32.png
#close_edit_file16.png
#close_edit_file32.png
#cnc16.png
#cnc32.png
#code_editor32.png
#code.png
#convert24.png
#copperfill16.png
#copperfill32.png
#copy_16.png
#copy16.png
#copy32.png
#copy_file16.png
#copy_file32.png
#copy_geo.png
#copy.png
#corner32.png
#cut16_bis.png
#cut16.png
#cut32_bis.png
#cut32.png
#cutpath16.png
#cutpath24.png
#cutpath32.png
#database32.png
#defaults.png
#delete32.png
#delete_file16.png
#delete_file32.png
#deleteshape16.png
#deleteshape24.png
#deleteshape32.png
#deselect_all32.png
#disable16.png
#disable32.png
#disc32.png
#distance16.png
#distance32.png
#distance_min16.png
#distance_min32.png
#doubleside16.png
#doubleside32.png
#draw32.png
#drill16.png
#drill32.png
#dxf16.png
#edit16.png
#edit32.png
#edit_file16.png
#edit_file32.png
#edit_ok16.png
#edit_ok32_bis.png
#edit_ok32.png
#eraser26.png
#explode32.png
#export.png
#export_png32.png
#fiducials_32.png
#file16.png
#file32.png
#film16.png
#film32.png
#flatcam_icon128.png
#flatcam_icon16.png
#flatcam_icon24.png
#flatcam_icon256.png
#flatcam_icon32.png
#flatcam_icon48.png
#flipx.png
#flipy.png
#floppy16.png
#floppy32.png
#folder16.png
#folder32_bis.png
#folder32_Excellon.png
#folder32_gerber.png
#folder32.png
#fscreen32.png
#gear32.png
#gear48.png
#geometry16.png
#globe16.png
#goemetry32.png
#graylight12.png
#grid16.png
#grid32_menu.png
#grid32.png
#help.png
#home16.png
#icons.txt
#image16.png
#image32.png
#import.png
#info16.png
#intersection16.png
#intersection24.png
#intersection32.png
#italic32.png
#join16.png
#join32.png
#jump_to16.png
#jump_to32.png
#language32.png
#letter_t_32.png
#link16.png
#machine16.png
#markarea32.png
#move16.png
#move32_bis.png
#move32.png
#ncc16.png
#new_exc32.png
#new_file16.png
#new_file32.png
#new_file_exc16.png
#new_file_exc32.png
#new_file_geo16.png
#new_file_geo32.png
#new_file_grb16.png
#new_file_grb32.png
#new_geo16.png
#new_geo32_bis.png
#new_geo32.png
#notebook16.png
#notebook32.png
#notes16_1.png
#notes16.png
#offset32.png
#offsetx32.png
#offsety32.png
#open_excellon32.png
#open_script32.png
#origin16.png
#origin32.png
#origin.png
#padarray32.png
#paint16.png
#paint20_1.png
#paint20.png
#panel16.png
#panel32.png
#panelize16.png
#panelize32.png
#path32.png
#pdf32.png
#pdf_link16.png
#plot32.png
#plus16.png
#plus32.png
#pointer32.png
#pointer.png
#poligonize32.png
#polygon32.png
#power16.png
#pref.png
#printer16.png
#printer32.png
#project16.png
#project_save16.png
#project_save32.png
#properties32.png
#qrcode32.png
#recent_files.png
#rectangle32.png
#recycle16.png
#replot16.png
#replot32.png
#resize16.png
#rotate.png
#rules32.png
#save_as.png
#scale32.png
#script14.png
#script16.png
#script_new16.png
#script_new24.png
#script_open16.png
#script_open18.png
#script_open24.png
#select_all.png
#semidisc32.png
#shell16.png
#shell32.png
#shortcuts24.png
#skewX.png
#skewY.png
#slot26.png
#slot_array26.png
#snap_16.png
#solderpaste32.png
#solderpastebis32.png
#source32.png
#splash.png
#sub32.png
#subtract16.png
#subtract24.png
#subtract32.png
#svg16.png
#svg32.png
#text32.png
#toggle_units16.png
#toggle_units32.png
#track32.png
#transform.png
#trash16.png
#trash32.png
#tv16.png
#underline32.png
#union16.png
#union32.png
#videohelp24.png
#view64.png
#workspace24.png
#zoom_fit32.png
#zoom_in32.png
#zoom_out32.png
images = $(shell find -name "*.png")
ls:
@ echo $(images) | tr " " "\n"
.PHONY: all
all: $(images)
%.png:
@ echo "\nProcessing $@ $(prefix ../,$@)"
@ convert $(addprefix ../,$@) -fuzz 20% -transparent white $@
@ convert $@ -channel RGB -negate $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque white $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#f7f7f7" $@
# # teste converte cinzas intermediarias
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#000000" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#040404" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#212121" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#262626" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#3b3b3b" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#3e3e3e" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#4c4c4c" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#505050" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#555555" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#575757" $@
@ convert $@ -fuzz 10% -fill "#F3F3F3" -opaque "#919191" $@

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Some files were not shown because too many files have changed in this diff Show More