JAL-4421 Configuration for positioning icons in DMG
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 5 Jun 2024 00:28:20 +0000 (01:28 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 5 Jun 2024 00:28:20 +0000 (01:28 +0100)
utils/channels/default/channel_gradle.properties
utils/channels/default/images/jalview_default_dmg_DS_Store.json [new file with mode: 0644]
utils/channels/develop-SUFFIX/images/jalview_develop_dmg_DS_Store.json [new file with mode: 0644]
utils/channels/release/images/jalview_dmg_DS_Store.json
utils/channels/test-release/images/jalview_test-release_dmg_DS_Store.json

index 0f13784..2b698ba 100644 (file)
@@ -19,6 +19,7 @@ install4j_png_icon_file = jalview_logo.png
 install4j_background = jalview_logo_background_fade-640x480.png
 install4j_dmg_background = jalview_default_dmg_background-72dpi.png
 install4j_dmg_ds_store = jalview_default_dmg_DS_Store
+install4j_dmg_ds_store_json = jalview_default_dmg_DS_Store.json
 
 getdown_background_image_text_font = utils/fonts/Roboto.ttf
 getdown_background_image_text_colour = #b4b4b4
diff --git a/utils/channels/default/images/jalview_default_dmg_DS_Store.json b/utils/channels/default/images/jalview_default_dmg_DS_Store.json
new file mode 100644 (file)
index 0000000..01ea7dc
--- /dev/null
@@ -0,0 +1,20 @@
+{
+  "files": [
+    {
+      "name": " ",
+      "xpos": 170,
+      "ypos": 30
+    }
+  ],
+  "app": {
+    "xpos": 0,
+    "ypos": 30
+  },
+  "icvp": {
+    "gridSpacing": 90,
+    "iconSize": 48.0,
+    "textSize": 12.0,
+    "gridOffsetX": 0.0,
+    "gridOffsetY": 0.0
+  }
+}
diff --git a/utils/channels/develop-SUFFIX/images/jalview_develop_dmg_DS_Store.json b/utils/channels/develop-SUFFIX/images/jalview_develop_dmg_DS_Store.json
new file mode 100644 (file)
index 0000000..c7698a8
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "files": [
+    {
+      "name": " ",
+      "xpos": 290,
+      "ypos": 52
+    }
+  ]
+}
index 5c1b506..aa76531 100644 (file)
@@ -11,8 +11,8 @@
       "ypos": 124
     }
   ],
-  "_comment": "bwsp and icvp are not being used yet",
-  "bwsp": {
+  "_comment": "bwsp and icvp ARE now being used",
+  "NOTbwsp": {
     "ShowStatusBar": false,
     "SidebarWidthTenElevenOrLater": 160,
     "ShowToolbar": false,
     "ShowSidebar": false,
     "ShowPathbar": false
   },
-  "icvp": {
+  "NOTicvp": {
     "backgroundColorBlue": 1.0,
     "backgroundColorGreen": 1.0,
     "backgroundColorRed": 1.0,
     "labelOnBottom": true,
     "gridSpacing": 100,
+    "iconSize": 48.0,
     "textSize": 12.0,
     "backgroundType": 2,
     "gridOffsetX": 0.0,