Search found 130 matches

by emeck
Thu Apr 28, 2022 8:31 pm
Forum: Newbie questions
Topic: Is there option to get current displayed brush width without LAYERS?
Replies: 4
Views: 205

Re: Is there option to get current displayed brush width without LAYERS?

Ok, I see.

So inside your function you use DisplayBrush() to show it scaled? Maybe using a copy with ScaleBrush() instead and displaying that one? That way you can use GetAttribute() with the copy.
by emeck
Thu Apr 28, 2022 3:48 pm
Forum: Newbie questions
Topic: Is there option to get current displayed brush width without LAYERS?
Replies: 4
Views: 205

Re: Is there option to get current displayed brush width without LAYERS?

GetAttribute() doesn't work?

Code: Select all

GetAttribute(#BRUSH, your_brush_id, #ATTRWIDTH)
by emeck
Wed Mar 23, 2022 8:03 pm
Forum: General questions
Topic: Aspect ratio not working in MorphOS
Replies: 2
Views: 795

Re: Aspect ratio not working in MorphOS

I forgot about this:

viewtopic.php?f=5&t=1235

So, after about 7 years I asked MOS develpers and they told me that MUIA_String_EditHook was phased out of MOS more than 15 years ago.

They say that instead of hooks, subclassing is how it works now.
by emeck
Mon Mar 21, 2022 11:18 pm
Forum: General questions
Topic: Text Object cursor color
Replies: 2
Views: 290

Re: Text Object cursor color

@amyren

In Designer go to Settings/MUI/TextEditor. Here you can change color, and width of cursor for example.
by emeck
Mon Feb 14, 2022 11:25 pm
Forum: General programming
Topic: GPL projects
Replies: 2
Views: 588

Re: GPL projects

Thanks Andreas. Yes, GPL seems complicated. In summary, it seems that for distributing under GPL, not only the software must not be linked to proprietary libraries but also any user should be able to recompile it without requiring proprietary tools. So that makes GPL not ok for Hollywood. Maybe some...
by emeck
Sun Feb 13, 2022 7:50 am
Forum: General programming
Topic: GPL projects
Replies: 2
Views: 588

GPL projects

Hello, I'm interested in using the assets of a GPL project for reimplementing it with Hollywood, so to make it available to Amiga systems, under another name. Project's authors like the idea but one has expressed corncern about Hollywood's proprietary nature. It uses GPL, which requires that any der...
by emeck
Sun Feb 06, 2022 4:33 pm
Forum: Wishlist
Topic: Page dimensions and saving in pdf
Replies: 10
Views: 14351

Re: Page dimensions and saving in pdf

Never tried ImageMagick before, but found that it does the job very well. Even you can easily rotate the pages from landscape to portrait if wanted. convert test.png -rotate 90 -write test.pdf test.pdf But I am a bit uncertain what is the correct syntax for that convert command? In the commandline ...
by emeck
Mon Jan 31, 2022 8:30 pm
Forum: General questions
Topic: Event not executed
Replies: 11
Views: 1302

Re: Event not executed

@amyren
Does it look like that when you load the project?
Your screenshot have different events from mine, and the sequence is not the same.
Yes, it looks the same when loaded. But my screenshot is with the changes I made to make it work.
by emeck
Mon Jan 31, 2022 8:28 pm
Forum: General questions
Topic: Event not executed
Replies: 11
Views: 1302

Re: Event not executed

3. Scale the object. This last event will never happen. And I can not see why. I wonder if there is a bug somewhere that have corrupted the code at some point in the process of adding and removing events. Your script worked fine here when I tried it on MorphOS... hammer got scaled. So maybe it just...
by emeck
Sun Jan 30, 2022 10:00 pm
Forum: General questions
Topic: Event not executed
Replies: 11
Views: 1302

Re: Event not executed

Ok, I guess I see what you mean. Using the screenshot I posted, if I change the first check condition to skip 2,then the last check condition should still be true, the move object should not be executed but the scale object should be executed. But it doesn't when I run the script. Doesn't work with ...