.class public Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;
.super Lcom/badlogic/gdx/scenes/scene2d/Actor;
.source "Widget.java"

# interfaces
.implements Lcom/badlogic/gdx/scenes/scene2d/utils/Layout;


# instance fields
.field private l:Z

.field private m:Z

.field private n:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 35
    invoke-direct {p0}, Lcom/badlogic/gdx/scenes/scene2d/Actor;-><init>()V

    const/4 v0, 0x1

    .line 36
    iput-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->l:Z

    .line 38
    iput-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->n:Z

    return-void
.end method


# virtual methods
.method public a(Lcom/badlogic/gdx/graphics/g2d/Batch;F)V
    .locals 0

    .line 122
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->x()V

    return-void
.end method

.method public c()V
    .locals 0

    return-void
.end method

.method protected o()V
    .locals 0

    .line 108
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->y()V

    return-void
.end method

.method public v()F
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public w()F
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public x()V
    .locals 4

    .line 70
    iget-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->n:Z

    if-nez v0, :cond_0

    return-void

    .line 72
    :cond_0
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->g()Lcom/badlogic/gdx/scenes/scene2d/Group;

    move-result-object v0

    .line 73
    iget-boolean v1, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->m:Z

    if-eqz v1, :cond_2

    if-eqz v0, :cond_2

    .line 75
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->f()Lcom/badlogic/gdx/scenes/scene2d/Stage;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 76
    invoke-virtual {v1}, Lcom/badlogic/gdx/scenes/scene2d/Stage;->i()Lcom/badlogic/gdx/scenes/scene2d/Group;

    move-result-object v2

    if-ne v0, v2, :cond_1

    .line 77
    invoke-virtual {v1}, Lcom/badlogic/gdx/scenes/scene2d/Stage;->g()F

    move-result v0

    .line 78
    invoke-virtual {v1}, Lcom/badlogic/gdx/scenes/scene2d/Stage;->h()F

    move-result v1

    goto :goto_0

    .line 80
    :cond_1
    invoke-virtual {v0}, Lcom/badlogic/gdx/scenes/scene2d/Group;->l()F

    move-result v1

    .line 81
    invoke-virtual {v0}, Lcom/badlogic/gdx/scenes/scene2d/Group;->m()F

    move-result v0

    move v3, v1

    move v1, v0

    move v0, v3

    .line 83
    :goto_0
    invoke-virtual {p0, v0, v1}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->b(FF)V

    .line 86
    :cond_2
    iget-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->l:Z

    if-nez v0, :cond_3

    return-void

    :cond_3
    const/4 v0, 0x0

    .line 87
    iput-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->l:Z

    .line 88
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->c()V

    return-void
.end method

.method public y()V
    .locals 1

    const/4 v0, 0x1

    .line 97
    iput-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->l:Z

    return-void
.end method

.method public z()V
    .locals 2

    .line 101
    iget-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->n:Z

    if-nez v0, :cond_0

    return-void

    .line 102
    :cond_0
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->y()V

    .line 103
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/ui/Widget;->g()Lcom/badlogic/gdx/scenes/scene2d/Group;

    move-result-object v0

    .line 104
    instance-of v1, v0, Lcom/badlogic/gdx/scenes/scene2d/utils/Layout;

    if-eqz v1, :cond_1

    check-cast v0, Lcom/badlogic/gdx/scenes/scene2d/utils/Layout;

    invoke-interface {v0}, Lcom/badlogic/gdx/scenes/scene2d/utils/Layout;->z()V

    :cond_1
    return-void
.end method
