rpui ~master (2020-04-28T04:53:54Z)
Dub
Repo
Button.Measure
rpui
widgets
button
widget
Button
Undocumented in source.
class
Button
struct
Measure {
float
textWidth
;
vec2
focusOffsets
;
float
focusResize
;
float
textLeftMargin
;
float
textRightMargin
;
float
iconGaps
;
vec2
iconOffsets
;
float
iconsAreaSize
;
FrameRect
uselessBorders
;
}
Members
Variables
focusOffsets
vec2
focusOffsets
;
Undocumented in source.
focusResize
float
focusResize
;
Undocumented in source.
iconGaps
float
iconGaps
;
Undocumented in source.
iconOffsets
vec2
iconOffsets
;
Undocumented in source.
iconsAreaSize
float
iconsAreaSize
;
Undocumented in source.
textLeftMargin
float
textLeftMargin
;
Undocumented in source.
textRightMargin
float
textRightMargin
;
Undocumented in source.
textWidth
float
textWidth
;
Undocumented in source.
uselessBorders
FrameRect
uselessBorders
;
Undocumented in source.
Meta
Source
See Implementation
rpui
widgets
button
widget
Button
constructors
this
functions
onCreate
onProgress
updateSize
structs
Measure
variables
allowCheck
caption
icons
iconsGroup
measure
textAlign
textVerticalAlign
themeLoader
uselessIconArea