8000 File System API · Issue #49 · gfxprim/gfxprim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

File System API #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
RobLoach opened this issue Jan 8, 2022 · 1 comment
Open

File System API #49

RobLoach opened this issue Jan 8, 2022 · 1 comment

Comments

@RobLoach
Copy link
Contributor
RobLoach commented Jan 8, 2022

Have been considering putting together a wrapper around File IO functions to allow loading through PhysFS. I believe each backend could provide its own file system functions. Like how SDL has SDL_RWFromFile().

Would this make sense, or is it becoming out of scope for what you see as the goals for gfxprim?

@metan-ucw
Copy link
Member

Actually this is an interesting proposal, gfxprim at the moment supports loading images from zip, rar, etc. but the API is somewhat limited. I will have to look closer how PhysFS looks like to get a better idea on how things are done there.

And as for the goals, my primary goal for developing this library is the widget library that should be usable starting from embedded Linux all the way up to regular Linux desktop. However I do not mind adding reasonable features that would help your usecase, the only problem is that this is my 'free time' project so things tend to move rather slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0