- Member uiControl::uiAllocControl (size_t n, uint32_t OSsig, uint32_t typesig, const char *typenamestr)
Document parameters
- Member uiControl::uiControlDestroy (uiControl *c)
Document ownership.
- Member uiControl::uiControlSetParent (uiControl *c, uiControl *parent)
Document ownership.
- Member uiControl::uiControlVerifySetParent (uiControl *c, uiControl *parent)
- Make sure all controls have these
- Class uiDateTimePicker
- for Time: define what values are returned when a part is missing
- Class uiFontButton
- Have a function that sets an entire font descriptor to a range in a uiAttributedString at once, for SetFont?
- Member uiImage::uiImageAppend (uiImage *i, void *pixels, int pixelWidth, int pixelHeight, int byteStride)
see if we either need the stride or can provide a way to get the OS-preferred stride (in cairo we do)
use const void * for const correctness
- Class uiMultilineEntry
provide a facility for entering tab stops?
- Member uiSlider::uiNewSlider (int min, int max)
complain or disallow min>max?
- Member uiSlider::uiSliderSetRange (uiSlider *s, int min, int max)
Make sure to clamp the slider value to the nearest value in range - should it be out of range. Call uiSliderOnChanged() in such a case.
- Member uiSpinbox::uiNewSpinbox (int min, int max)
complain or disallow min>max?
- Class uiTableModelHandler
Validate ranges
Validate types on each getter/setter call (? table columns only?)
- Member uiTableModelHandler::NumColumns )(uiTableModelHandler *, uiTableModel *)
- strongly check column numbers and types on all platforms so these clauses can go away
- Member uiTableValueType
Define whether calling any of the getters on the wrong type is undefined behavior or caught error.