On Monday, 22 June 2015 at 20:29:15 UTC, Jonas Drewsen wrote:
On Monday, 22 June 2015 at 19:09:40 UTC, weaselcat wrote:
I never seem to use them for anything, has anyone else done anything interesting with them?

I use a few in the deadcode editor e.g.:

Function can be called by a menu entry:
@MenuItem("Edit/Copy")

Function can be called by a shortcut:
@Shortcut("<shift> + <f10>")

Function should run in a fiber when called:
@InFiber

Just remembered, I also use it for the animation system to tell what can be animated (modified by proxy) e.g:

@Bindable()
{
        CSSPositionMix _position;
        CSSScaleMix _width;
        CSSScaleMix _height;
        CSSVisibility _visibility;
        ...
}

Reply via email to