tinyfiledialogs-cr
Basic bindings and convenience class for using tinyfiledialogs in Crystal.
tinyfiledialogs and its information can be found here: https://sourceforge.net/projects/tinyfiledialogs/
Built against tinyfiledialogs 3.19.1 for Windows GNU and Linux.
Installation
-
Add the dependency to your
shard.yml
:dependencies: tinyfiledialogs-cr: github: captainjet/tinyfiledialogs-cr
-
Run
shards install
Usage
require "tinyfiledialogs-cr"
I cannot be asked to write good usage instructions. Please read the source file for commented documentation. Or read the Docs
Development
Clone the tinyfiledialogs repo. I built the .a files on arch with the following commands:
gcc -static -c -o libtinyfiledialogs.a tinyfiledialogs.c
x86_64-w64-mingw32-gcc -static -c -o libtinyfiledialogs.a tinyfiledialogs.c
Moving the files as necessary. Only usable on Crystal GNU for Windows development.
Contributing
- Fork it (https://github.com/captainjet/tinyfiledialogs-cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Robert Rowe - creator and maintainer