Example usage for com.badlogic.gdx.scenes.scene2d.ui Skin getTiledDrawable

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Skin getTiledDrawable

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui Skin getTiledDrawable.

Prototype

public TiledDrawable getTiledDrawable(String name) 

Source Link

Document

Returns a registered tiled drawable.

Usage

From source file:es.eucm.ead.editor.view.widgets.TimelineWidget.java

License:Open Source License

public TimelineWidget(Skin skin, float height, float pixelsPerSecond, float scale) {
    super(true, skin.getTiledDrawable("timeline"));
    this.height = height;
    lastTime = 0;//w w  w  . j a  v  a2s . c  o  m
    this.skin = skin;
    this.pixelsPerSecond = pixelsPerSecond;
    this.scale = scale;
}