|
| typedef enum uiForEach | uiForEach |
| |
| typedef struct uiInitOptions | uiInitOptions |
| |
| typedef struct uiControl | uiControl |
| |
| typedef struct uiWindow | uiWindow |
| |
| typedef struct uiButton | uiButton |
| |
| typedef struct uiBox | uiBox |
| |
| typedef struct uiCheckbox | uiCheckbox |
| |
| typedef struct uiEntry | uiEntry |
| |
| typedef struct uiLabel | uiLabel |
| |
| typedef struct uiTab | uiTab |
| |
| typedef struct uiGroup | uiGroup |
| |
| typedef struct uiSpinbox | uiSpinbox |
| |
| typedef struct uiSlider | uiSlider |
| |
| typedef struct uiProgressBar | uiProgressBar |
| |
| typedef struct uiSeparator | uiSeparator |
| |
| typedef struct uiCombobox | uiCombobox |
| |
| typedef struct uiEditableCombobox | uiEditableCombobox |
| |
| typedef struct uiRadioButtons | uiRadioButtons |
| |
| typedef struct uiDateTimePicker | uiDateTimePicker |
| |
| typedef struct uiMultilineEntry | uiMultilineEntry |
| |
| typedef struct uiMenuItem | uiMenuItem |
| |
| typedef struct uiMenu | uiMenu |
| |
| typedef struct uiArea | uiArea |
| |
| typedef struct uiAreaHandler | uiAreaHandler |
| |
| typedef struct uiAreaDrawParams | uiAreaDrawParams |
| |
| typedef struct uiAreaMouseEvent | uiAreaMouseEvent |
| |
| typedef struct uiAreaKeyEvent | uiAreaKeyEvent |
| |
| typedef struct uiDrawContext | uiDrawContext |
| |
| typedef enum uiWindowResizeEdge | uiWindowResizeEdge |
| |
| typedef struct uiDrawPath | uiDrawPath |
| |
| typedef struct uiDrawBrush | uiDrawBrush |
| |
| typedef struct uiDrawStrokeParams | uiDrawStrokeParams |
| |
| typedef struct uiDrawMatrix | uiDrawMatrix |
| |
| typedef struct uiDrawBrushGradientStop | uiDrawBrushGradientStop |
| |
| typedef struct uiDrawBitmap | uiDrawBitmap |
| |
| typedef enum uiDrawBrushType | uiDrawBrushType |
| |
| typedef enum uiDrawLineCap | uiDrawLineCap |
| |
| typedef enum uiDrawLineJoin | uiDrawLineJoin |
| |
| typedef enum uiDrawFillMode | uiDrawFillMode |
| |
| typedef struct uiRect | uiRect |
| |
| typedef struct uiAttribute | uiAttribute |
| |
| typedef enum uiAttributeType | uiAttributeType |
| |
| typedef enum uiTextWeight | uiTextWeight |
| |
| typedef enum uiTextItalic | uiTextItalic |
| |
| typedef enum uiTextStretch | uiTextStretch |
| |
| typedef enum uiUnderline | uiUnderline |
| |
| typedef enum uiUnderlineColor | uiUnderlineColor |
| |
| typedef struct uiOpenTypeFeatures | uiOpenTypeFeatures |
| |
| typedef uiForEach(* | uiOpenTypeFeaturesForEachFunc) (const uiOpenTypeFeatures *otf, char a, char b, char c, char d, uint32_t value, void *data) |
| |
| typedef struct uiAttributedString | uiAttributedString |
| |
| typedef uiForEach(* | uiAttributedStringForEachAttributeFunc) (const uiAttributedString *s, const uiAttribute *a, size_t start, size_t end, void *data) |
| |
| typedef struct uiFontDescriptor | uiFontDescriptor |
| |
| typedef struct uiDrawTextLayout | uiDrawTextLayout |
| |
| typedef enum uiDrawTextAlign | uiDrawTextAlign |
| |
| typedef struct uiDrawTextLayoutParams | uiDrawTextLayoutParams |
| |
| typedef struct uiFontButton | uiFontButton |
| |
| typedef enum uiModifiers | uiModifiers |
| |
| typedef enum uiExtKey | uiExtKey |
| |
| typedef struct uiColorButton | uiColorButton |
| |
| typedef struct uiForm | uiForm |
| |
| typedef enum uiAlign | uiAlign |
| |
| typedef enum uiAt | uiAt |
| |
| typedef struct uiGrid | uiGrid |
| |
| typedef struct uiImage | uiImage |
| |
| typedef struct uiTableValue | uiTableValue |
| |
| typedef enum uiTableValueType | uiTableValueType |
| |
| typedef enum uiSortIndicator | uiSortIndicator |
| |
| typedef struct uiTableModel | uiTableModel |
| |
| typedef struct uiTableModelHandler | uiTableModelHandler |
| |
| typedef struct uiTableTextColumnOptionalParams | uiTableTextColumnOptionalParams |
| |
| typedef struct uiTableParams | uiTableParams |
| |
| typedef struct uiTable | uiTable |
| |
| typedef enum uiTableSelectionMode | uiTableSelectionMode |
| |
| typedef struct uiTableSelection | uiTableSelection |
| |
| typedef struct uiScroll | uiScroll |
| |
| typedef struct uiOpenGLArea | uiOpenGLArea |
| |
| typedef struct uiOpenGLAreaHandler | uiOpenGLAreaHandler |
| |
| typedef struct uiOpenGLAttributes | uiOpenGLAttributes |
| |
| typedef enum uiOpenGLAttribute | uiOpenGLAttribute |
| |
|
| enum | uiForEach { uiForEachContinue
, uiForEachStop
} |
| |
| enum | uiWindowResizeEdge {
uiWindowResizeEdgeLeft
, uiWindowResizeEdgeTop
, uiWindowResizeEdgeRight
, uiWindowResizeEdgeBottom
,
uiWindowResizeEdgeTopLeft
, uiWindowResizeEdgeTopRight
, uiWindowResizeEdgeBottomLeft
, uiWindowResizeEdgeBottomRight
} |
| |
| enum | uiDrawBrushType { uiDrawBrushTypeSolid
, uiDrawBrushTypeLinearGradient
, uiDrawBrushTypeRadialGradient
, uiDrawBrushTypeImage
} |
| |
| enum | uiDrawLineCap { uiDrawLineCapFlat
, uiDrawLineCapRound
, uiDrawLineCapSquare
} |
| |
| enum | uiDrawLineJoin { uiDrawLineJoinMiter
, uiDrawLineJoinRound
, uiDrawLineJoinBevel
} |
| |
| enum | uiDrawFillMode { uiDrawFillModeWinding
, uiDrawFillModeAlternate
} |
| |
| enum | uiAttributeType {
uiAttributeTypeFamily
, uiAttributeTypeSize
, uiAttributeTypeWeight
, uiAttributeTypeItalic
,
uiAttributeTypeStretch
, uiAttributeTypeColor
, uiAttributeTypeBackground
, uiAttributeTypeUnderline
,
uiAttributeTypeUnderlineColor
, uiAttributeTypeFeatures
} |
| |
| enum | uiTextWeight {
uiTextWeightMinimum = 0
, uiTextWeightThin = 100
, uiTextWeightUltraLight = 200
, uiTextWeightLight = 300
,
uiTextWeightBook = 350
, uiTextWeightNormal = 400
, uiTextWeightMedium = 500
, uiTextWeightSemiBold = 600
,
uiTextWeightBold = 700
, uiTextWeightUltraBold = 800
, uiTextWeightHeavy = 900
, uiTextWeightUltraHeavy = 950
,
uiTextWeightMaximum = 1000
} |
| |
| enum | uiTextItalic { uiTextItalicNormal
, uiTextItalicOblique
, uiTextItalicItalic
} |
| |
| enum | uiTextStretch {
uiTextStretchUltraCondensed
, uiTextStretchExtraCondensed
, uiTextStretchCondensed
, uiTextStretchSemiCondensed
,
uiTextStretchNormal
, uiTextStretchSemiExpanded
, uiTextStretchExpanded
, uiTextStretchExtraExpanded
,
uiTextStretchUltraExpanded
} |
| |
| enum | uiUnderline { uiUnderlineNone
, uiUnderlineSingle
, uiUnderlineDouble
, uiUnderlineSuggestion
} |
| |
| enum | uiUnderlineColor { uiUnderlineColorCustom
, uiUnderlineColorSpelling
, uiUnderlineColorGrammar
, uiUnderlineColorAuxiliary
} |
| |
| enum | uiDrawTextAlign { uiDrawTextAlignLeft
, uiDrawTextAlignCenter
, uiDrawTextAlignRight
} |
| |
| enum | uiModifiers { uiModifierCtrl = 1 << 0
, uiModifierAlt = 1 << 1
, uiModifierShift = 1 << 2
, uiModifierSuper = 1 << 3
} |
| | Keyboard modifier keys. More...
|
| |
| enum | uiExtKey {
uiExtKeyEscape = 1
, uiExtKeyInsert
, uiExtKeyDelete
, uiExtKeyHome
,
uiExtKeyEnd
, uiExtKeyPageUp
, uiExtKeyPageDown
, uiExtKeyUp
,
uiExtKeyDown
, uiExtKeyLeft
, uiExtKeyRight
, uiExtKeyF1
,
uiExtKeyF2
, uiExtKeyF3
, uiExtKeyF4
, uiExtKeyF5
,
uiExtKeyF6
, uiExtKeyF7
, uiExtKeyF8
, uiExtKeyF9
,
uiExtKeyF10
, uiExtKeyF11
, uiExtKeyF12
, uiExtKeyN0
,
uiExtKeyN1
, uiExtKeyN2
, uiExtKeyN3
, uiExtKeyN4
,
uiExtKeyN5
, uiExtKeyN6
, uiExtKeyN7
, uiExtKeyN8
,
uiExtKeyN9
, uiExtKeyNDot
, uiExtKeyNEnter
, uiExtKeyNAdd
,
uiExtKeyNSubtract
, uiExtKeyNMultiply
, uiExtKeyNDivide
} |
| |
| enum | uiAlign { uiAlignFill
, uiAlignStart
, uiAlignCenter
, uiAlignEnd
} |
| | Alignment specifiers to define placement within the reserved area. More...
|
| |
| enum | uiAt { uiAtLeading
, uiAtTop
, uiAtTrailing
, uiAtBottom
} |
| | Placement specifier to define placement in relation to another control. More...
|
| |
| enum | uiTableValueType { uiTableValueTypeString
, uiTableValueTypeImage
, uiTableValueTypeInt
, uiTableValueTypeColor
} |
| | uiTableValue types. More...
|
| |
| enum | uiSortIndicator { uiSortIndicatorNone
, uiSortIndicatorAscending
, uiSortIndicatorDescending
} |
| | Sort indicators. More...
|
| |
| enum | uiTableSelectionMode { uiTableSelectionModeNone
, uiTableSelectionModeZeroOrOne
, uiTableSelectionModeOne
, uiTableSelectionModeZeroOrMany
} |
| | Table selection modes. More...
|
| |
| enum | uiOpenGLAttribute {
uiOpenGLAttributeRedBits
, uiOpenGLAttributeGreenBits
, uiOpenGLAttributeBlueBits
, uiOpenGLAttributeAlphaBits
,
uiOpenGLAttributeDepthBits
, uiOpenGLAttributeStencilBits
, uiOpenGLAttributeStereo
, uiOpenGLAttributeSamples
,
uiOpenGLAttributeSRGBCapable
, uiOpenGLAttributeDoubleBuffer
, uiOpenGLAttributeUseOpenGLES
, uiOpenGLAttributeMajorVersion
,
uiOpenGLAttributeMinorVersion
, uiOpenGLAttributeForwardCompat
, uiOpenGLAttributeDebugContext
, uiOpenGLAttributeCompatProfile
,
uiOpenGLAttributeRobustness
} |
| |
|
| const char * | uiInit (uiInitOptions *options) |
| |
| void | uiUninit (void) |
| |
| void | uiFreeInitError (const char *err) |
| |
| void | uiMain (void) |
| |
| void | uiMainSteps (void) |
| |
| int | uiMainStep (int wait) |
| |
| void | uiQuit (void) |
| |
| void | uiQueueMain (void(*f)(void *data), void *data) |
| |
| void | uiTimer (int milliseconds, int(*f)(void *data), void *data) |
| |
| void | uiOnShouldQuit (int(*f)(void *data), void *data) |
| |
| void | uiFreeText (char *text) |
| | Free the memory of a returned string.
|
| |
| void | uiUserBugCannotSetParentOnToplevel (const char *type) |
| |
| char * | uiOpenFile (uiWindow *parent) |
| | File chooser dialog window to select a single file.
|
| |
| char * | uiOpenFolder (uiWindow *parent) |
| | Folder chooser dialog window to select a single folder.
|
| |
| char * | uiSaveFile (uiWindow *parent) |
| | Save file dialog window.
|
| |
| void | uiMsgBox (uiWindow *parent, const char *title, const char *description) |
| | Message box dialog window.
|
| |
| void | uiMsgBoxError (uiWindow *parent, const char *title, const char *description) |
| | Error message box dialog window.
|
| |
| void | uiAreaSetSize (uiArea *a, int width, int height) |
| |
| void | uiAreaQueueRedrawAll (uiArea *a) |
| |
| void | uiAreaScrollTo (uiArea *a, double x, double y, double width, double height) |
| |
| void | uiAreaBeginUserWindowMove (uiArea *a) |
| |
| void | uiAreaBeginUserWindowResize (uiArea *a, uiWindowResizeEdge edge) |
| |
| uiArea * | uiNewArea (uiAreaHandler *ah) |
| |
| uiArea * | uiNewScrollingArea (uiAreaHandler *ah, int width, int height) |
| |
| uiDrawPath * | uiDrawNewPath (uiDrawFillMode fillMode) |
| |
| void | uiDrawFreePath (uiDrawPath *p) |
| |
| void | uiDrawPathNewFigure (uiDrawPath *p, double x, double y) |
| |
| void | uiDrawPathNewFigureWithArc (uiDrawPath *p, double xCenter, double yCenter, double radius, double startAngle, double sweep, int negative) |
| |
| void | uiDrawPathLineTo (uiDrawPath *p, double x, double y) |
| |
| void | uiDrawPathArcTo (uiDrawPath *p, double xCenter, double yCenter, double radius, double startAngle, double sweep, int negative) |
| |
| void | uiDrawPathBezierTo (uiDrawPath *p, double c1x, double c1y, double c2x, double c2y, double endX, double endY) |
| |
| void | uiDrawPathCloseFigure (uiDrawPath *p) |
| |
| void | uiDrawPathAddRectangle (uiDrawPath *p, double x, double y, double width, double height) |
| |
| int | uiDrawPathEnded (uiDrawPath *p) |
| |
| void | uiDrawPathEnd (uiDrawPath *p) |
| |
| void | uiDrawStroke (uiDrawContext *c, uiDrawPath *path, uiDrawBrush *b, uiDrawStrokeParams *p) |
| |
| void | uiDrawFill (uiDrawContext *c, uiDrawPath *path, uiDrawBrush *b) |
| |
| void | uiDrawMatrixSetIdentity (uiDrawMatrix *m) |
| |
| void | uiDrawMatrixTranslate (uiDrawMatrix *m, double x, double y) |
| |
| void | uiDrawMatrixScale (uiDrawMatrix *m, double xCenter, double yCenter, double x, double y) |
| |
| void | uiDrawMatrixRotate (uiDrawMatrix *m, double x, double y, double amount) |
| |
| void | uiDrawMatrixSkew (uiDrawMatrix *m, double x, double y, double xamount, double yamount) |
| |
| void | uiDrawMatrixMultiply (uiDrawMatrix *dest, uiDrawMatrix *src) |
| |
| int | uiDrawMatrixInvertible (uiDrawMatrix *m) |
| |
| int | uiDrawMatrixInvert (uiDrawMatrix *m) |
| |
| void | uiDrawMatrixTransformPoint (uiDrawMatrix *m, double *x, double *y) |
| |
| void | uiDrawMatrixTransformSize (uiDrawMatrix *m, double *x, double *y) |
| |
| void | uiDrawTransform (uiDrawContext *c, uiDrawMatrix *m) |
| |
| void | uiDrawClip (uiDrawContext *c, uiDrawPath *path) |
| |
| void | uiDrawSave (uiDrawContext *c) |
| |
| void | uiDrawRestore (uiDrawContext *c) |
| |
| uiDrawBitmap * | uiDrawNewBitmap (uiDrawContext *c, int width, int height) |
| |
| void | uiDrawBitmapUpdate (uiDrawBitmap *bmp, const void *data) |
| |
| void | uiDrawBitmapDraw (uiDrawContext *c, uiDrawBitmap *bmp, uiRect *srcrect, uiRect *dstrect, int filter) |
| |
| void | uiDrawFreeBitmap (uiDrawBitmap *bmp) |
| |
| void | uiFreeAttribute (uiAttribute *a) |
| |
| uiAttributeType | uiAttributeGetType (const uiAttribute *a) |
| |
| uiAttribute * | uiNewFamilyAttribute (const char *family) |
| |
| const char * | uiAttributeFamily (const uiAttribute *a) |
| |
| uiAttribute * | uiNewSizeAttribute (double size) |
| |
| double | uiAttributeSize (const uiAttribute *a) |
| |
| uiAttribute * | uiNewWeightAttribute (uiTextWeight weight) |
| |
| uiTextWeight | uiAttributeWeight (const uiAttribute *a) |
| |
| uiAttribute * | uiNewItalicAttribute (uiTextItalic italic) |
| |
| uiTextItalic | uiAttributeItalic (const uiAttribute *a) |
| |
| uiAttribute * | uiNewStretchAttribute (uiTextStretch stretch) |
| |
| uiTextStretch | uiAttributeStretch (const uiAttribute *a) |
| |
| uiAttribute * | uiNewColorAttribute (double r, double g, double b, double a) |
| |
| void | uiAttributeColor (const uiAttribute *a, double *r, double *g, double *b, double *alpha) |
| |
| uiAttribute * | uiNewBackgroundAttribute (double r, double g, double b, double a) |
| |
| uiAttribute * | uiNewUnderlineAttribute (uiUnderline u) |
| |
| uiUnderline | uiAttributeUnderline (const uiAttribute *a) |
| |
| uiAttribute * | uiNewUnderlineColorAttribute (uiUnderlineColor u, double r, double g, double b, double a) |
| |
| void | uiAttributeUnderlineColor (const uiAttribute *a, uiUnderlineColor *u, double *r, double *g, double *b, double *alpha) |
| |
| uiOpenTypeFeatures * | uiNewOpenTypeFeatures (void) |
| |
| void | uiFreeOpenTypeFeatures (uiOpenTypeFeatures *otf) |
| |
| uiOpenTypeFeatures * | uiOpenTypeFeaturesClone (const uiOpenTypeFeatures *otf) |
| |
| void | uiOpenTypeFeaturesAdd (uiOpenTypeFeatures *otf, char a, char b, char c, char d, uint32_t value) |
| |
| void | uiOpenTypeFeaturesRemove (uiOpenTypeFeatures *otf, char a, char b, char c, char d) |
| |
| int | uiOpenTypeFeaturesGet (const uiOpenTypeFeatures *otf, char a, char b, char c, char d, uint32_t *value) |
| |
| void | uiOpenTypeFeaturesForEach (const uiOpenTypeFeatures *otf, uiOpenTypeFeaturesForEachFunc f, void *data) |
| |
| uiAttribute * | uiNewFeaturesAttribute (const uiOpenTypeFeatures *otf) |
| |
| const uiOpenTypeFeatures * | uiAttributeFeatures (const uiAttribute *a) |
| |
| uiAttributedString * | uiNewAttributedString (const char *initialString) |
| |
| void | uiFreeAttributedString (uiAttributedString *s) |
| |
| const char * | uiAttributedStringString (const uiAttributedString *s) |
| |
| size_t | uiAttributedStringLen (const uiAttributedString *s) |
| |
| void | uiAttributedStringAppendUnattributed (uiAttributedString *s, const char *str) |
| |
| void | uiAttributedStringInsertAtUnattributed (uiAttributedString *s, const char *str, size_t at) |
| |
| void | uiAttributedStringDelete (uiAttributedString *s, size_t start, size_t end) |
| |
| void | uiAttributedStringSetAttribute (uiAttributedString *s, uiAttribute *a, size_t start, size_t end) |
| |
| void | uiAttributedStringForEachAttribute (const uiAttributedString *s, uiAttributedStringForEachAttributeFunc f, void *data) |
| |
| size_t | uiAttributedStringNumGraphemes (uiAttributedString *s) |
| |
| size_t | uiAttributedStringByteIndexToGrapheme (uiAttributedString *s, size_t pos) |
| |
| size_t | uiAttributedStringGraphemeToByteIndex (uiAttributedString *s, size_t pos) |
| |
| void | uiLoadControlFont (uiFontDescriptor *f) |
| |
| void | uiFreeFontDescriptor (uiFontDescriptor *desc) |
| |
| uiDrawTextLayout * | uiDrawNewTextLayout (uiDrawTextLayoutParams *params) |
| |
| void | uiDrawFreeTextLayout (uiDrawTextLayout *tl) |
| |
| void | uiDrawText (uiDrawContext *c, uiDrawTextLayout *tl, double x, double y) |
| |
| void | uiDrawTextLayoutExtents (uiDrawTextLayout *tl, double *width, double *height) |
| |
| void | uiWindowSetIcon (uiWindow *w, const void *data, size_t length) |
| |
| uiScroll * | uiNewScroll (void) |
| |
| void | uiScrollSetChild (uiScroll *scroll, uiControl *ctl) |
| |
| void | uiLabelSetAttribute (uiLabel *label, uiAttribute *attr) |
| |
| void | uiOpenGLAreaBeginUserWindowMove (uiOpenGLArea *a) |
| |
| void | uiOpenGLAreaBeginUserWindowResize (uiOpenGLArea *a, uiWindowResizeEdge edge) |
| |
| void | uiOpenGLAreaSetVSync (uiOpenGLArea *a, int v) |
| |
| void | uiOpenGLAreaQueueRedrawAll (uiOpenGLArea *a) |
| |
| void | uiOpenGLAreaMakeCurrent (uiOpenGLArea *a) |
| |
| void | uiOpenGLAreaSwapBuffers (uiOpenGLArea *a) |
| |
| uiOpenGLArea * | uiNewOpenGLArea (uiOpenGLAreaHandler *ah, uiOpenGLAttributes *attribs) |
| |
| uiOpenGLAttributes * | uiNewOpenGLAttributes () |
| |
| void | uiFreeOpenGLAttributes (uiOpenGLAttributes *attribs) |
| |
| void | uiOpenGLAttributesSetAttribute (uiOpenGLAttributes *attribs, uiOpenGLAttribute attribute, int value) |
| |
| void | uiSetAppMetadata (const char *name, const char *version, const char *package) |
| | Sets metadata for this application context, call before uiInit.
|
| |