Search found 69 matches

by Mazze
Fri Feb 15, 2013 7:24 pm
Forum: Hollywood bugs
Topic: MUIRoyale listview problems - zune limitations?
Replies: 6
Views: 8255

Re: MUIRoyale listview problems - zune limitations?

Search path for MCC on AROS is:
LIBS:Zune
LIBS:Classes/Zune
LIBS:MUI

Please don't use absolute paths as they can change.
by Mazze
Fri Feb 15, 2013 7:09 pm
Forum: General programming
Topic: Problem with BMP brushes on AROS
Replies: 5
Views: 6198

Re: Problem with BMP brushes on AROS

BMP datatype has been fixed in AROS by Neil Cafferkey.
by Mazze
Wed Feb 13, 2013 1:49 am
Forum: General programming
Topic: BarrelDistortBrush parameters
Replies: 2
Views: 3733

Re: BarrelDistortBrush parameters

Ok, to simplify it a bit I'll use a range from -20 to 20 and translate that to -2.0 to +2.0.
by Mazze
Wed Feb 13, 2013 1:31 am
Forum: Newbie questions
Topic: Accesing tables within tables
Replies: 3
Views: 4638

Re: Accesing tables within tables

t1 = { x=0, y=0}
t1.t2={boo=false,foo=true}
DebugPrint(t1.t2.foo)
by Mazze
Mon Feb 11, 2013 10:27 pm
Forum: General programming
Topic: Table entry order
Replies: 8
Views: 8648

Table entry order

This sample
table = {11,12,13,14}
ForEach(table, DebugPrint)

prints

1 12
2 13
3 14
0 11

I'm surprised that the first entry is printed at the end. Is this expected behavior?
by Mazze
Sun Feb 10, 2013 10:44 am
Forum: General programming
Topic: BarrelDistortBrush parameters
Replies: 2
Views: 3733

BarrelDistortBrush parameters

In HollyPaint I've actually string gadgets for the parameters for BarrelDistortBrush, but I'd prefer sliders. I wonder what range of values would be useful. Other question: is the simple form with 4 coefficients good enough for every day use or should I implement the variant with 8 coefficients?
by Mazze
Sat Feb 09, 2013 4:08 pm
Forum: General programming
Topic: Mask / alpha questions
Replies: 3
Views: 4758

Re: Mask / alpha questions

OK, I'm assuming that the brush functions can handle both mask and alpha channel. I'm loading the alpha channel if available: Local ispic, table = IsPicture(filename) If ispic Local newbrush = LoadBrush(Nil, filename, {LoadAlpha=table.Alpha}) I'm changing from mask to alpha channel before saving: If...
by Mazze
Sat Feb 09, 2013 7:29 am
Forum: Hollywood bugs
Topic: PolarDistortBrush parameters swapped?
Replies: 1
Views: 3633

PolarDistortBrush parameters swapped?

It seems to me that the parameters rmin and rmax of PolarDistortBrush are swapped. I get "Check parameters" error messages if I set rmin to 0 and rmax to e.g. 500.
by Mazze
Thu Feb 07, 2013 11:01 pm
Forum: General programming
Topic: Mask / alpha questions
Replies: 3
Views: 4758

Mask / alpha questions

Hi, I want to load and save brushes with transparency in HollyPaint. What I've gathered from the documentation: Mask and alpha channel are mutually exclusive. #IMGFMT_PNG saves alpha channel if available. RotateBrush and SetBrushTransparency are supposed to create a mask. What happens if the brush a...
by Mazze
Mon Feb 04, 2013 9:37 pm
Forum: Showcase
Topic: HollyPaint
Replies: 10
Views: 15912

Re: HollyPaint