Skip to content

Commit

Permalink
Merge pull request #11 from martinsmith1968/bugfix/consolidate-data-f…
Browse files Browse the repository at this point in the history
…iles

Bugfix/consolidate data files
  • Loading branch information
martinsmith1968 authored Feb 23, 2020
2 parents 37df49c + c6a15fc commit bc07695
Show file tree
Hide file tree
Showing 25 changed files with 2,287 additions and 2,175 deletions.
44 changes: 22 additions & 22 deletions AboutGui.ahk
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@

BuildAboutGui()
{
Global AppName, AppTitle, AppDescription, AppNotes, AppURL, AppVersion
Gui, About:New, -SysMenu +OwnDialogs
Gui, About:Add, Picture, x10 y10, %A_ScriptFullPath%
Gui, About:Add, Text, x52 y10, %AppTitle% v%AppVersion%
Gui, About:Add, Text, x52 y30, %AppDescription%
Gui, About:Add, Text, x52 y50 h60 w280, %AppNotes%
Gui, About:Add, Link, x52 y120, <a href="%AppURL%">%AppURL%</a>
Gui, About:Add, Button, default x135 y150 w80, OK
Global AppName, AppTitle, AppDescription, AppNotes, AppURL, AppVersion
Gui, About:New, -SysMenu +OwnDialogs
Gui, About:Add, Picture, x10 y10, %A_ScriptFullPath%
Gui, About:Add, Text, x52 y10, %AppTitle% v%AppVersion%
Gui, About:Add, Text, x52 y30, %AppDescription%
Gui, About:Add, Text, x52 y50 h60 w280, %AppNotes%
Gui, About:Add, Link, x52 y120, <a href="%AppURL%">%AppURL%</a>
Gui, About:Add, Button, default x135 y150 w80, OK
}

DestroyAboutGui()
{
Gui, About:Destroy
Gui, About:Destroy
}

ShowAboutGui()
{
Global AppName, AppTitle, AppDescription, AppNotes, AppURL, AppVersion
BuildAboutGui()
Gui, About:Show, w350 h180, About... %AppTitle%
Global AppName, AppTitle, AppDescription, AppNotes, AppURL, AppVersion
BuildAboutGui()
Gui, About:Show, w350 h180, About... %AppTitle%
}

AboutGuiEscape:
{
DestroyAboutGui()
return
DestroyAboutGui()
return
}

AboutGuiClose:
{
DestroyAboutGui()
return
DestroyAboutGui()
return
}

AboutButtonOK:
{
DestroyAboutGui()
return
}
DestroyAboutGui()
return
}
4 changes: 4 additions & 0 deletions Docs/releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## v1.6.7 - 2020-02-23

- Consolidate data saving

## v1.6.6 - 2020-01-27

- Support History of Saved Desktop Icons
Expand Down
28 changes: 14 additions & 14 deletions Lib/ArrayUtils.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@
SortArray(Arr)
{
t:=Object()
for k, v in Arr
t[RegExReplace(v,"\s")] := v
for k, v in t
Arr[A_Index] := v
return Arr
}

ReverseArray(arr)
{
newArr := []
for k, v in arr
newArr.Insert(1, v)
return newArr
newArr := []
for k, v in arr
newArr.Insert(1, v)
return newArr
}

;--------------------------------------------------------------------------------
; IndexOf - Find the index of an array item
IndexOf(array, item)
{
for index, param in array
{
if (param = item)
return index
}
{
if (param = item)
return index
}
return 0
}
Loading

0 comments on commit bc07695

Please sign in to comment.