Skip to content

v7.03.02 The Perfect Pixel Perfect edition :-)

Choose a tag to compare

@mooreatv mooreatv released this 27 Jul 06:36
· 120 commits to master since this release

Changes since v6.00.00:

v7.03.02 July 25th 2019 (matches ppa v1.04.00)

  • Added :GetCursorCoordinates() returning (pixelX, pixelY, uicoordX, uicoordY) for the cursor
    v7.03.01 July 25th 2019 (matches dbox v2.01.00)
  • Moved more code from DynamicBoxer to share with (my and other's) addons:
    • new :MakeMoveable() to add dragging to a frame, with callback at the end to :SavePosition()
    • new :RestorePosition() to call with what is saved by the MakeMoveable cb and SavePosition()
    • use new :PixelPerfectSnap() for :Snap()
  • roundUp() works for negative numbers too (like point offsets from the top)
  • Opsa fixed collision between "first" as init marker and the new :first() lisp function
  • Also fixed handling of UI_SCALED_CHANGED broken recently for UIParent based Pixel Perfect base frames.
  • added :DrawPixel and use that for 1 pixel crosses instead of 2 lines (!)
  • addBorder remembers the lines made in f.border and the desired pixel thickness and adjusts on rescale to keep it
  • addLine option, used by addBorder to not add the line to the handled children of the frame

v7.02.00 July 22nd 2019

  • Beat the 16k limit (well 16k at a time) for Textures/Lines count (use :Demo() to see and MoLib_PP_Demo:Hide()/Show() to toggle)
  • Expose grid demo colors .gold/.red
  • minimap button/icon/launcher, allow to restore saved position
  • moved :ShowToolTip() and :SplitFullName() from DynamicBoxer (to use in PPA/by others)
  • new lisp like function :first() (car ...) :rest() (cdr ...) and :Map(fn, ...) to apply a function to each remaining argument.
    v7.01.00 July 21st 2019
  • Allow single pixel for grid with length == 1 in :FineGrid()
  • :PixelPerfectScale() to update scale on PP frames and using it on change screen/scale events
  • :AspectRatio() calc and showing in DisplayInfo, always show a center cross even for even aspect ratios
  • added .defaultFont and .defaultTextColor properties to Frame() used by .addText()
  • :GetCVar for classic/bfa compat

v7.00.01 July 21st 2019

  • Fix for modification for center cross (grid demo) was changing the whole line after it
    v7.00.00 July 21st 2019
  • Pixel perfect for real now - See PixelPerfectAlign demo addon
    :FineGrid() and :DisplayInfo()
  • new :addLine() :addBorder() :WipeFrame()

v6.00.02 July 20th 2019

  • added :DebugStack(...) that prints message and stack trace
    v6.00.01 July 18th 2019
  • add optional points for PlaceLeft/PlaceRight (so DynamicBoxer can use centered points)