annotate demos/rpg/gui/quest.xml @ 520:b6bd314df28a

Added a quest dialog. Added QuestGiver class. Moved level specific settings to another file. Added BaseItem class.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 27 May 2010 16:29:07 +0000
parents
children 494c60cf61cf
rev   line source
520
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
1 <Container base_color="0,0,0" border_size="0" opaque="0" position="0,0" name="questcontainer" size="1024,768">
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
2 <VBox name="credits" position="312,200" opaque="1" base_color="188,0,0">
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
3 <HBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
4 <Spacer />
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
5 <Label name="questlabel" border_size="0" text="Quest" />
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
6 <Spacer />
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
7 </HBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
8 <HBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
9 <ScrollArea min_size="400,400" max_size="400,400" size="400,400" vertical_scrollbar="1">
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
10 <TextBox name="questtext"/>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
11 </ScrollArea>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
12 </HBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
13 <HBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
14 <Button name="accept" text="Accept"/>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
15 <Button name="decline" text="Decline"/>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
16 </HBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
17 </VBox>
b6bd314df28a Added a quest dialog.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
18 </Container>