diff --git a/Changelog.md b/Changelog.md index 03e6d29..3fe735c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,12 @@ +# 2022.8.28.0 + +*2022-08-28* + +- Added + - RedGifs icon +- Fixed + - Incorrect number of posts displayed in the Reddit channels downloader. + # 2022.8.22.0 *2022-08-22* diff --git a/SCrawler/API/Redgifs/SiteSettings.vb b/SCrawler/API/Redgifs/SiteSettings.vb index 1628ecc..3fe11d2 100644 --- a/SCrawler/API/Redgifs/SiteSettings.vb +++ b/SCrawler/API/Redgifs/SiteSettings.vb @@ -13,6 +13,16 @@ Imports PersonalUtilities.Functions.RegularExpressions Namespace API.RedGifs Friend Class SiteSettings : Inherits SiteSettingsBase + Friend Overrides ReadOnly Property Icon As Icon + Get + Return My.Resources.RegGifsIcon + End Get + End Property + Friend Overrides ReadOnly Property Image As Image + Get + Return My.Resources.RegGifsPic32 + End Get + End Property Friend Sub New() MyBase.New(RedGifsSite, "redgifs.com") UrlPatternUser = "https://www.redgifs.com/users/{0}/" diff --git a/SCrawler/Channels/ChannelViewForm.vb b/SCrawler/Channels/ChannelViewForm.vb index df22778..0625696 100644 --- a/SCrawler/Channels/ChannelViewForm.vb +++ b/SCrawler/Channels/ChannelViewForm.vb @@ -194,6 +194,7 @@ Friend Class ChannelViewForm : Implements IChannelLimits .ButtonKey(RButton.Previous) = Keys.F2 .ButtonKey(RButton.Next) = Keys.F3 .LabelNumbersProvider = CProvider + .Limit = ImagesInRow * ImagesRows .AddThisToolbar() End With ToolbarTOP.Items.AddRange({CMB_CHANNELS.GetControlHost, diff --git a/SCrawler/Content/Icons/RegGifsIcon.ico b/SCrawler/Content/Icons/RegGifsIcon.ico new file mode 100644 index 0000000..ad5dcd1 Binary files /dev/null and b/SCrawler/Content/Icons/RegGifsIcon.ico differ diff --git a/SCrawler/Content/Pictures/RegGifsPic32.png b/SCrawler/Content/Pictures/RegGifsPic32.png new file mode 100644 index 0000000..badc41b Binary files /dev/null and b/SCrawler/Content/Pictures/RegGifsPic32.png differ diff --git a/SCrawler/My Project/AssemblyInfo.vb b/SCrawler/My Project/AssemblyInfo.vb index a9107d3..b73b108 100644 --- a/SCrawler/My Project/AssemblyInfo.vb +++ b/SCrawler/My Project/AssemblyInfo.vb @@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + diff --git a/SCrawler/My Project/Resources.Designer.vb b/SCrawler/My Project/Resources.Designer.vb index bc5c4ce..0565934 100644 --- a/SCrawler/My Project/Resources.Designer.vb +++ b/SCrawler/My Project/Resources.Designer.vb @@ -270,6 +270,26 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + ''' + Friend ReadOnly Property RegGifsIcon() As System.Drawing.Icon + Get + Dim obj As Object = ResourceManager.GetObject("RegGifsIcon", resourceCulture) + Return CType(obj,System.Drawing.Icon) + End Get + End Property + + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Friend ReadOnly Property RegGifsPic32() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("RegGifsPic32", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' diff --git a/SCrawler/My Project/Resources.resx b/SCrawler/My Project/Resources.resx index c749120..714513d 100644 --- a/SCrawler/My Project/Resources.resx +++ b/SCrawler/My Project/Resources.resx @@ -199,4 +199,10 @@ ..\Content\Pictures\Pause_Blue_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Content\Icons\RegGifsIcon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Content\Pictures\RegGifsPic32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/SCrawler/SCrawler.vbproj b/SCrawler/SCrawler.vbproj index 15b6762..1e66ebf 100644 --- a/SCrawler/SCrawler.vbproj +++ b/SCrawler/SCrawler.vbproj @@ -31,8 +31,8 @@ true - 10.0.16299.0 - 10.0.16299.0 + 10.0 + 10.0 AnyCPU @@ -425,6 +425,8 @@ + + PreserveNewest