From 1e2d7f5bca23fdf7d483c9d305f81025fe76d12c Mon Sep 17 00:00:00 2001 From: krustur Date: Mon, 26 Nov 2018 20:09:11 +0100 Subject: [PATCH] Renamed to IconSnap --- .gitignore | 2 +- IconAlign.code-workspace => IconSnap.code-workspace | 0 README.md | 12 ++++++------ b | 4 ++-- b.bat | 4 ++-- src/main.c | 8 ++++---- 6 files changed, 15 insertions(+), 15 deletions(-) rename IconAlign.code-workspace => IconSnap.code-workspace (100%) diff --git a/.gitignore b/.gitignore index aac371c..51c4a67 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # Build output r -IconAlign +IconSnap # Prerequisites *.d diff --git a/IconAlign.code-workspace b/IconSnap.code-workspace similarity index 100% rename from IconAlign.code-workspace rename to IconSnap.code-workspace diff --git a/README.md b/README.md index 11bd0d8..7d01537 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/b b/b index b2c790f..7e5756b 100644 --- a/b +++ b/b @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/b.bat b/b.bat index 1f3f970..8331a8f 100644 --- a/b.bat +++ b/b.bat @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/src/main.c b/src/main.c index b129b03..3d11e22 100644 --- a/src/main.c +++ b/src/main.c @@ -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; // }