libui icon indicating copy to clipboard operation
libui copied to clipboard

Master issue for simple functionality of basic controls

Open andlabs opened this issue 7 years ago • 9 comments

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)

andlabs avatar Mar 23 '18 13:03 andlabs

I think PR #316 fits into this category.

mischnic avatar Apr 08 '18 19:04 mischnic

Something that's also missing: a function to set the currently active tab.

mischnic avatar Apr 20 '18 20:04 mischnic

Added to list.

andlabs avatar Apr 20 '18 20:04 andlabs

Renaming a tab ?

mischnic avatar Apr 28 '18 20:04 mischnic

Added to list; thanks.

andlabs avatar Apr 29 '18 00:04 andlabs

I don't know if anyone mentioned this somewhere else, but an intermediate state for uiCheckBox? image

simplexidev avatar Sep 26 '18 01:09 simplexidev

Making a window non-resizeable: #316.

mischnic avatar Oct 08 '18 19:10 mischnic

Maybe also make it possible to make buttons (and other controls) disabled?

MarSoft avatar Mar 15 '20 23:03 MarSoft

That is already possible: https://github.com/andlabs/libui/blob/a0a980712e8057d86747fcf52b67f59b56932f5a/ui.h#L105-L107

mischnic avatar Mar 15 '20 23:03 mischnic