Draw a text field with its lower left origin at (x, y) and size of (w, h),
where flags is one or multiple flags from BNDcornerFlags and state denotes
the widgets current UI state.
if iconid >= 0, an icon will be added to the widget
if text is not null, text will be printed to the widget
cbegin must be >= 0 and <= strlen(text) and denotes the beginning of the caret
cend must be >= cbegin and <= strlen(text) and denotes the end of the caret
if cend < cbegin, then no caret will be drawn
widget looks best when height is BND_WIDGET_HEIGHT
Draw a text field with its lower left origin at (x, y) and size of (w, h), where flags is one or multiple flags from BNDcornerFlags and state denotes the widgets current UI state.
if iconid >= 0, an icon will be added to the widget
if text is not null, text will be printed to the widget
cbegin must be >= 0 and <= strlen(text) and denotes the beginning of the caret
cend must be >= cbegin and <= strlen(text) and denotes the end of the caret
if cend < cbegin, then no caret will be drawn
widget looks best when height is BND_WIDGET_HEIGHT