Search found 5443 matches

by airsoftsoftwair
Sat Aug 19, 2017 12:11 pm
Forum: General programming
Topic: Is evt_tables func copy of func, or referen of func or what?
Replies: 3
Views: 4453

Re: Is evt_tables func copy of func, or referen of func or w

No, I don't think there is because there are no pointers in Hollywood.
by airsoftsoftwair
Thu Aug 17, 2017 8:55 pm
Forum: Hollywood bugs
Topic: DrawPath() vs Polygon() draws differently
Replies: 2
Views: 4238

Re: DrawPath() vs Polygon() draws differently

Code: Select all

- Fix: Inbuilt vectorgraphics engine used a very high miter limit which led to very long line joins
  in case two lines met at a sharp angle; it now uses a miter limit of 10 which is the same as the
  external vectorgraphics plugin's miter limit
by airsoftsoftwair
Tue Aug 15, 2017 8:38 pm
Forum: Wishlist
Topic: self usable to evt_tables and others.
Replies: 3
Views: 4766

Re: self usable to evt_tables and others.

Might be a useful addition. I'll think about it.
by airsoftsoftwair
Tue Aug 15, 2017 8:37 pm
Forum: General programming
Topic: Is evt_tables func copy of func, or referen of func or what?
Replies: 3
Views: 4453

Re: Is evt_tables func copy of func, or referen of func or w

However, what happens is that from event activation it prints "default leftmousedown" and then from the last line the expected "Func1" That's normal behaviour. At the time when you call MakeButton() MyObj.LeftMouseDown points to the function that prints "default leftmousedo...
by airsoftsoftwair
Tue Aug 15, 2017 8:31 pm
Forum: Wishlist
Topic: Button object
Replies: 1
Views: 2931

Re: Button object

The problem is that buttons (like layers) are children of BGPics so they aren't global objects like brushes or BGPics. They shouldn't disappear unless you change the BGPic. If you have a code snippet which demonstrates the disappearance of buttons without BGPic changes, please post it and I'll exami...
by airsoftsoftwair
Tue Aug 15, 2017 7:56 pm
Forum: Wishlist
Topic: how to use userdata not shown in examples
Replies: 2
Views: 3922

Re: how to use userdata not shown in examples

Huh? Both the documentation on SetInterval() and MakeButton() explicitly mention that user data is passed through the event callback message...
by airsoftsoftwair
Tue Aug 15, 2017 7:55 pm
Forum: General programming
Topic: Makebutton Exactcol active behind layer or bug?
Replies: 1
Views: 2890

Re: Makebutton Exactcol active behind layer or bug?

No, that's normal behaviour. Layer buttons currently don't account for layers higher in the z-order that partially block the button layer.
by airsoftsoftwair
Tue Aug 15, 2017 7:52 pm
Forum: General programming
Topic: how to avoid script's "slow downs"
Replies: 7
Views: 8206

Re: how to avoid script's "slow downs"

InsertItem() is slow because it always calculates the number of elements in the table in order to check whether the position you passed is invalid. So in performance-critical applications where you only need to append an element to a list, doing this manually will be a lot faster than InsertItem().