OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

`/icon` procs are not implemented

Open wixoaGit opened this issue 3 years ago • 5 comments

Procs in the /icon object are missing implementations.

  • [ ] Blend
    • [x] ICON_ADD (#964)
    • [x] ICON_SUBTRACT (#964)
    • [x] ICON_MULTIPLY (#1009)
    • [x] ICON_OVERLAY (#948)
    • [ ] ICON_AND
    • [ ] ICON_OR
    • [x] ICON_UNDERLAY (#948)
    • [x] Blending images (#948)
    • [x] Blending colors (#964)
  • [ ] Crop
  • [ ] DrawBox
  • [ ] Flip
  • [ ] GetPixel
  • [x] Height
  • [x] IconStates
  • [x] Insert
  • [ ] MapColors
  • [x] Scale (#951)
  • [ ] SetIntensity
  • [ ] Shift
  • [ ] SwapColor
  • [ ] Turn
  • [x] Width

wixoaGit avatar Jun 04 '21 23:06 wixoaGit

OpenSS13 makes use of Blend and DrawBox

wixoaGit avatar Jun 04 '21 23:06 wixoaGit

I should also mention that you can't currently set a var to a new /icon()

ike709 avatar Jul 04 '21 00:07 ike709

Blend() partially done in https://github.com/OpenDreamProject/OpenDream/pull/948

ike709 avatar Dec 05 '22 00:12 ike709

Scale() completed in https://github.com/OpenDreamProject/OpenDream/pull/951

ike709 avatar Dec 09 '22 16:12 ike709

Scale() doesn't properly transform individual frames within the icon, instead just scaling the entire icon arbitrarily, without changing the images inside.

itsmeow avatar Dec 30 '23 02:12 itsmeow