mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 08:31:47 +00:00
Added: #2370 Snap align border space, object spacing, center alignment,
Setting for color and snap accuracy for guides, grid, Dialogs for editing grid, guides and snapping
This commit is contained in:
@@ -334,7 +334,7 @@ public class View {
|
||||
images.add(loadImage(icon + "16"));
|
||||
images.add(loadImage(icon + "32"));
|
||||
f.setIconImages(images);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets icon of specified frame to ASDec icon
|
||||
@@ -363,6 +363,18 @@ public class View {
|
||||
f.setIconImages(images);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets icon of the window - only 16 px variant.
|
||||
*
|
||||
* @param f
|
||||
* @param icon Icon identifier. Icon must exist in 16px variant.
|
||||
*/
|
||||
public static void setWindowIcon16(Window f, String icon) {
|
||||
List<Image> images = new ArrayList<>();
|
||||
images.add(loadImage(icon + "16"));
|
||||
f.setIconImages(images);
|
||||
}
|
||||
|
||||
public static void centerScreenMain(Window f) {
|
||||
centerScreen(f, true);
|
||||
|
||||
Reference in New Issue
Block a user