How do I add more text to this list and make them clickable?
Simply I am practicing currently. I have a code that shows a box and the name of the Addon. What I'm trying to do is make a list for each area that I'm in. This list will be quests for the area I'm in for example all the quest in Khenarthi's Roost. I would like to know if anyone might know how I can make this list work with the individual area I'm in, how to add the text (such as quest name), and make each quest name clickable so that it changes to a darker color. This way I can keep up with what quests I have done and haven't done.
I only have my xml done currently. I don't have any lua yet. Here is the xml code I'm using.
<GuiXml>
<Controls>
<TopLevelControl name="QuestMaster" mouseEnabled="true" movable="true" clampedToScreen="true" >
<Dimensions x="170" y="300" />
<Anchor point="CENTER" />
<Controls>
<Backdrop name="$(parent)BG" edgeColor="444444" centerColor="000000" alpha="0.8" >
<AnchorFill />
<Edge edgeSize="1" />
</Backdrop>
<Label name="$(parent)Window" font="ZoFontAnnounceMedium" color="CFDCBD" wrapMode="ELLIPSIS" verticalAlignment="TOP CENTER" text="QuestMaster" horizontalAlignment="CENTER" alpha="0.85">
<AnchorFill />
</Label>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>
If I have something out of place or wrong please let me know as well. I'm just getting started.
|