voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
WidgetTransform
voxelman
gui
components
Mandatory component
@
Component
("gui.WidgetTransform",
Replication
.
none
)
struct
WidgetTransform {
ivec2
relPos
;
ivec2
size
;
ivec2
minSize
;
WidgetId
parent
;
uint
flags
;
ivec2
absPos
;
ivec2
measuredSize
;
ivec2
constrainedSize
();
bool
hasHexpand
();
bool
hasVexpand
();
void
hexpand
(bool val);
void
vexpand
(bool val);
void
hvexpand
(bool val);
bool
contains
(ivec2 pos);
}
Members
Functions
constrainedSize
ivec2
constrainedSize
()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool
contains
(ivec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
hasHexpand
bool
hasHexpand
()
Undocumented in source. Be warned that the author may not have intended to support it.
hasVexpand
bool
hasVexpand
()
Undocumented in source. Be warned that the author may not have intended to support it.
hexpand
void
hexpand
(bool val)
Undocumented in source. Be warned that the author may not have intended to support it.
hvexpand
void
hvexpand
(bool val)
Undocumented in source. Be warned that the author may not have intended to support it.
vexpand
void
vexpand
(bool val)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
absPos
ivec2
absPos
;
Undocumented in source.
flags
uint
flags
;
Undocumented in source.
measuredSize
ivec2
measuredSize
;
Undocumented in source.
minSize
ivec2
minSize
;
Undocumented in source.
parent
WidgetId
parent
;
Undocumented in source.
relPos
ivec2
relPos
;
Undocumented in source.
size
ivec2
size
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
gui
components
enums
WidgetFlags
functions
bringToFront
children
hasHexpand
hasVexpand
hexpand
hvexpand
measuredSize
minSize
moveItemToEnd
numberOfChildren
pos
registerComponents
size
vexpand
widgetType
structs
WidgetContainer
WidgetEvents
WidgetIsFocusable
WidgetName
WidgetStyle
WidgetTransform
WidgetType
hidden
Mandatory component