Search found 211 matches

by jPV
Thu Jan 17, 2019 6:17 pm
Forum: RapaGUI
Topic: Notify on window resize?
Replies: 7
Views: 633

Re: Notify on window resize?

If there's a Hollywood display embedded in your GUI, you just have to listen to the normal "SizeWindow" event for the Hollywood display and then you should be notified about size changes :) And if there isn't a Hollywood display, any way then? I just recently wanted to scale an MUI (Royale) image i...
by jPV
Sun Jan 13, 2019 2:04 pm
Forum: MUI Royale
Topic: Refresh issue when dynamically changing objects in a non active window
Replies: 2
Views: 428

Re: Refresh issue when dynamically changing objects in a non active window

Yeah, well.. it seems to refresh the window on any event, so I made a workaround like this now "SetTimeout(Nil, Function() EndFunction, 10)" just to trigger some event :)
by jPV
Sun Jan 13, 2019 11:31 am
Forum: MUI Royale
Topic: Refresh issue when dynamically changing objects in a non active window
Replies: 2
Views: 428

Refresh issue when dynamically changing objects in a non active window

I think this might be a MorphOS bug and reported there, but as I haven't got any feedback from MorphOS team yet, I thought to ask what Andreas thinks about it too. If it'd be something in Hollywood after all... If I change objects in a group in a MUI window dynamically, and the window isn't active, ...
by jPV
Mon Jan 07, 2019 2:28 pm
Forum: MUI Royale
Topic: Popobject class missing
Replies: 16
Views: 980

Re: Popobject class missing

Do you mean Group.PageMode or something else? The mentioned one does work and I've used it in several occasions, like for example in this prefs window.
by jPV
Thu Jan 03, 2019 3:57 pm
Forum: Newbie questions
Topic: capture cli output
Replies: 4
Views: 1498

Re: capture cli output

No, I think what you're doing is the best way to capture CLI output with Hollywood. Would it be possible to implement an event handler that would get triggered always when a program started with the Run() command would output something? RunOutput or such... it would be handy when creating GUIs for ...
by jPV
Thu Dec 27, 2018 8:15 pm
Forum: Wishlist
Topic: StartNotify / EndNotify
Replies: 6
Views: 567

Re: StartNotify / EndNotify

I can see some cases it would be handy. I've been asked to code some sort of filemanager and there it would be needed to see if the displayed directory is changed (never promised to do it though, but maybe someone else would at least). Or if doing some sort of checks if something needs processing, f...
by jPV
Thu Dec 20, 2018 3:06 pm
Forum: Newbie questions
Topic: How to remove text output/text object
Replies: 4
Views: 426

Re: How to remove text output/text object

If you use layers, then DisplayTextObject() creates a new layer, which can be removed like any other layer. But if you don't use layers, then everything you draw on the display will stay there until you clear it manually somehow. This is the same no matter what functions you use to draw there (text ...
by jPV
Sat Dec 15, 2018 11:30 am
Forum: Newbie questions
Topic: Best way to save settings etc.
Replies: 9
Views: 531

Re: Best way to save settings etc.

If you encrypt zipped files I suggest to do not store the password in clear in your code, use a function to decode the stored pwd and then use it to decrypt your data, also do not store the password in variable names like "pwd" or "pass" or "password" so that it can be harder to find the pwd assign...
by jPV
Thu Dec 06, 2018 8:20 pm
Forum: Wishlist
Topic: Image format with IsPicture
Replies: 1
Views: 229

Image format with IsPicture

Could IsPicture() return the image format also in the table with other information? I'd like to check if images I let user select are JPEG or PNG, etc... I have couple cases in my mind where I'd like to use that information. Guessing from the extension isn't reliable always...
by jPV
Thu Dec 06, 2018 11:42 am
Forum: Newbie questions
Topic: Rasberry pi Linux and Hollywood
Replies: 9
Views: 479

Re: Rasberry pi Linux and Hollywood

MorphOS has built-in support for Linux filesystems, but if you're using EXT4, then it's read-only. EXT2 and 3 can be written too. Here's more about filesystems supported by MorphOS: https://library.morph.zone/Filesystems If the card doesn't automount the partitions you want, use the SYS:Tools/Mounte...