Comments (2)
Hi,
Thanks for telling me this.
When multiple file type filters are set, only one of them will be applied and you can select it on the file browser panel. That seems to be a little inconvenient if you want to apply all filters at the same time. So I have added three small features:
- A special filter ".*", meaning all file extensions
- An auto-generated filter containing all other filters. For example,
SetTypeFilters({".txt", ".TXT"})
results in{".txt,.TXT", ".txt", ".TXT"}
, and the first option matches with both ".txt" and ".TXT". Note that this is a special filter -- user-provided.txt,.TXT
won't work like that. - Filename is case-insensitive on Windows, so filters are also case-insensitive on Windows now and duplicated ones will be merged automatically.
As for this issue, SetTypeFilters({".txt", ".TXT"})
should work as expected (with the newest version of filebrowser).
from imgui-filebrowser.
Thank you! Works as expected like you said.
from imgui-filebrowser.
Related Issues (20)
- `#include <version>` requires C++20 HOT 1
- Double-click file selection HOT 3
- Flags are not modifiable after construction HOT 2
- Segmentation fault on calling Display()
- Missing some extensions when using SetTypeFilters() HOT 2
- A lot of errors when compiling with GCC. HOT 4
- Which compiler should I use to compile this library? HOT 2
- All dont work HOT 3
- 请问怎么才能设置成多选 HOT 2
- Compilation fails in Visual Studio less than 2019 due to missing include HOT 1
- Read access violation when setting type filters on release HOT 5
- File browser turns gray instead of background with recent ImGui version. HOT 2
- Mouse position bug on multiple monitors HOT 2
- file not loading until clicked a second time HOT 4
- Crash when opening a directory containing a file with a weird character in its extension HOT 3
- Not working with gamepad HOT 2
- Still shows files even when select directory flag is set HOT 1
- Select several files with Shift key pressed HOT 9
- uncaught filesystem error exceptions cause problems HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui-filebrowser.