-
Notifications
You must be signed in to change notification settings - Fork 21
Finding the component you need
Tags (use Ctrl/Cmd+F to find these in the page):
- [component
- [mixin
- [template
- [movement
- [OpenGL
- [layout
- [nodraw
- [alignment
- [text
- [color
- [3D
- [tiled
- [border
- [texture
[mixin [OpenGL
Calls GlStateManager.pushMatrix()
before drawing, pops after drawing.
[mixin [OpenGL
Calls GlStateManager.pushAttrib()
before drawing, pops after drawing.
[mixin [OpenGL [color
(includes GlMixin.pushPopAttrib)
Changes the OpenGL color before drawing the component or it's children. Returns an Option<Color>
that you use to specify the color
[mixin [OpenGL [movement [3D
(includes GlMixin.pushPopMatrix)
Translates by the specified amount before drawing. Returns an Option<Vec3d>
that you use to specify the translation.
[mixin [OpenGL [movement [3D
(includes GlMixin.pushPopMatrix)
Scales by the specified amount before drawing. Returns an Option<Vec3d>
that you use to specify the scale.
[mixin [OpenGL [movement [3D
(includes GlMixin.pushPopMatrix)
Rotates by the specified amount before drawing. Returns an Option<Vec3d>
that you use to specify the scale.
[component [layout [nodraw
A void component. It has no functionality beyond what's common to all GuiComponents. Usually used to store other components. Such as this hierarchy contents (CompVoid) -> sidebar (CompVoid) -> list (CompList) -> listItem (CompVoid) -> thumbnail (CompSprite)
[component [text [color [alignment
A text component. It draws text, can change the color, can wrap, can align horizontally and vertically, can draw in unicode mode, and can draw shadows.
[component [color [3D [blocks
A structure model component. It draws a 3D structure and can have a color multiplier. It is generally used inside a Component3DView
[component [color [sprite [texture [tiled [border
A tiled textured component with a border. Draws an arbitrarily sized textured area with a border.
[component [sprite [texture [tiled
A tiled textured component that has caps. Draws an arbitrarily long textured area with sprites at the ends.