how themes will work?

This forum is a working group for community contributors to the LiveCode IDE included in the main LiveCode distribution.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Colin Holgate
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9
Joined: Sun Jan 08, 2012 8:59 pm

how themes will work?

Post by Colin Holgate » Sat Jul 20, 2013 5:26 pm

I'm about nine weeks behind in doing the update to my book, mainly because I've been very busy with work, but also because some of the things I need to write about are not available yet.

One of those things is themes. How will themes work in 7.0, or whatever version number it will be? If you're not sure how they should work, I can tell you!

MarcVanCauwenberghe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 142
Joined: Thu Feb 21, 2013 8:47 am

Re: how themes will work?

Post by MarcVanCauwenberghe » Sat Jul 20, 2013 11:17 pm

Yes, please give us some idea...

Marc

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2588
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: how themes will work?

Post by mwieder » Sun Jul 21, 2013 12:36 am

@Colin- yes, I'd love to hear how they *should* work. That's why this forum exists, so that we can start talking about these things with an eye to shaping the result. Do tell.

Colin Holgate
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9
Joined: Sun Jan 08, 2012 8:59 pm

Re: how themes will work?

Post by Colin Holgate » Sun Jul 21, 2013 8:25 pm

Ok, if I understand how "Native" look and feel is supposed to work, controls you make will look OSX-like on OSX, OS 9-like on OS 9, and Windows-like on Windows. I can test that by making an app on Mac, and sure enough things seem to work, the buttons look Windows-like under Windows 8. I can't test the other way though, because although the OSX app I make under Windows is almost exactly the size of the one under OSX, it won't open. But, I suspect it would look right if it did open.

If Themes worked the same way it would almost be what you would want. But it needs to go a bit further, and have it be that the controls look iOS 5-like on iOS 5, iOS 6-like on iOS 6, and iOS 7-like on iOS 7. That last one will be the most noticeable one, and will be like a slap in the face to iOS 7 users if you have only put in support for iOS 6 looking controls.

Same with Android, the controls ought to look like they're from the version of Android that the device is using.

My fear is that Themes will only have generic iOS-like and generic Android-like. If it does have version specific looks then hopefully that will all be behind the scenes, and you won't have to use script to deduce which Theme should be used.

So, the best way things could work would be that apps don't know anything about how the OS needs to look, and that whatever you're looking at is a native control, that takes on whatever the OS want it to look like. For developing you would use a Theme to get a preview of how the control is going to appear. If need be there could be an interpreter layer that take mobile syntax and shows a desktop version of what the experience would be like.

The second best case is that controls are not native ones, but do at least look like the version of OS you're running on, and that the LiveCode user doesn't have to do any work to support the various OSes.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2588
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: how themes will work?

Post by mwieder » Sun Jul 21, 2013 8:44 pm

@Colin- I would *love* to have native controls on all platforms (desktop included). It would make my like *so* much easier. I know better than to expect that though, even with all the engine refactoring going on.

Post Reply

Return to “IDE Contributors”