Skip to content

A large number of usable Windows API functions in Haxe!

Notifications You must be signed in to change notification settings

Slushi-Github/SL-Windows-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SL WINDOWS API

This library, actually called “Slushi Windows API”, is a library for Haxe, with a lot of Windows API functions, to use it in your Haxe projects.

the functions you can use can be found in winapi/WIndowsAPI.hx

This is a simplified version of the Windows API that I have in my Friday Night Funkin' Engine, Slushi Engine.

How to use this:

For functions where something related to the window is modified, it is necessary to use this function to define the window title (it is recommended to leave this in an update function).

// import the library
import winapi.WindowsAPI;

// Set the title of the main window
WindowsAPI.reDefineMainWindowTitle(lime.app.Application.current.window.title);

Examples:

Set a custom color for the main window border

import winapi.WindowsAPI;

WindowsAPI.setWindowBorderColor(255, 0, 0);

About

A large number of usable Windows API functions in Haxe!

Resources

Stars

Watchers

Forks

Languages