# -*- coding: utf-8 -*-
#
# Copyright 2001-2003, Danger, Inc.  All Rights Reserved.
# This file is subject to the Danger, Inc. Sample Code License,
# which is provided in the file SAMPLE_CODE_LICENSE.
# Copies are also available from http://developer.danger.com/

package "com.danger.predictoball"
interface "{source}com/danger/predictoball/Resources.java"
events "{source}com/danger/predictoball/Events.java"

string ID_APP_NAME		"Predictoball"
string ID_APP_CLASS		"com.danger.predictoball.Predictoball"

bitmap ID_SPLASH_SCREEN		"{base}ID_SplashScreen.png"
bitmap ID_SMALL_ICON		"{base}ID_SmallIcon.png"
bitmap ID_LARGE_ICON		"{base}ID_LargeIcon.png"

string ID_LOCALE		"en_US"

@ IF {os_version} = {1.1}
@ ELSE
splashScreen ID_SPLASH_SCREEN_RESOURCE
	image
		bitmap = ID_SPLASH_SCREEN
		alignWithParentLeft = 0
		alignWithParentTop = 0

	staticTextBox
		text = ID_APP_NAME
		alignWithParentLeft = 2
		alignWithParentTop = 0
		fillToRight = 2
		transparent
		doesNotHaveBorder
endSplashScreen
@ ENDIF

alert HELP_WINDOW 
	title = "Predictoball Help"
	text = "Think of a yes-or-no question. Ask the Predictoball. Press " +
		"the button and receive enlightenment."
endAlert

menu MAIN_MENU

	menuItem
		shortcut = 'H'
		title = "Help"
		event = CMD_HELP

	menuItem
		shortcut = 'P'
		title = "Predict!"
		event = CMD_RUN
		id = PREDICT_MENU_ITEM

endMenu

string DEFAULT_TEXT		"CONCENTRATE AND ASK."

stringArray PREDICTIONS
"SIGNS POINT TO YES."
"YES."
"REPLY HAZY, TRY AGAIN."
"WITHOUT A DOUBT."
"MY SOURCES SAY NO."
"AS I SEE IT, YES."
"YOU MAY RELY ON IT."
"CONCENTRATE AND ASK AGAIN."
"OUTLOOK NOT SO GOOD."
"IT IS DECIDEDLY SO."
"BETTER NOT TELL YOU NOW."
"VERY DOUBTFUL."
"YES - DEFINITELY."
"IT IS CERTAIN."
"CANNOT PREDICT NOW."
"MOST LIKELY."
"ASK AGAIN LATER."
"MY REPLY IS NO."
"OUTLOOK GOOD."
"DON'T COUNT ON IT."
endStringArray

screen PREDICTOBALL_SCREEN
	title = "Predictoball"
	actionMenu = MAIN_MENU
	className = "com.danger.predictoball.PredictoballWindow"

	button
		top = 30
		event = CMD_RUN
		id = PREDICT_BUTTON
		title = "Predict!"
		initialFocus
		centerHorizontally

	staticTextBox
		text = ""
		justifyCenter
		width = 85
		id = PREDICTION_TEXT
		positionBelow = PREDICT_BUTTON : 20
		centerHorizontally

endScreen
