-
Notifications
You must be signed in to change notification settings - Fork 2
Micro
Crutiatix edited this page Apr 13, 2017
·
2 revisions
ticuare.micro is version with reduced size almost to minimum. This version is not compatible with ticuare and ticuare.min because of reducing length of symbols names (attributes, functions). Advantages of this are smaller library (8,7KB) and also a smaller code written then.
Names of symbols consist from 2-3 letters and are based on names from the default library version.
- In case of attributes:
- consist of two letters and all are lowercase. First letter is the initial of attribute. Next one is next first consonant.(one = on, two = tw, three = th, four = fr)
- Except for x,y,w,h which ones consist from one letter only
- In case of functions and attributes which represents functions:
- consist from 2-3 letters - every for initial of a every word contained in function name (oneTwoThree = oTT)
- the first is lowercase others are uppercase.
- Except for tu.update() and tu.draw() which have full names
- ac = active
- al = align
- an = anchor
- bn = bounds
- br = border
- cl = colors
- cn = content
- dS = drawSelf
- dr = drag
- ds = disable
- el = element
- em = empty
- en = enable
- ex = extent
- fl = flip
- fn = font
- fx = fixed
- gA = getActive
- gHR = getHorizontalRange
- gI = getIndex
- gS = getScroll
- gV = getVisible
- gVR = getVerticalRange
- gp = gap
- gr = group
- h = height
- hd = hide
- ic = icon
- ke = key
- ms = measure
- nE = newElement
- nG = newGroup
- nS = newStyle
- oC = onClick
- oCR = onCleanRelease
- oH = onHover
- oP = onPress
- oR = onRelease
- oRH = onReleaseHover
- oSH = onStartHover
- of = offset
- pr = print
- rl = relative
- rm = remove
- rt = rotate
- sA = setActive
- sC = setContent
- sCD = setContentDimensions
- sDB = setDragBounds
- sHR = setHorizontalRange
- sI = setIndex
- sS = setScroll
- sV = setVisible
- sVR = setVerticalRange
- sc = scroll
- sh = shadow
- sp = sprites
- st = style
- tF = toFront
- tu = ticuare
- tx = text
- vw = show
- w = width
- wr = wrap
- x = x
- y = y