raffle
Leandro Silva [11-11-18 - 21:47]
diff --git a/LeoGuildManager.xml b/LeoGuildManager.xml
index a1dbfac..c78ba84 100644
--- a/LeoGuildManager.xml
+++ b/LeoGuildManager.xml
@@ -68,9 +68,26 @@
</Texture>
</Controls>
</Button>
- <Button name="$(parent)PurgeButton" clickSound="Click">
+ <Button name="$(parent)RaffleButton" clickSound="Click">
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$(parent)SettingsButton" offsetX="-5"/>
<Dimensions x="40" y="40"/>
+ <OnMouseEnter>ZO_Tooltips_ShowTextTooltip(self, TOP, 'Raffle')</OnMouseEnter>
+ <OnMouseExit>ZO_Tooltips_HideTextTooltip()</OnMouseExit>
+ <OnClicked>LeoGuildManager.ShowTab("Raffle")</OnClicked>
+ <Controls>
+ <Backdrop name="$(parent)BG" centerColor="101010" edgeColor="202020">
+ <AnchorFill/>
+ <Edge edgeSize="1"/>
+ </Backdrop>
+ <Texture name="$(parent)Texture" textureFile="esoui/art/loot/dice_disabled.dds">
+ <Dimensions y="30" x="35"/>
+ <Anchor point="128"/>
+ </Texture>
+ </Controls>
+ </Button>
+ <Button name="$(parent)PurgeButton" clickSound="Click">
+ <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$(parent)RaffleButton" offsetX="-5"/>
+ <Dimensions x="40" y="40"/>
<OnMouseEnter>ZO_Tooltips_ShowTextTooltip(self, TOP, 'Purge')</OnMouseEnter>
<OnMouseExit>ZO_Tooltips_HideTextTooltip()</OnMouseExit>
<OnClicked>LeoGuildManager.ShowTab("Purge")</OnClicked>
@@ -216,6 +233,31 @@
</Controls>
</Backdrop>
+ <Backdrop name="LeoGuildManagerWindowRafflePanel" tier="1" centerColor="000000" edgeColor="202020" hidden="true" clampedToScreen="true" movable="false" mouseEnabled="true">
+ <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="LeoGuildManagerWindow" offsetX="0" offsetY="52"/>
+ <Dimensions x="1000" y="648"/>
+ <Edge edgeSize="1"/>
+ <Controls>
+ <Label name="$(parent)PrizesLabel" text="Prizes" font="LeoGuildManagerLargeFont" color="E8DFAF" verticalAlignment="CENTER" horizontalAlignment="CENTER">
+ <Dimensions x="300" y="40"/>
+ <Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-10" offsetY="10" />
+ </Label>
+
+ <Backdrop name="$(parent)Prize1BG" tier="1" centerColor="010101" edgeColor="222222">
+ <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$(parent)PrizesLabel" offsetX="0" offsetY="20"/>
+ <Dimensions x="300" y="100"/>
+ <Edge edgeSize="1"/>
+ <Controls>
+ <Label name="$(parent)Prize1TypeLabel" text="Type" font="LeoGuildManagerNormalFont" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT">
+ <Dimensions x="100" y="40"/>
+ <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="10" offsetY="10" />
+ </Label>
+ </Controls>
+ </Backdrop>
+
+ </Controls>
+ </Backdrop>
+
</Controls>
</TopLevelControl>
diff --git a/LeoGuildManagerInit.lua b/LeoGuildManagerInit.lua
index b821acc..3fa6f09 100644
--- a/LeoGuildManagerInit.lua
+++ b/LeoGuildManagerInit.lua
@@ -8,9 +8,11 @@ LeoGuildManager.version = "1.1.1"
LeoGuildManager.chatPrefix = "|c39B027" .. LeoGuildManager.name .. "|r: "
LeoGuildManager.TAB_PURGE = "Purge"
+LeoGuildManager.TAB_RAFFLE = "Raffle"
LeoGuildManager.panelList = {
- LeoGuildManager.TAB_PURGE
+ LeoGuildManager.TAB_PURGE,
+ LeoGuildManager.TAB_RAFFLE
}
LeoGuildManager.color = {
hex = {