fluid ~master (2024-02-07T07:38:27.1400979)
Dub
Repo
Grid
fluid
grid
The Grid node will align its children in a 2D grid.
@
safe
class
Grid :
Frame
{
mixin
DefineStyles
;
size_t
segmentCount
;
this
(NodeParams params, Segments segments, Ts children);
this
(NodeParams params, Ts children);
void
addRow
(Ts content);
void
resizeImpl
(Vector2 space);
void
drawImpl
(Rectangle outer, Rectangle inner);
}
Constructors
this
this
(NodeParams params, Segments segments, Ts children)
Undocumented in source.
this
this
(NodeParams params, Ts children)
Undocumented in source.
Members
Functions
addRow
void
addRow
(Ts content)
Add a new row to this grid.
drawImpl
void
drawImpl
(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImpl
void
resizeImpl
(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
DefineStyles
Undocumented in source.
Variables
segmentCount
size_t
segmentCount
;
Undocumented in source.
Inherited Members
From Frame
__anonymous
mixin
DefineStyles
Undocumented in source.
__anonymous
mixin
ImplHoveredRect
Undocumented in source.
drawImpl
void
drawImpl
(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
pickStyle
inout
(
Style
)
pickStyle
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
fluid
grid
aliases
grid
gridRow
classes
Grid
GridRow
structs
Segments
templates
segments
The Grid node will align its children in a 2D grid.