1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
ZO_LARGE_SINGLE_MARKET_PRODUCT_WIDTH = 407
ZO_LARGE_SINGLE_MARKET_PRODUCT_HEIGHT = 270
ZO_LARGE_SINGLE_MARKET_PRODUCT_CONTENT_TOP_INSET_Y = 11
ZO_LARGE_SINGLE_MARKET_PRODUCT_CONTENT_X_INSET = 25
ZO_LARGE_SINGLE_MARKET_PRODUCT_CONTENT_BOTTOM_INSET_Y = - 20
--account for the fade that we add to the sides of the callout
ZO_LARGE_SINGLE_MARKET_PRODUCT_CALLOUT_X_OFFSET = 5
--
--[[ ZO_LargeSingleMarketProduct_Base ]] --
--
end
end
end
do
-- tile backgrounds are 512x512
local TEXTURE_WIDTH_COORD = ZO_LARGE_SINGLE_MARKET_PRODUCT_WIDTH / 512
local TEXTURE_HEIGHT_COORD = ZO_LARGE_SINGLE_MARKET_PRODUCT_HEIGHT / 512
end
end
function ZO_LargeSingleMarketProduct_Base : PerformLayout ( description , icon , background , isNew , isFeatured )
end
-- Used for explicity show/hide without re-laying out the data via :Show
end
end
if stackCount > 1 then
end
end
do
local NO_CATEGORY_NAME = nil
local NO_NICKNAME = nil
local IS_PURCHASEABLE = true
local BLANK_HINT = ""
local HIDE_VISUAL_LAYER_INFO = false
local NO_COOLDOWN = nil
local HIDE_BLOCK_REASON = false
if productType == MARKET_PRODUCT_TYPE_COLLECTIBLE then
local collectibleId , _ , name , type , description , owned , isPlaceholder = GetMarketProductCollectibleInfo ( self : GetId ( ) )
self . tooltipLayoutArgs = { collectibleId , NO_CATEGORY_NAME , name , NO_NICKNAME , IS_PURCHASEABLE , description , BLANK_HINT , isPlaceholder , HIDE_VISUAL_LAYER_INFO , NO_COOLDOWN , HIDE_BLOCK_REASON }
elseif productType == MARKET_PRODUCT_TYPE_ITEM then
end
end
end
end
end
end
if productType == MARKET_PRODUCT_TYPE_COLLECTIBLE then
elseif productType == MARKET_PRODUCT_TYPE_ITEM then
else
end
end
-- Update Product style is called during show, product refresh, and on selection changed.
-- Effectively Dims, Brightens and Desaturates products according to focus and product state
local focusedState = isFocused and MARKET_PRODUCT_FOCUS_STATE_FOCUSED or MARKET_PRODUCT_FOCUS_STATE_UNFOCUSED
ZO_MarketClasses_Shared_ApplyTextColorToLabelByState ( self . purchaseLabelControl , isFocused , purchaseState )
else
end
local textCalloutBackgroundColor
local textCalloutTextColor
textCalloutBackgroundColor = ZO_BLACK
textCalloutTextColor = isFocused and ZO_MARKET_PRODUCT_ON_SALE_COLOR or ZO_MARKET_PRODUCT_ON_SALE_DIMMED_COLOR
textCalloutBackgroundColor = isFocused and ZO_MARKET_PRODUCT_ON_SALE_COLOR or ZO_MARKET_PRODUCT_ON_SALE_DIMMED_COLOR
textCalloutTextColor = isFocused and ZO_MARKET_PRODUCT_BACKGROUND_BRIGHTNESS_COLOR or ZO_MARKET_DIMMED_COLOR
textCalloutBackgroundColor = isFocused and ZO_MARKET_PRODUCT_NEW_COLOR or ZO_MARKET_PRODUCT_NEW_DIMMED_COLOR
textCalloutTextColor = isFocused and ZO_MARKET_PRODUCT_BACKGROUND_BRIGHTNESS_COLOR or ZO_MARKET_DIMMED_COLOR
end
if textCalloutBackgroundColor then
end
local backgroundColor = isFocused and ZO_MARKET_PRODUCT_BACKGROUND_BRIGHTNESS_COLOR or ZO_MARKET_DIMMED_COLOR
local previousCostColor = isFocused and ZO_DEFAULT_TEXT or ZO_DISABLED_TEXT
end |