/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
H A D | ContainerTest.java | 17 Skin skin; field in class:ContainerTest 22 skin = new Skin(Gdx.files.internal("data/uiskin.json")); 74 table.add(new Label(text, skin)).fill().expand(); 94 skin.dispose();
|
H A D | ImageTest.java | 31 Skin skin;
field in class:ImageTest 38 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
56 skin.dispose();
|
H A D | LabelScaleTest.java | 30 Skin skin; field in class:LabelScaleTest 38 skin = new Skin(Gdx.files.internal("data/uiskin.json")); 46 Label label1 = new Label("This text is scaled 2x.", skin); 49 "This text is scaled. This text is scaled. This text is scaled. This text is scaled. This text is scaled. ", skin); 63 skin.dispose();
|
H A D | ScrollPane2Test.java | 33 Skin skin;
field in class:ScrollPane2Test 39 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
41 ScrollPane pane2 = new ScrollPane(new Image(new Texture("data/group-debug.png")), skin);
63 ScrollPane pane = new ScrollPane(mytable, skin);
94 skin.dispose();
|
H A D | SoundTest.java | 41 Skin skin;
field in class:SoundTest 47 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
49 TextButton play = new TextButton("Play", skin);
50 TextButton stop = new TextButton("Stop", skin);
51 final Slider pitch = new Slider(0.1f, 4, 0.1f, false, skin);
53 final Label pitchValue = new Label("1.0", skin);
54 final Slider volume = new Slider(0.1f, 1, 0.1f, false, skin);
56 final Label volumeValue = new Label("1.0", skin);
58 final Slider pan = new Slider(-1f, 1f, 0.1f, false, skin);
60 final Label panValue = new Label("0.0", skin);
[all...] |
H A D | TableTest.java | 37 Skin skin;
field in class:TableTest 47 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
52 NinePatch patch = skin.getPatch("default-round");
54 Label label = new Label("This is some text.", skin);
71 table.add(new TextButton("Text Button", skin));
81 TextButton button = new TextButton("Text Button", skin);
93 root.add(new Label("meow meow meow meow meow meow meow meow meow meow meow meow", skin)).colspan(3).expandX();
94 root.add(new TextButton("Text Button", skin));
96 root.add(new TextButton("Text Button", skin));
97 root.add(new TextButton("Toggle Button", skin [all...] |
H A D | TextAreaTest.java | 30 private Skin skin;
field in class:TextAreaTest 36 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
40 skin);
46 TextField textField = new TextField("Text field", skin);
74 skin.dispose();
|
H A D | TextButtonTest.java | 30 private Skin skin;
field in class:TextButtonTest 36 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
38 TextButton t = new TextButton("Button" + i, skin);
66 skin.dispose();
|
H A D | UISimpleTest.java | 38 Skin skin; field in class:UISimpleTest 48 // A skin can be loaded via JSON or defined programmatically, either is fine. Using a skin is optional but strongly 50 skin = new Skin(); 52 // Generate a 1x1 white texture and store it in the skin named "white". 56 skin.add("white", new Texture(pixmap)); 59 skin.add("default", new BitmapFont()); 63 textButtonStyle.up = skin.newDrawable("white", Color.DARK_GRAY); 64 textButtonStyle.down = skin.newDrawable("white", Color.DARK_GRAY); 65 textButtonStyle.checked = skin [all...] |
H A D | GroupCullingTest.java | 33 private Skin skin;
field in class:GroupCullingTest 46 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
49 root.add(new ScrollPane(labels, skin)).expand().fill();
51 root.add(drawnLabel = new Label("", skin));
54 labels.add(new Label("Label: " + i, skin) {
67 skin.dispose();
|
H A D | UITest.java | 60 Skin skin; field in class:UITest 68 skin = new Skin(Gdx.files.internal("data/uiskin.json")); 81 ImageButtonStyle style = new ImageButtonStyle(skin.get(ButtonStyle.class)); 86 Button buttonMulti = new TextButton("Multi\nLine\nToggle", skin, "toggle"); 87 Button imgButton = new Button(new Image(image), skin); 88 Button imgToggleButton = new Button(new Image(image), skin, "toggle"); 90 Label myLabel = new Label("this is some text.", skin); 99 final CheckBox checkBox = new CheckBox(" Continuous rendering", skin); 101 final Slider slider = new Slider(0, 10, 1, false, skin); 103 TextField textfield = new TextField("", skin); [all...] |
H A D | LabelTest.java | 37 Skin skin;
field in class:LabelTest 47 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
48 skin.getAtlas().getTextures().iterator().next().setFilter(TextureFilter.Nearest, TextureFilter.Nearest);
49 skin.getFont("default-font").getData().markupEnabled = true;
51 skin.getFont("default-font").getData().setScale(scale);
60 table.add(new Label("This is regular text.", skin));
62 table.add(new Label("This is regular text\nwith a newline.", skin));
64 Label label3 = new Label("This is [RED]regular text\n\nwith newlines,\naligned bottom, right.", skin);
69 Label label4 = new Label("This is regular text with NO newlines, wrap enabled and aligned bottom, right.", skin);
74 Label label5 = new Label("This is regular text with\n\nnewlines, wrap\nenabled and aligned bottom, right.", skin);
[all...] |
H A D | MipMapTest.java | 51 Skin skin;
field in class:MipMapTest 88 skin = new Skin(Gdx.files.internal("data/uiskin.json"));
96 hwMipMap = new CheckBox("Hardware Mips", skin);
97 minFilter = new SelectBox(skin);
99 magFilter = new SelectBox(skin.get(SelectBoxStyle.class));
106 table.add(new Label("Min Filter", skin)).spaceRight(5);
108 table.add(new Label("Mag Filter", skin)).spaceRight(5);
142 skin.dispose();
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
H A D | TextTooltip.java | 26 public TextTooltip (String text, Skin skin) { argument 27 this(text, TooltipManager.getInstance(), skin.get(TextTooltipStyle.class)); 30 public TextTooltip (String text, Skin skin, String styleName) { argument 31 this(text, TooltipManager.getInstance(), skin.get(styleName, TextTooltipStyle.class)); 38 public TextTooltip (String text, TooltipManager manager, Skin skin) { argument 39 this(text, manager, skin.get(TextTooltipStyle.class)); 42 public TextTooltip (String text, TooltipManager manager, Skin skin, String styleName) { argument 43 this(text, manager, skin.get(styleName, TextTooltipStyle.class));
|
H A D | CheckBox.java | 32 public CheckBox (String text, Skin skin) {
argument 33 this(text, skin.get(CheckBoxStyle.class));
36 public CheckBox (String text, Skin skin, String styleName) {
argument 37 this(text, skin.get(styleName, CheckBoxStyle.class));
|
H A D | Dialog.java | 43 private Skin skin; field in class:Dialog 56 public Dialog (String title, Skin skin) { argument 57 super(title, skin.get(WindowStyle.class)); 58 setSkin(skin); 59 this.skin = skin; 63 public Dialog (String title, Skin skin, String windowStyleName) { argument 64 super(title, skin.get(windowStyleName, WindowStyle.class)); 65 setSkin(skin); 66 this.skin [all...] |
H A D | Image.java | 64 public Image (Skin skin, String drawableName) {
argument 65 this(skin.getDrawable(drawableName), Scaling.stretch, Align.center);
137 public void setDrawable (Skin skin, String drawableName) {
argument 138 setDrawable(skin.getDrawable(drawableName));
|
H A D | ImageButton.java | 32 public ImageButton (Skin skin) {
argument 33 this(skin.get(ImageButtonStyle.class));
36 public ImageButton (Skin skin, String styleName) {
argument 37 this(skin.get(styleName, ImageButtonStyle.class));
|
H A D | ImageTextButton.java | 38 public ImageTextButton (String text, Skin skin) { argument 39 this(text, skin.get(ImageTextButtonStyle.class)); 40 setSkin(skin); 43 public ImageTextButton (String text, Skin skin, String styleName) { argument 44 this(text, skin.get(styleName, ImageTextButtonStyle.class)); 45 setSkin(skin);
|
H A D | Slider.java | 43 public Slider (float min, float max, float stepSize, boolean vertical, Skin skin) {
argument 44 this(min, max, stepSize, vertical, skin.get("default-" + (vertical ? "vertical" : "horizontal"), SliderStyle.class));
47 public Slider (float min, float max, float stepSize, boolean vertical, Skin skin, String styleName) {
argument 48 this(min, max, stepSize, vertical, skin.get(styleName, SliderStyle.class));
|
H A D | TextButton.java | 32 public TextButton (String text, Skin skin) {
argument 33 this(text, skin.get(TextButtonStyle.class));
34 setSkin(skin);
37 public TextButton (String text, Skin skin, String styleName) {
argument 38 this(text, skin.get(styleName, TextButtonStyle.class));
39 setSkin(skin);
|
/external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/ |
H A D | Lwjgl3TestStarter.java | 50 private Skin skin; field in class:Lwjgl3TestStarter.TestChooser 58 skin = new Skin(Gdx.files.internal("data/uiskin.json")); 66 ScrollPane scroll = new ScrollPane(table, skin); 74 final TextButton testButton = new TextButton(testName, skin); 132 skin.dispose();
|
H A D | DragNDropTest.java | 40 private Skin skin; field in class:DragNDropTest 48 skin = new Skin(Gdx.files.internal("data/uiskin.json")); 83 root.add(new Label(file, skin)).left().row();
|
/external/skia/src/views/animated/ |
H A D | SkBorderView.cpp | 29 void SkBorderView::setSkin(const char skin[]) argument 31 init_skin_anim(skin, &fAnim);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/ |
H A D | ControllersTest.java | 39 Skin skin; field in class:ControllersTest 67 skin = new Skin(Gdx.files.internal("data/uiskin.json")); 71 console = new List(skin); 74 TextButton clear = new TextButton("Clear", skin);
|