Get MUI version

Discuss GUI programming with the RapaGUI plugin here
User avatar
mrupp
Posts: 147
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Re: Get MUI version

Post by mrupp »

To go back to the original problem: How about a special method to get the MUI version? Something like moai.Get("app", "MuiVersion") ?

But thinking about it some more: What about a completely different but maybe even better approach:

The MUI version itself isn't really the information I want. What I really want to know is if some feature is supported or not. Maybe a feature is not supported because of the installed MUI being too old, but it could also be because of the platform the app is currently running. So it would be great if the developer could query if a feature is supported or not, maybe by calling something like:

moai.DoMethod("app", "isSupported", "button", "icon")
or
moai.DoMethod("app", "isSupported", "listview", "alternate")
or
moai.DoMethod("app", "isSupported", "listviewcolumn", "editable")
or maybe even outside of RapaGUI like
IsSupported("ChangeApplicationIcon")

What do you think?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Get MUI version

Post by airsoftsoftwair »

mrupp wrote: Sun May 23, 2021 7:00 pm What do you think?
Too much work for too little gain. MUI versioning is pretty much a mess and then there are the different forks on MorphOS, OS4 and AROS (Zune). It's all rather complicated. MUI Royale, however, does have a function named mui.IsVersion4() :)
Post Reply