libui
libui copied to clipboard
Master issue for simple functionality of basic controls
I built libui incrementally, providing the minimum APIs necessary for what I needed when I added it, and just to make sure everything was accounted for in the end. Now it's time to fill in the holes.
- [ ] uiComboboxInsertAt()
- [ ] uiComboboxDelete()
- [ ] uiComboboxItemText(), uiComboboxSetItemText() (maybe)
- [ ] uiEditableComboboxInsertAt()
- [ ] uiEditableComboboxDelete()
- [ ] uiEditableComboboxItemText(), uiEditableComboboxSetItemText() (maybe)
- [ ] uiRadioButtonsInsertAt()
- [ ] uiRadioButtonsDelete()
- [ ] uiRadioButtonsButtonText(), uiRadioButtonsSetButtonText() (maybe)
- [ ] uiWindowRequestAttention() (see #191 for notes)
- [ ] all Append and InsertAt functions: return the index of the added item (TODO: need to see what happens with grids)
- [ ] all containers: functions to get a child (for multi-child controls, by index) (maybe)
- [ ] uiGridDelete()
- [ ] uiFormInsertAt()
- [ ] uiBoxInsertAt()
- [ ] uiSpinboxRange(), uiSpinboxSetRange() (maybe)
- [ ] uiSliderRange(), uiSliderSetRange() (maybe)
- [ ] uiEntryOnEnterPressed() or the like (maybe) (see #1 and related for notes)
- [ ] uiLabel: multiline, text alignment, other such things (see #180 and andlabs/ui#267 for notes)
- [ ] containers: foreach on children (maybe)
- [ ] uiTab: Current(), SetCurrent() (maybe; I would also need to add a separate wizard functionality to placate those who want to use these two for those)
- [ ] uiTab: get and set tab name (title, etc. — use whatever word I am already using for this)
I think PR #316 fits into this category.
Something that's also missing: a function to set the currently active tab.
Added to list.
Renaming a tab ?
Added to list; thanks.
I don't know if anyone mentioned this somewhere else, but an intermediate state for uiCheckBox?

Making a window non-resizeable: #316.
Maybe also make it possible to make buttons (and other controls) disabled?
That is already possible: https://github.com/andlabs/libui/blob/a0a980712e8057d86747fcf52b67f59b56932f5a/ui.h#L105-L107