Skip to content

Blossomical/customtitlebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Titlebar / Window Frame Customization tool for Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •