All 5 phases of the open-source Decal rebuild: Phase 1: 14 decompiled .NET projects (Interop.*, Adapter, FileService, DecalUtil) Phase 2: 10 native DLLs rewritten as C# COM servers with matching GUIDs - DecalDat, DHS, SpellFilter, DecalInput, DecalNet, DecalFilters - Decal.Core, DecalControls, DecalRender, D3DService Phase 3: C++ shims for Inject.DLL (D3D9 hooking) and LauncherHook.DLL Phase 4: DenAgent WinForms tray application Phase 5: WiX installer and build script 25 C# projects building with 0 errors. Native C++ projects require VS 2022 + Windows SDK (x86). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48 lines
1.4 KiB
C#
48 lines
1.4 KiB
C#
using System.Runtime.InteropServices;
|
|
using Decal.Interop.Controls;
|
|
using Decal.Interop.Core;
|
|
using Decal.Interop.Inject;
|
|
|
|
namespace Decal.DecalControls
|
|
{
|
|
[ComVisible(true)]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
public abstract class ListColumnBase : IListColumn
|
|
{
|
|
private int _width = 100;
|
|
|
|
public bool FixedWidth => false;
|
|
public int Width { get => _width; set => _width = value; }
|
|
public int DataColumns => 1;
|
|
public int Height => 16;
|
|
|
|
public virtual void Render(Canvas canvas, ref tagPOINT ptCell, int nColor) { }
|
|
public virtual void Initialize(IList newVal, PluginSite pSite) { }
|
|
public virtual void SchemaLoad(object pSchema) { }
|
|
public virtual void Activate(ref tagPOINT ptCell) { }
|
|
}
|
|
|
|
[ComVisible(true)]
|
|
[Guid("864DEABF-D079-4B61-A8CF-081418179239")]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
[ProgId("DecalControls.TextColumn")]
|
|
public class TextColumnImpl : ListColumnBase
|
|
{
|
|
}
|
|
|
|
[ComVisible(true)]
|
|
[Guid("F12A2C4C-3B78-46EB-8722-68B27A75AE55")]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
[ProgId("DecalControls.IconColumn")]
|
|
public class IconColumnImpl : ListColumnBase
|
|
{
|
|
}
|
|
|
|
[ComVisible(true)]
|
|
[Guid("48E444F1-8E30-4E4C-B203-4C87FC901586")]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
[ProgId("DecalControls.CheckColumn")]
|
|
public class CheckColumnImpl : ListColumnBase
|
|
{
|
|
}
|
|
}
|