Renamed to IconSnap

This commit is contained in:
krustur 2018-11-26 20:09:11 +01:00
parent a691f808fb
commit 1e2d7f5bca
6 changed files with 15 additions and 15 deletions

2
.gitignore vendored
View File

@ -1,6 +1,6 @@
# Build output
r
IconAlign
IconSnap
# Prerequisites
*.d

View File

@ -1,25 +1,25 @@
# IconAlign
# IconSnap
## About
IconAlign is a command line utility that aligns Workbench icons to a grid.
IconSnap is a command line utility that snaps Workbench icons to a grid.
Have you ever felt limited by Workbench's ability to layout the icons? This util aims to aid you in your struggles by allowing you to roughly position your icons in Workbench any way you want, and then run this tool to snap your Icons to a given 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.
## Version
```VER: IconAlign 0.2 (26.11.2018)```
```VER: IconSnap 0.2 (26.11.2018)```
## Requirements
- dos.library V40
- icon.library V45
## Installation
Copy IconAlign to C:
Copy IconSnap to C:
## Usage
### Examples
## Bug reports and Feature requests
Post your Bug reports and Feature requests [on github](https://github.com/krustur/IconAlign/issues)
Post your Bug reports and Feature requests [on github](https://github.com/krustur/IconSnap/issues)
## Contact
Contact me on twitter https://twitter.com/krustur

4
b
View File

@ -1,3 +1,3 @@
; -v for verbose
vc -v src/main.c -stack-check -lamiga -lposix -IDev:vbcc_posix/targets/m68k-amigaos/include -LDev:vbcc_posix/targets/m68k-amigaos/lib -DBUILD_PLATFORM_AMIGA -c99 -o IconAlign
copy IconAlign r
vc -v src/main.c -stack-check -lamiga -lposix -IDev:vbcc_posix/targets/m68k-amigaos/include -LDev:vbcc_posix/targets/m68k-amigaos/lib -DBUILD_PLATFORM_AMIGA -c99 -o IconSnap
copy IconSnap r

4
b.bat
View File

@ -1,4 +1,4 @@
@REM echo off
@REM -v for verbose
vc src/main.c -v -stack-check -size -lamiga -lposix -IE:\Amiga\KrustWB3\Output\Dev\vbcc_posix\targets\m68k-amigaos\include -LE:\Amiga\KrustWB3\Output\Dev\vbcc_posix\targets\m68k-amigaos\lib -DBUILD_PLATFORM_WIN -o IconAlign
copy IconAlign r
vc src/main.c -v -stack-check -size -lamiga -lposix -IE:\Amiga\KrustWB3\Output\Dev\vbcc_posix\targets\m68k-amigaos\include -LE:\Amiga\KrustWB3\Output\Dev\vbcc_posix\targets\m68k-amigaos\lib -DBUILD_PLATFORM_WIN -o IconSnap
copy IconSnap r

View File

@ -31,7 +31,7 @@
extern size_t __stack_usage;
// Version tag
#define VERSTAG "\0$VER: IconAlign 0.2 (26.11.2018)"
#define VERSTAG "\0$VER: IconSnap 0.2 (26.11.2018)"
unsigned char versiontag[] = VERSTAG;
// Build Platform
@ -184,7 +184,7 @@ int main(int argc, char **argv)
unsigned int fixCount = 0;
if (!fileOption && !dirOption)
{
// usage: IconAlign
// usage: IconSnap
fixCount = AlignCurrentWorkingDir();
}
else if (fileOption)
@ -196,7 +196,7 @@ int main(int argc, char **argv)
size_t dirOptionLen = strlen(dirOption);
if (dirOptionLen == 0)
{
// usage: IconAlign DIR ""
// usage: IconSnap DIR ""
fixCount = AlignCurrentWorkingDir();
}
else
@ -212,7 +212,7 @@ int main(int argc, char **argv)
// if (argc != 2)
// {
// printf("incorrect args!\n");
// printf("usage: IconAlign FILE\n");
// printf("usage: IconSnap FILE\n");
// return RETURN_ERROR;
// }