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
Missing texture generator #9
Comments
The atlas was generated using this with the following options:
The input directory should contain a That being said the atlas and rendering code used in the demo program are meant only to be used for the purpose of the demo program. For real use you're expected to bring your own text, icon and rectangle rendering. Regarding the IDs, if I understand what you mean correctly: this would not work, as removing or adding controls between frames would cause every control after to have an ID different to the previous frame. A practical example of this being an issue would be a console window with logged text at the top and an input box at the bottom, if new text were logged the input box would acquire a new ID -- in the case of it having focus it would lose focus when this happens. |
in my language i use ŁÓźĄżć How generating *.inl file? |
First thanks for microui, I am using it as debugging interface for my little app. I noticed that it's missing a way to generate the texutre used for the demo. I believe you have used the atlas code to do that, but the steps needed are missing. Could you please add them in the READM.md file ?
On a side note, is there a reason for choosing the supply Id based on hashed pointers rather than simple id increments ? This forces the pointers to reference memory allocated on heap, and would break the logic if they are allocated on stack.
The text was updated successfully, but these errors were encountered: