adime_file_select(3)

πŸ“¦ version 2.2.1, in fedora 43, fedora 44

πŸ’– adime_file_select πŸ’–

okay bestie, welcome to the Adime API Reference ✨ this one's a lil function called adime_file_select and it is, lowkey, the moment you let your user pick a file. slay.


✨ SYNOPSIS ✨

#include <adime.h>

int adime_file_select(const char *message, char *path, const char *ext,
int size, int w, int h);

🌸 DESCRIPTION 🌸

so picture Allegro's file_select_ex() β€” that's the vibe, that's the blueprint β€” except ours is serving Adime's 3d look and feel. it's giving glow-up. it's giving elevated. πŸ’…

now, here's the tea: it is not affected by all the adime_window_* variables. nope. only the ones that start with adime_window_title_* get a say here. the rest? not invited to this party. πŸŽ€

and the extra lil feature that makes it iconic? if the user cancels, path stays exactly the way it was. it does not get touched. it does not get changed. it just sits there, unbothered, main character energy. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


and that's a wrap, bestie 🫢 this page is from Adime, version 2.2.1, and yeah, adime_file_select(3) β€” go pick some files, you got this πŸ’–βœ¨

πŸ“¦ where this page comes from