Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Master issue for simple functionality of basic controls #309

Open
22 tasks
andlabs opened this issue Mar 23, 2018 · 9 comments
Open
22 tasks

Master issue for simple functionality of basic controls #309

andlabs opened this issue Mar 23, 2018 · 9 comments

Comments

@andlabs
Copy link
Owner

andlabs commented Mar 23, 2018

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 Add a function to request user attention #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 request: uiEntryOnSubmitted, OnEnterPressed, etc. #1 and related for notes)
  • uiLabel: multiline, text alignment, other such things (see Multiline Text #180 and Set label width? Wrap text? 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)
@mischnic
Copy link
Contributor

mischnic commented Apr 8, 2018

I think PR #316 fits into this category.

@mischnic
Copy link
Contributor

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

@andlabs
Copy link
Owner Author

andlabs commented Apr 20, 2018

Added to list.

@mischnic
Copy link
Contributor

Renaming a tab ?

@andlabs
Copy link
Owner Author

andlabs commented Apr 29, 2018

Added to list; thanks.

@simplexidev
Copy link
Contributor

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

@mischnic
Copy link
Contributor

mischnic commented Oct 8, 2018

Making a window non-resizeable: #316.

@andlabs andlabs added this to the Unassigned Backlog milestone Dec 31, 2018
@MarSoft
Copy link

MarSoft commented Mar 15, 2020

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

@mischnic
Copy link
Contributor

That is already possible:

libui/ui.h

Lines 105 to 107 in a0a9807

_UI_EXTERN int uiControlEnabled(uiControl *);
_UI_EXTERN void uiControlEnable(uiControl *);
_UI_EXTERN void uiControlDisable(uiControl *);

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants