com.threerings.opengl.gui.background
Class TintedBackground

java.lang.Object
  extended by com.threerings.opengl.gui.background.Background
      extended by com.threerings.opengl.gui.background.TintedBackground

public class TintedBackground
extends Background

Displays a partially transparent solid color in the background.


Constructor Summary
TintedBackground(Color4f color)
          Creates a tinted background with the specified color.
 
Method Summary
 void render(Renderer renderer, int x, int y, int width, int height, float alpha)
          Renders this background.
 
Methods inherited from class com.threerings.opengl.gui.background.Background
getMinimumHeight, getMinimumWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TintedBackground

public TintedBackground(Color4f color)
Creates a tinted background with the specified color.

Method Detail

render

public void render(Renderer renderer,
                   int x,
                   int y,
                   int width,
                   int height,
                   float alpha)
Description copied from class: Background
Renders this background.

Overrides:
render in class Background


Copyright © 2011. All Rights Reserved.