Skip to content

Finding the component you need

thecodewarrior edited this page Aug 13, 2016 · 6 revisions

Finding the component/mixin/template 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
  • [item
  • [tooltip
  • [input

GlMixin.pushPopMatrix no JavaDocs

[mixin [OpenGL

Calls GlStateManager.pushMatrix() before drawing, pops after drawing.


GlMixin.pushPopAttrib no JavaDocs

[mixin [OpenGL

Calls GlStateManager.pushAttrib() before drawing, pops after drawing.


GlMixin.color no JavaDocs

[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


GlMixin.transform no JavaDocs

[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.


GlMixin.scale no JavaDocs

[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.


GlMixin.rotate no JavaDocs

[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.


ComponentVoid no JavaDocs

[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)


ComponentText no JavaDocs

[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.


ComponentStructure no JavaDocs

[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


ComponentSpriteTiled no JavaDocs

[component [color [sprite [texture [tiled [border

A tiled textured component with a border. Draws an arbitrarily sized textured area with a border.


ComponentSpriteCapped no JavaDocs

[component [sprite [texture [tiled

A tiled textured component that has caps. Draws an arbitrarily long textured area with sprites at the ends.


ComponentSprite no JavaDocs

[component [sprite [texture [color

A sprite component. Draws a sprite at an arbitrary size on the screen. Stretches or squishes as necessary.


ComponentSlot no JavaDocs

[component [item [stack [tooltip

A slot component. Draws an itemstack and enqueues it's tooltip. Tooltip and stack size text are customizable.


ComponentSliderTray no JavaDocs move out of gui API into book API

[component [nodraw [movement

A component that slides out to the left of the screen and slides back once invalidated.


ComponentSlider no JavaDocs

[component [nodraw [movement [input

Clone this wiki locally