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

function removeQuestPanel()
    PopModal("QuestPanel");
end

MakeDialog {
    name = "QuestPanel";


    wndQuestPanel {
        x = 0; y = 0; w = 1024; h = 768;

        Bitmap {
            name = "bmpPanelBlack";
            image = "gpx/screens/transparent_background";
            x = 0; y = 0;
            alpha = true;
        };

        Bitmap {
            name = "bmpContainer";
            x = 0; y = 0; w = 1024; h = 768;
            alpha = true;

            Bitmap {
                image = "gpx/screens/panel02";
                x = 240; y = 200;
                alpha = true;

                Text {
                    label = "Quest Mode Init";
                    font = Font19;
                    x = 90; y = 58; w = 373; h = 243;
                };

                SetStyle(PanelButtonStyle);
                Button {
                    name = "btnContinue";
                    label = "continue";
                    x = 194; y = 307;
                    command = function()
                        gfn_OnBackQuestPanel();
                    end
                };
            };

            Bitmap {
                image = "gpx/screens/logo_titlecard";
				x = 407; y = 156;
                scale = 0.38;
            };

            Bitmap {
                image = "gpx/screens/welcome_avatar01";
                x = 203; y = 432;
            };

            Bitmap {
                image = "gpx/screens/welcome_avatar02";
                x = 704; y = 432;
            };
        };
    };
};
