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 |
return object
end
end )
end
return
end
local lastLeftMostSymbol
if ( lastLeftMostSymbol ) then
header : SetAnchor ( TOPLEFT , lastLeftMostSymbol , BOTTOMLEFT , - params . SYMBOL_SECTION_OFFSET_X + params . HEADER_SECTION_OFFSET_X , params . BETWEEN_SECTION_PADDING_Y )
else
end
local symbolList
symbol . tooltip = tooltip
local symbolCol = ( symbolIndex - 1 ) % params . NUM_SYMBOLS_PER_ROW + 1
if ( symbolCol == 1 ) then
lastLeftMostSymbol = symbol
symbolList = { }
end
local offsetX = params . SYMBOL_SECTION_OFFSET_X + ( params . SYMBOL_SIZE + params . SYMBOL_PADDING ) * ( symbolCol - 1 )
local offsetY = params . SYMBOL_SECTION_OFFSET_Y + ( params . SYMBOL_SIZE + params . SYMBOL_PADDING ) * ( symbolRow - 1 )
symbolList [ # symbolList + 1 ] = symbol
end
end
end
end |