mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
UI - Cleaned up home page Overlay module - Removed test activation requirements Debugger - Fixed rendering image scaling Surface editor - Attempted to fix movement of devices without a layout
42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
using Artemis.Core;
|
|
using Artemis.Core.Modules;
|
|
using SkiaSharp;
|
|
|
|
namespace Artemis.Plugins.Modules.Overlay
|
|
{
|
|
// The core of your module. Hover over the method names to see a description.
|
|
public class OverlayModule : ProfileModule
|
|
{
|
|
// This is the beginning of your plugin life cycle. Use this instead of a constructor.
|
|
public override void EnablePlugin()
|
|
{
|
|
DisplayName = "Overlay";
|
|
DisplayIcon = "ArrangeBringToFront";
|
|
DefaultPriorityCategory = ModulePriorityCategory.Overlay;
|
|
}
|
|
|
|
// This is the end of your plugin life cycle.
|
|
public override void DisablePlugin()
|
|
{
|
|
// Make sure to clean up resources where needed (dispose IDisposables etc.)
|
|
}
|
|
|
|
public override void ModuleActivated(bool isOverride)
|
|
{
|
|
// When this gets called your activation requirements have been met and the module will start displaying
|
|
}
|
|
|
|
public override void ModuleDeactivated(bool isOverride)
|
|
{
|
|
// When this gets called your activation requirements are no longer met and your module will stop displaying
|
|
}
|
|
|
|
public override void Update(double deltaTime)
|
|
{
|
|
}
|
|
|
|
public override void Render(double deltaTime, ArtemisSurface surface, SKCanvas canvas, SKImageInfo canvasInfo)
|
|
{
|
|
}
|
|
}
|
|
} |