customtitlebar

Titlebar / Window Frame Customization tool for Windows
https://github.com/Blossomical/customtitlebar

To install, run:

haxelib install customtitlebar 1.0.6 

See using Haxelib in Haxelib documentation for more information.

README.md

Custom Title Bar

Really simple window title bar / window frame customization tool for Windows target on HXCPP and HashLink

EXAMPLE USAGE:

Titlebar.setTitlebarColor(50, 20, 80);
Titlebar.setTitleFontColor(200, 180, 240);
Titlebar.setButtonFontColor(20, 10, 30);
Titlebar.setTitleFont("Pixel Arial 11", 'assets/fonts/pixel-latin.ttf', 16);
Titlebar.initialize();
Titlebar.setTitlebarImage('assets/images/pattern.bmp');
Titlebar.setTitleFontColor(200, 180, 240);
Titlebar.setButtonFontColor(20, 10, 30);
Titlebar.setTitleFont("Pixel Arial 11", 'assets/fonts/pixel-latin.ttf', 16);
Titlebar.initialize();

USING setTitleFont:

To get the font's name for the first argument of the function setTitleFont you need to open your font file, and grab the name from there, it's found in the top left corner image

HashLink Setup

(written by someguywholovescoding)

If you've installed this library, run haxelib run hxcpp build_hl.xml -D HASHLINK="your\hashlink\path" at the same path of the titlebar utility class file. Then, drag the hdll over to your export bin.

And after that, you move your hdll over to your export/hl/bin folder of your app.

Contributors
Blossomical
Version
1.0.6
Published
3 months ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂