Actually write the damn tool

This commit is contained in:
2024-02-04 22:47:17 -06:00
parent fc0202ec46
commit 6193299dfb
7 changed files with 44 additions and 2 deletions

14
renpy-filepicker-reader.c Normal file
View File

@ -0,0 +1,14 @@
#include <stdio.h>
#include "./tinyfiledialogs/tinyfiledialogs.h"
int main () {
char const * imageFilterPatterns[2] = {"*.png", "*.jpg"};
char* filename = tinyfd_openFileDialog("Please select an image",
"",
2,
imageFilterPatterns,
"Image Files",
0);
printf("%s\n", filename);
}