Skip to content

Commit

Permalink
add icons for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgamut committed May 23, 2024
1 parent f427ece commit c64347f
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 6 deletions.
Binary file added macros/About.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions macros/About.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added macros/Exit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions macros/Exit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added macros/LoadImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions macros/LoadImage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added macros/RunAlignment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions macros/RunAlignment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added macros/SaveMarkup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions macros/SaveMarkup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added macros/Settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions macros/Settings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 7 additions & 6 deletions macros/ShoeComp.ijm
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,31 @@
<disableAltClose>
<disableCtrlAltEdit>
<hideMenus>
<noGrid>

<startupAction>
eval("js", "if(IJ.getInstance().isVisible()) IJ.getInstance().setVisible(false);");
</startupAction>

<line>
<button>
label=<html><h1 style="font-weight: normal">Load Image</h1></html>
icon=../../../macros/LoadImage.png
arg=<macro>
call("Image_Loader.callFromMacro");
</macro>

<separator>

<button>
label=<html><h1 style="font-weight: normal">Save Markup</h1></html>
icon=../../../macros/SaveMarkup.png
arg=<macro>
call("Image_Saver.callFromMacro");
</macro>

<separator>

<button>
label=<html><h1 style="font-weight: normal">Run Alignment</h1></html>
icon=../../../macros/RunAlignment.png
arg=<macro>
call("Align_Runner.callFromMacro");
</macro>
Expand All @@ -35,21 +36,21 @@ call("Align_Runner.callFromMacro");
<line>

<button>
label=<html><h1 style="font-weight: normal">About</h1></html>
icon=../../../macros/About.png
arg=<macro>
call("About_Page.callFromMacro");
</macro>

<separator>

<button>
label=<html><h1 style="font-weight: normal">Debug</h1></html>
icon=../../../macros/Settings.png
arg=<hide>

<separator>

<button>
label=<html><h1 style="font-weight: normal">Exit</h1></html>
icon=../../../macros/Exit.png
arg=<macro>
run("Quit");
</macro>
Expand Down

0 comments on commit c64347f

Please sign in to comment.