mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-27 06:50:23 +00:00
644d94090f
Added support for previewing layout animations. This includes pane SRT, tex SRT, material color (white/black blending), texture patterns, pane visibilty, and vertex colors. Added textbox previewing. The scaling will be off, and more features is planned (caching font data to disk for faster loading, improve rendering, etc). Rotations now render correctly for X/Y axis. Added game window preview. This removes any editor only drawn objects and also fits the layout to the screen (aka root pane) size. Add support for rendering custom blending with layout materials. Add support for loading character icons for mk8d. These are hardcoded and have been manually set. Note these will only load if within the menu.szs.
26 lines
585 B
C#
26 lines
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Drawing;
|
|
using Toolbox.Library;
|
|
using LibEveryFileExplorer.GFX;
|
|
|
|
namespace FirstPlugin
|
|
{
|
|
public class BXFNT
|
|
{
|
|
public virtual string Name { get; set; }
|
|
|
|
public virtual Bitmap GetBitmap(string text, bool reversewh, LayoutBXLYT.BasePane pane)
|
|
{
|
|
return new Bitmap(32,32);
|
|
}
|
|
|
|
public virtual BitmapFont GetBitmapFont(bool UseChannelComp = false)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|