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

MakeDialog {

    Bitmap {
        name = "bmpBgAlpha";
        image = "gpx/screens/transparent_background";
        x = 0; y = 0;
        alpha = true;
    };
    
    wndMove {
        x = kCenter; y = kCenter;
		w = kMax; h = kMax;

		Bitmap {
			name = "bmpPanel";
			image = "gpx/screens/panel_quit_base";
			x = kCenter;
			y = kCenter;

			Text {
				font = Font18;
				name = "okbody";
				x = 50; y = 10;
				w = 280; h = 60;
				flags = kVAlignCenter + kHAlignCenter;
				label= gDialogTable.body;
			};

			SetStyle(SmallButtonStyle),
			Button {
				name = "btnOk";
				label = "btnOk";
				close = true;
				cancel = true;
				flags = 5;
				font = Font18;
				x = 135; y = 84;
			};
		};
	};
}
