pack fixes, increased version

This commit is contained in:
krustur 2018-11-30 21:25:53 +01:00
parent 581bd3628f
commit 7705188b78
13 changed files with 181 additions and 19 deletions

View File

@ -2,7 +2,7 @@ Short: Snap Workbench icons to a virtual grid
Uploader: krustur@google.com (Krister Jansson)
Author: Krister Jansson
Type: util/wb
Version: 0.2
Version: 0.3
Architecture: m68k-amigaos >= 2.0.4
Distribution: Aminet
@ -17,18 +17,20 @@ icons in Workbench any way you want, and then run this util to snap your
Icons to a given grid.
Features:
- Snap Workbench icons to grid (x and y individually customizable)
- Add Padding to left and top (individually customizable)
- Snap single icon
- Snap all icons in entire folder or current directory
- Experimental feature: Snap vertically to bottom
- Experimental feature: Snap horizontally to center
- Supports OS3.5 Icons (requires icon.library v44)
- Snap vertically to bottom
- Snap horizontally to center
Installation:
Copy IconSnap to C:
Usage:
How to use:
Order your Icons in Workbench roughly the way you want them positioned, and
then snapshot their position. After that run this tool and point it to the
@ -74,6 +76,13 @@ IconSnap FILE Sys:Disk.info
IconSnap DIR Sys:Utilities/
IconSnap DIR Sys:Tools PADLEFT 15 PADTOP 15 ALIGNX 5 ALIGNY 5 CENTERX BOTTOMY
Bug reports and Feature requests:
Version history:
0.3 Support for OS3.5 Icons (requires icon.library v44)
0.2 First working version/release
Bug reports and feature requests:
Post your Bug reports and Feature requests on github:
https://github.com/krustur/IconSnap/issues

View File

@ -13,20 +13,15 @@ Icons to a given grid.
- Add Padding to left and top (individually customizable)
- Snap single icon
- Snap all icons in entire folder or current directory
- Experimental feature: Snap vertically to bottom
- Experimental feature: Snap horizontally to center
## Version
```VER: IconSnap 0.2 (26.11.2018)```
## Requirements
AmigaOS 2.04
- Supports OS3.5 Icons (requires icon.library v44)
- Snap vertically to bottom
- Snap horizontally to center
## Installation
Copy IconSnap to C:
## Usage
Order your Icons in Workbench roughly the way you want them positioned, and
## How to use
Order your Icons in Workbench roughly the way you want them positioned, and
then snapshot their position. After that run this tool and point it to the
folder containg the Icons to be Snapshot.
@ -69,8 +64,14 @@ VERBOSE/S: Active verbose logging. Used for debugging purposes.
```
IconSnap FILE Sys:Disk.info
IconSnap DIR Sys:Utilities/
IconSnap DIR Sys:Tools PADLEFT 15 PADTOP 15 ALIGNX 5 ALIGNY 5 CENTERX BOTTOMY
IconSnap DIR Sys:Tools PADLEFT 15 PADTOP 15 ALIGNX 5 ALIGNY 5 CENTERX BOTTOMY
```
## Bug reports and Feature requests
Post your Bug reports and Feature requests [on github](https://github.com/krustur/IconSnap/issues)
## Version history
0.3 Support for OS3.5 Icons (requires icon.library v44)
0.2 First working version/release
## Bug reports and feature requests
Post your Bug reports and Feature requests on github:
https://github.com/krustur/IconSnap/issues

95
pack
View File

@ -5,4 +5,99 @@ IF EXISTS bin_<version>
ENDIF
makedir bin_<version>
echo "Updating IconSnap.readme file"
echo > IconSnap.readme "Short: Snap Workbench icons to a virtual grid"
echo >> IconSnap.readme "Uploader: krustur@google.com (Krister Jansson)"
echo >> IconSnap.readme "Author: Krister Jansson"
echo >> IconSnap.readme "Type: util/wb"
echo >> IconSnap.readme "Version: <version>"
echo >> IconSnap.readme "Architecture: m68k-amigaos >= 2.0.4"
echo >> IconSnap.readme "Distribution: Aminet"
echo >> IconSnap.readme ""
echo >> IconSnap.readme "About IconSnap:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.about.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "Features:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.features.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "Installation:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.installation.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "How to use:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.howtouse.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "Command line usage:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.cliusage.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "Examples:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.examples.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "Version history:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.versions.txt
echo >> IconSnap.readme ""
echo >> IconSnap.readme "Bug reports and feature requests:"
echo >> IconSnap.readme ""
type >> IconSnap.readme readme/IconSnap.readme.bugs.txt
echo >> IconSnap.readme ""
echo "Updating README.md"
echo > README.md "# IconSnap"
echo >> README.md "## About"
type >> README.md readme/IconSnap.readme.about.txt
echo >> README.md ""
echo >> README.md "#### Features"
type >> README.md readme/IconSnap.readme.features.txt
echo >> README.md ""
echo >> README.md "## Installation"
type >> README.md readme/IconSnap.readme.installation.txt
echo >> README.md ""
echo >> README.md "## How to use"
type >> README.md readme/IconSnap.readme.howtouse.txt
echo >> README.md ""
echo >> README.md "### Command line usage"
type >> README.md readme/IconSnap.readme.ticks.txt
type >> README.md readme/IconSnap.readme.cliusage.txt
type >> README.md readme/IconSnap.readme.ticks.txt
echo >> README.md ""
echo >> README.md "### Examples"
type >> README.md readme/IconSnap.readme.ticks.txt
type >> README.md readme/IconSnap.readme.examples.txt
type >> README.md readme/IconSnap.readme.ticks.txt
echo >> README.md ""
echo >> README.md "## Version history"
type >> README.md readme/IconSnap.readme.versions.txt
echo >> README.md ""
echo >> README.md "## Bug reports and feature requests"
type >> README.md readme/IconSnap.readme.bugs.txt
echo >> README.md ""
lha -a a bin_<version>/IconSnap.lha IconSnap.readme IconSnap
echo "Make sure given version <version> matches IconSnap executable version"
version IconSnap full

View File

@ -0,0 +1,7 @@
IconSnap is a command line utility that snaps Workbench icons to a virtual
grid.
Have you ever felt limited by Workbench's ability to layout the icons? This
util aids you in your struggles by allowing you to roughly position your
icons in Workbench any way you want, and then run this util to snap your
Icons to a given grid.

View File

@ -0,0 +1,2 @@
Post your Bug reports and Feature requests on github:
https://github.com/krustur/IconSnap/issues

View File

@ -0,0 +1,31 @@
IconSnap FILE/K,DIR/K,PADLEFT/N,PADTOP/N,ALIGNX/N,ALIGNY/N,
CENTERX/S,BOTTOMY/S,VERBOSE/S
FILE/K: Single File or Folder to Snap. Can point to either the
actual file/folder or it's associated .info file.
DIR/K: Folder containing Files and Folders to Snap. If you
want to snap the actual folder, use the FILE parameter
instead.
PADLEFT/N: Use this option to create some Padding to the left of
the Snapped Icons.
PADTOP/N: Use this option to create some Padding above the Snapped
Icons.
ALIGNX/N: Number of pixels in the virual grid on the X axis.
ALIGNY/N: Number of pixels in the virual grid on the Y axis.
CENTERX/S: Snap horizontally to center of the Icon.
NOTE: A bug in the code, that reads the Icon width and
heigth incorrectly, results in this feature not behaving
as expected!
BOTTOMY/S: Snap vertically to the bottom of the Icon.
NOTE: A bug in the code, that reads the Icon width and
heigth incorrectly, results in this feature not behaving
as expected!
VERBOSE/S: Active verbose logging. Used for debugging purposes.

View File

@ -0,0 +1,3 @@
IconSnap FILE Sys:Disk.info
IconSnap DIR Sys:Utilities/
IconSnap DIR Sys:Tools PADLEFT 15 PADTOP 15 ALIGNX 5 ALIGNY 5 CENTERX BOTTOMY

View File

@ -0,0 +1,7 @@
- Snap Workbench icons to grid (x and y individually customizable)
- Add Padding to left and top (individually customizable)
- Snap single icon
- Snap all icons in entire folder or current directory
- Supports OS3.5 Icons (requires icon.library v44)
- Snap vertically to bottom
- Snap horizontally to center

View File

@ -0,0 +1,3 @@
Order your Icons in Workbench roughly the way you want them positioned, and
then snapshot their position. After that run this tool and point it to the
folder containg the Icons to be Snapshot.

View File

@ -0,0 +1 @@
Copy IconSnap to C:

View File

@ -0,0 +1 @@
```

View File

@ -0,0 +1,2 @@
0.3 Support for OS3.5 Icons (requires icon.library v44)
0.2 First working version/release

View File

@ -30,7 +30,7 @@
extern size_t __stack_usage;
// Version tag
#define VERSTAG "\0$VER: IconSnap 0.2 (26.11.2018)"
#define VERSTAG "\0$VER: IconSnap 0.3 (30.11.2018)"
unsigned char versiontag[] = VERSTAG;
// Build Platform