Skip to content

moxie-coder/linc_filedialogs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linc_filedialogs

Haxe/hxcpp&cppia @:native binding for https://github.com/samhocevar/portable-file-dialogs

-D HXCPP_CPP11 # minimum required

install

haxelib git linc_filedialogs https://github.com/dazKind/linc_filedialogs.git

usage

import filedialogs.FileDialogs;
// ...

var res = FileDialogs.open_file("Open files", "", ["Cortex Resource Files", "*.cxr"], Option.Multiselect);
trace(res);

var res = FileDialogs.save_file("Save a file", ".cxr", ["Cortex Resource Files", "*.cxr"]);
trace(res);

var res = FileDialogs.select_folder("Select a folder");
trace(res);

var btn:Button = FileDialogs.message(
    "Unsaved Files",
    "Do you want to save the current document\n before closing the application?",
    Choice.Yes_No_Cancel, Icon.Warning);

FileDialogs.notify(
    "Cortex event", 
    "Something might be on fire 🔥", 
    Icon.Warning
);

screenshots

Find them here: https://github.com/samhocevar/portable-file-dialogs?tab=readme-ov-file#screenshots-windows-10

About

it's like the library but i Tryt to fix it t

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 59.2%
  • Haxe 40.8%