Skip to content

JohnnyCrazy/DX9-Overlay-API-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DX9-Overlay-API-Wrapper

A .NET Wrapper for the DX9-Overlay-API

#####Usage Example (Add the Wrapper DLL as reference):

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Threading;
using DX9OverlayAPIWrapper;

namespace DX9OverlayWrapperTest
{
    class Program
    {
        static void Main(string[] args)
        {
            DX9Overlay.SetParam("process", "GFXTest.exe");
            DX9Overlay.DestroyAllVisual();
            TextLabel text = new TextLabel("Arial", 20, TypeFace.NONE, new Point(5, 5), Color.Red, "Test123", true, true);
            Thread.Sleep(5000);
            text.Text = "Text2"; //Text updaten
            Thread.Sleep(5000);
            text.Color = Color.Cyan; //Color updaten
            Thread.Sleep(5000);
            text.Destroy(); //Text entfernen
        }
    }
}

For all types, look at the source Files

About

A .NET Wrapper for the DX9-Overlay-API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages