--============================================================================
--  joker_score_card.lua
--  Copyright (c) 2010; Bamtang Games. All Rights Reserved.
------------------------------------------------------------------------------
require("scripts/style.lua");

MakeDialog {
    Bitmap {
        image = "gpx/screens/panel01";
        x = 0; y = 0;
    };
	Bitmap {
		image = "gpx/screens/trophy_icon_01";
		x = 33;
		y = 26;
	};

	Bitmap {
		image = "gpx/screens/trophy_icon_02";
		x = 492;
		y = 26;
	};

	Bitmap {
		image = "gpx/screens/score_text_bg";
		x = 33;
		y = 148;
	};

    clsText {
        name = "Level Complete1";
        font = Font50;
        x = kCenter; y = 20; w = 300; h = 50;
        flags = kHAlignCenter + kVAlignCenter;
        Scale = 0.6;
		Space = -10;
    };
    clsText {
        name = "Level Complete2";
		label = "Level Complete2";
        font = Font50;
        x = kCenter; y = 68; w = 300; h = 50;
        flags = kHAlignCenter + kVAlignCenter;
        Scale = 0.6;
		Space = -10;
    };

    Text {
        label = "lblScore";
        font = Font22;
        x = 50; y = 165; w = 200; h = 50;
        flags = kHAlignLeft + kVAlignTop;
    };

    Text {
        name = "lblScore";
        font = Font40;
        x = 268; y = 151; w = 249; h = 42;
        flags = kHAlignRight + kVAlignCenter;
    };

    Text {
        label = "lblJokerBonus";
        font = Font22;
        x = 50; y = 219; w = 200; h = 50;
        flags = kHAlignLeft + kVAlignTop;
    };
    Text {
        name = "lblJokerBonus";
        font = Font40;
        x = 268; y = 207; w = 249; h = 42;
        flags = kHAlignRight + kVAlignCenter;
    };

    Text {
        label = "lblTotalScore";
        font = Font22;
        x = 50; y = 270; w = 200; h = 60;
        flags = kHAlignLeft + kVAlignTop;
    };

    Text {
        name = "lblTotalScore";
        font = Font40;
        x = 268; y = 255; w = 249; h = 42;
        flags = kHAlignRight + kVAlignCenter;
    };

    Text {
        name = "Avatar";
        label = "";
        x = 500; y = 0;
        w = 10; h = 10;
    };

    SetStyle(PanelButtonStyle);
    Button {
        x = 250; y = 320;
        label = "continue";
        command =
            function()
                gfn_ClearTopWindow();
                onEndLevel();
            end
    };
};
