Converting MUI to RAPA
-
- Posts: 28
- Joined: Fri Mar 15, 2019 2:35 pm
Converting MUI to RAPA
I had a MUI app that I'm changing to RAPA. I changed the Require line, and reran the program to see what would fail. To my suprise it ran as before. Is that all that is really needed, or am I really missing something? This falls into the "Too Good To Be True" category.
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Converting MUI to RAPA
The Amiga versions of RapaGUI are based on MUI Royale internally. There are some differences but not too bad. Some things are actually better in RapaGUI. One more thing: You have to change all of the mui.Xxx method calls to moai.Xxx method calls.
I'm on registered MorphOS using FlowStudio.
Re: Converting MUI to RAPA
Some (most?) plugins load automatically at startup if you have them in the directories Hollywood looks for plugins. In this case you don't need the @REQUIRE line at all.
So, in your case it probably loads both plugins at startup and that's why MUI Royale still works. If you remove muiroyale.hwp file from the program directory and/or libs:hollywood/ then you'll see that it won't work with RapaGUI without changing all the functions.
So, in your case it probably loads both plugins at startup and that's why MUI Royale still works. If you remove muiroyale.hwp file from the program directory and/or libs:hollywood/ then you'll see that it won't work with RapaGUI without changing all the functions.
-
- Posts: 28
- Joined: Fri Mar 15, 2019 2:35 pm
Re: Converting MUI to RAPA
Good to know, thank you! Will make that change.