view demos/rpg/gui/quest.xml @ 521:494c60cf61cf

Player can now receive a quest, accept it, and complete it. Quests do not have any requirements (i.e. bring me back an item.. etc etc) to be completed at this time.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 27 May 2010 17:31:28 +0000
parents b6bd314df28a
children 69d50e751c9a
line wrap: on
line source

<Container base_color="0,0,0" border_size="0" opaque="0" position="0,0" name="questcontainer" size="1024,768">
	<VBox name="credits" position="312,200" opaque="1" base_color="188,0,0">
		<HBox>
			<Spacer />
			<Label name="questname" border_size="0" text="Quest" />
			<Spacer />
		</HBox>
		<HBox>
			<ScrollArea min_size="400,400" max_size="400,400" size="400,400" vertical_scrollbar="1">
				<TextBox name="questtext"/>
			</ScrollArea>
		</HBox>
		<HBox>
			<Button name="accept" text="Accept"/>
			<Button name="decline" text="Decline"/>
		</HBox>
	</VBox>
</Container>