Actually write the damn tool
This commit is contained in:
14
renpy-filepicker-reader.c
Normal file
14
renpy-filepicker-reader.c
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user