gov.tak.platform.widgets.opengl.GLDrawableWidget
@Deprecated public class GLDrawableWidget extends GLWidget2 implements DrawableWidget.OnChangedListener, android.graphics.drawable.Drawable.Callback
Modifier and Type | Field and Description |
---|---|
protected boolean |
_needsRedraw
Deprecated.
|
static GLWidgetSpi |
SPI
Deprecated.
|
Constructor and Description |
---|
GLDrawableWidget(DrawableWidget drw,
GLMapView ortho)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
void |
invalidateDrawable(android.graphics.drawable.Drawable who)
Deprecated.
|
void |
onDrawableChanged(DrawableWidget widget)
Deprecated.
|
void |
releaseWidget()
Deprecated.
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
void |
scheduleDrawable(android.graphics.drawable.Drawable who,
java.lang.Runnable what,
long when)
Deprecated.
|
void |
startObserving(MapWidget subject)
Deprecated.
|
void |
stopObserving(MapWidget subject)
Deprecated.
|
void |
unscheduleDrawable(android.graphics.drawable.Drawable who,
java.lang.Runnable what)
Deprecated.
|
protected void |
updateDrawable()
Deprecated.
|
drawWidget, onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
protected boolean _needsRedraw
public GLDrawableWidget(DrawableWidget drw, GLMapView ortho)
public void startObserving(MapWidget subject)
startObserving
in class GLWidget2
public void stopObserving(MapWidget subject)
stopObserving
in class GLWidget2
public void onDrawableChanged(DrawableWidget widget)
onDrawableChanged
in interface DrawableWidget.OnChangedListener
public void drawWidgetContent()
GLWidget
Must be invoked on GL render thread!
drawWidgetContent
in class GLWidget
public void releaseWidget()
GLWidget
GLWidget.drawWidgetContent()
.
Must be invoked on GL render thread!
releaseWidget
in class GLWidget
protected void updateDrawable()
public void invalidateDrawable(android.graphics.drawable.Drawable who)
invalidateDrawable
in interface android.graphics.drawable.Drawable.Callback
public void scheduleDrawable(android.graphics.drawable.Drawable who, java.lang.Runnable what, long when)
scheduleDrawable
in interface android.graphics.drawable.Drawable.Callback
public void unscheduleDrawable(android.graphics.drawable.Drawable who, java.lang.Runnable what)
unscheduleDrawable
in interface android.graphics.drawable.Drawable.Callback