Skip to content

TICuare v0.7.0 - More possibilities, more simple

Pre-release
Pre-release
Compare
Choose a tag to compare
@Crutiatix Crutiatix released this 29 Apr 22:20
· 9 commits to master since this release
  • added possibility to change colors of font
  • the attribute text.key became table - array of colors which should be switched
  • table of attribute element.text.colors can contain tables - arrays of colors to which will be colors switched
  • added support for gamepad control - update(active_element, btn(number) alternative to mouse())
  • added functionality for some methods to work with groups
    • mygroup:active() return table of pairs of elements name and activity state
    • mygroup:visible() return table of pairs of elements name and visibility state
    • mygroup:anchor(element) - anchor all elements of group to element
  • added new argument to function element:group(groupvar, [name_of_element_in_group])
  • removed functions:
    • view, hide, disable, enable, setContentDimensions (replaceable for element.content.w and h)
  • merged functions (call a func with arguments = set, call a func without arguments = get):
    • setDragBounds, getDragBounds to dragBounds
    • setHorizontalRange, getHorizontalRange to horizontalRange
    • setVerticalRange and getVerticalRange to verticalRange
    • setScroll, getScroll to scroll
    • setIndex, getIndex to index
  • renamed functions:
    • newStyle to Style
    • newGroup to Group
    • newElement to Element
    • setContent > Content
  • replaced function:
    • ticuare.mlprint for ticuare.font and ticuare.print