MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / updateFont

Method updateFont

ij/src/main/java/ij/Menus.java:1793–1800  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1791 }
1792
1793 public static void updateFont() {
1794 scale = (int)Math.round(Prefs.getGuiScale());
1795 Font font = getFont();
1796 mbar.setFont(font);
1797 if (ij!=null)
1798 ij.setMenuBar(mbar);
1799 popup.setFont(font);
1800 }
1801
1802 /** Adds a command to the ImageJ menu bar. */
1803 public static void add(String menuPath, String plugin) {

Callers

nothing calls this directly

Calls 4

getGuiScaleMethod · 0.95
getFontMethod · 0.95
setFontMethod · 0.65
roundMethod · 0.45

Tested by

no test coverage detected