ShareX/ShareX.HistoryLib/ImageHistorySettings.cs

41 lines
1.5 KiB
C#
Raw Permalink Normal View History

2013-11-03 12:53:49 +02:00
#region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
2025-01-08 03:46:27 +03:00
Copyright (c) 2007-2025 ShareX Team
2013-11-03 12:53:49 +02:00
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Optionally you can also view the license at <http://www.gnu.org/licenses/>.
*/
#endregion License Information (GPL v3)
2015-08-31 13:36:50 -05:00
using ShareX.HelpersLib;
2018-08-01 14:44:48 +03:00
using System.Drawing;
2013-11-03 12:53:49 +02:00
2014-12-10 22:25:20 +02:00
namespace ShareX.HistoryLib
2013-11-03 12:53:49 +02:00
{
2018-08-01 14:44:48 +03:00
public class ImageHistorySettings
2013-11-03 12:53:49 +02:00
{
public bool RememberWindowState { get; set; } = true;
2018-08-01 14:44:48 +03:00
public WindowState WindowState { get; set; } = new WindowState();
public Size ThumbnailSize { get; set; } = new Size(150, 150);
public int MaxItemCount { get; set; } = 250;
2018-12-02 23:34:29 +03:00
public bool FilterMissingFiles { get; set; } = false;
2018-08-01 16:12:18 +03:00
public bool RememberSearchText { get; set; } = false;
public string SearchText { get; set; } = "";
2013-11-03 12:53:49 +02:00
}
}