Compare commits
2 commits
b4eab747a4
...
1fdf0eaf40
Author | SHA1 | Date | |
---|---|---|---|
1fdf0eaf40 | |||
eaf1f11735 |
2 changed files with 13 additions and 0 deletions
4
SpritePacker-GUI/MainWindow.cs
Normal file → Executable file
4
SpritePacker-GUI/MainWindow.cs
Normal file → Executable file
|
@ -12,6 +12,10 @@ using System.Text;
|
|||
|
||||
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
|
||||
{
|
||||
private static bool initialised = false;
|
||||
|
|
9
SpritePacker/SBRLUtilities/ResizeImage.cs
Normal file → Executable file
9
SpritePacker/SBRLUtilities/ResizeImage.cs
Normal file → Executable file
|
@ -9,6 +9,15 @@ namespace SpritePacker.SBRLUtilities
|
|||
/// <summary>
|
||||
/// Resizes a <c>Bitmap</c> such that it fits within the target dimensions.
|
||||
/// </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="targetBox">The target dimensions.</param>
|
||||
/// <returns>The resized image.</returns>
|
||||
|
|
Loading…
Reference in a new issue