Compare commits

..

2 commits

2 changed files with 13 additions and 0 deletions

4
SpritePacker-GUI/MainWindow.cs Normal file → Executable file
View file

@ -12,6 +12,10 @@ using System.Text;
namespace SpritePacker.GUI namespace SpritePacker.GUI
{ {
/// <summary>
/// The main SpritePacker GUI window.
/// Uses Gtk#. This tutorial is really helpful: http://zetcode.com/gui/gtksharp/
/// </summary>
public class MainWindow : Window public class MainWindow : Window
{ {
private static bool initialised = false; private static bool initialised = false;

9
SpritePacker/SBRLUtilities/ResizeImage.cs Normal file → Executable file
View file

@ -9,6 +9,15 @@ namespace SpritePacker.SBRLUtilities
/// <summary> /// <summary>
/// Resizes a <c>Bitmap</c> such that it fits within the target dimensions. /// Resizes a <c>Bitmap</c> such that it fits within the target dimensions.
/// </summary> /// </summary>
/// <description>
/// v0.1, by Starbeamrainbowlabs
/// Last updated on 2nd August 2016
/// Licensed under MPL v2.0.
///
/// Changelog:
/// v0.1 (2nd August 2016):
/// - Initial Release.
/// </description>
/// <param name="sourceImage">The image to resize.</param> /// <param name="sourceImage">The image to resize.</param>
/// <param name="targetBox">The target dimensions.</param> /// <param name="targetBox">The target dimensions.</param>
/// <returns>The resized image.</returns> /// <returns>The resized image.</returns>