Comments (7)
I need to learn how to implement an icon button first. What documentation and existing code should I look at?
from filer.
Never done it myself, but it looks quite straight forward, see BButton's SetIcon().
How to get to the icon data from the ressources, see GetIcon() of Filer's HelpTab.
Apps like BePDF and Koder use this I-O-M file. Filer should too, to fit it.
from filer.
Thanks! I thought there was an undocumented class BIconButton derived from BButton because the icon buttons are much smaller than a regular button.
So pretty much implement a button like the "Add..." button in the AutoFiler tab and then set the icon to the .iom icon file?
from filer.
Yes, I think so. I expect you can use a smaller button, like you did with the +/- buttons in the rules window. Here's an example of SetIcon() in the Haiku source: http://xref.plausible.coop/source/xref/haiku/src/servers/print/ConfigWindow.cpp#351
from filer.
A 'Save' File dialog for:
- Add to archive
I think it should be an Open file panel. A Save file panel has an extra text control for editing the name of the selected file and is often used for "Save as...".
from filer.
Indeed. That suggestion was from before we (or I...) realized that Filer always deals with single files and its file name determines the ZIP archive's name. So, Open panel it is.
from filer.
Merged!
from filer.
Related Issues (20)
- Add icon-button to specific tests to open file dialogs
- Replace Add/Remove buttons in AutoFiler tab to +/- buttons HOT 1
- File dialogs for folder-only selection should hide all files HOT 1
- Remove SQLite.
- Change file panel titles HOT 6
- Update and add more translations HOT 43
- doesn't build on x86_64 (gcc5)
- Filer crash immediately HOT 24
- gcc5 linker fails when linking AutoFiler
- Need to make v1.2.0 backward compatible with v1.1.0 wrt AutoFilerFolders
- Conflict window: also shows location HOT 6
- Order of the tabs should follow the workflow HOT 2
- Beautfy the Conflict window HOT 2
- Crash on ignore conflicting file when multiple rules HOT 11
- Drag&drop behaviour and file panel modes/filters HOT 26
- Untyped files (on non-BFS partitions) in the file panel HOT 11
- Filer Zone replicant doesn't work well with Shelves different from Desktop
- Crash on rule involving attr checks
- Remove SQLite dependency
- Crashing Filer 1.2.2 HOT 2
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 filer.