Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > XP Media Center 2005 > XP Media Center 2005 - Plugins & Addons > Other MCE Addons

Community Information

Reply
 
Thread Tools
Old 4th December 2006, 01:21 PM   #1 (permalink)
MCE Guru
 
benneh's Avatar
Status benneh is Offline:
Location Canberra
ActivityPosts: 1,206
Reputation & Thanks Support Rating:
benneh benneh benneh
Points Earned: 258

benneh has been Thanked 18 times in 5 posts
An MCML UI framework

Hey all...

Something which has become very apparent when developing MCML is that for any addin you are going to code, something which would hugely speed up the development process would be a "template" to start with.

I see it as being a default.mcml with a predefined panel based layout, along with a xmlns referenced styles.mcml containing UI elements such as buttons, repeaters, etc.

Does anyone know if something like this already exists, or be interested in contributing to developing one?
__________________

  Reply With Quote
Old 4th December 2006, 02:16 PM   #2 (permalink)
 
impact's Avatar
Status impact is Offline:
Location a community not a profit making enterprise
ActivityPosts: 3,828
Reputation & Thanks Support Rating:
impact impact impact impact impact impact impact impact impact
Points Earned: 1123

impact has been Thanked 65 times in 43 posts
impact's
Media Center
Re: An MCML UI framework

Might like to ellaborate further.....

It sounds like a good idea to an extent - it depends on what you see to be included.... And how useful it may be - but I'll play....
__________________
Impact: Not only by name, but the force I want to use with my Media Center
  Reply With Quote
Old 4th December 2006, 02:44 PM   #3 (permalink)
MCE Guru
 
benneh's Avatar
Status benneh is Offline:
Location Canberra
ActivityPosts: 1,206
Reputation & Thanks Support Rating:
benneh benneh benneh
Points Earned: 258

benneh has been Thanked 18 times in 5 posts
Re: An MCML UI framework

Ok thanks. I will try to elaborate a little for what I have in mind...

coming from a web design perspective, I see styles.mcml being analogous to a .css file, defining styles for all common elements like heading1, heading2, body text, textbox, etc which contain properties for font, size, colour, spacing, etc. Also common controls such as buttons would be predefined, including changes for events like mouseover, onclick etc. I especially like the ones Niall demonstrates here

The layout are defined by panels for example a menu panel anchored to the left side of the screen, and main content anchored to side of the menu panel etc. Hopefully something which can handle 4:3 or 16:9 well.

This would allow developers to concentrate on providing content without having to reinvent layouts every time, with a polished UI.

Another advantage to defining styles in a seperate file, is the ability to completely change the way a plugin looks by supplying a different styles.mcml file.
__________________

  Reply With Quote
Old 5th December 2006, 12:31 AM   #4 (permalink)
MCE Specialist
 
Niall's Avatar
Status Niall is Offline:
Location Melbourne
ActivityPosts: 399
Reputation & Thanks Support Rating:
Niall Niall Niall
Points Earned: 270

Niall has been Thanked 45 times in 24 posts
Re: An MCML UI framework

Quote:
Originally Posted by benneh View Post
Ok thanks. I will try to elaborate a little for what I have in mind...

coming from a web design perspective, I see styles.mcml being analogous to a .css file, defining styles for all common elements like heading1, heading2, body text, textbox, etc which contain properties for font, size, colour, spacing, etc. Also common controls such as buttons would be predefined, including changes for events like mouseover, onclick etc. I especially like the ones Niall demonstrates here

The layout are defined by panels for example a menu panel anchored to the left side of the screen, and main content anchored to side of the menu panel etc. Hopefully something which can handle 4:3 or 16:9 well.

This would allow developers to concentrate on providing content without having to reinvent layouts every time, with a polished UI.

Another advantage to defining styles in a seperate file, is the ability to completely change the way a plugin looks by supplying a different styles.mcml file.

Hi Benneh,

This would be a great idea to have something like this...

A lot of the new MC UI is actually done with much less graphics then MCE2005 (ie plain text is used instead of buttons) - but its really more about the way it moves (and how it makes use of shadows to do subtle 3d effects). I think the button samples i provided are almost the only graphics used (apart from the list hightlights and the search box). If we want something to mimick the UI - the colors are also very important (I spent a bit of time getting this as close as I could) - as any variations and the contrasts fall off (making it hard to read on a tv)..

I've been meaning to get some better samples together showing some of the other bits of how Big Screen Contacts works (which I think is pretty close to what they have - but the 3d part could be done a lot better and it could be better polished). I've been working on something new.. (something i think a lot of people will get very excited about).. but its taking up all my blogging + forum time these past few days..

Also just a hint - I tend to use the 'Form' layout quite a lot in conjunction with the Scroller (so you can just specify margins around things - which works great for both 16:9 and 4:3)..

cheers
Niall
__________________

Big Screen Blog | Microsoft MVP 2007 : "Windows - Media Center" | Windows Media Center Community Dev Expert
  Reply With Quote
Old 5th December 2006, 09:10 AM   #5 (permalink)
MCE Guru
 
benneh's Avatar
Status benneh is Offline:
Location Canberra
ActivityPosts: 1,206
Reputation & Thanks Support Rating:
benneh benneh benneh
Points Earned: 258

benneh has been Thanked 18 times in 5 posts
Re: An MCML UI framework

Ok, it is no secret ehres.dll contains all we need to replicate the MCE look and feel very accurately (and apps like MCEcustomizer already manipulate this), but MS might approve of those elements being extracted and directly used in plugins.

It would be great if we could reference the actual dll resrouces directly from my MCML.

For example:

<Graphic Name="ResTest" Content="res://Microsoft.MediaCenter.Shell!COMMON.BACKGROUND.PNG"/>

or

<Graphic Name="ResTest" Content="res://ehres.dll!COMMON.BACKGROUND.PNG"/>

neither of these work, and after some investigating, it seems we are intentionally being locked out of using these by MCMLverifier. (And what a useful error it throws, MCMLverifier has stopped working, )

I don't understand why MS intentionally make it hard for plugins to copy the look and feel of the rest of MCE.
__________________

  Reply With Quote
Old 5th December 2006, 03:35 PM   #6 (permalink)
MCE Guru
 
benneh's Avatar
Status benneh is Offline:
Location Canberra
ActivityPosts: 1,206
Reputation & Thanks Support Rating:
benneh benneh benneh
Points Earned: 258

benneh has been Thanked 18 times in 5 posts
Re: An MCML UI framework

ok, the good news is this can be done. I managed to reference the default background image using:

<Graphic Visible="true" Name="TestEhres" Content="res://ehres!Common.Background.png"/>

So it is good we can reference (and therefore use) these built in resources More playing around to be done, but it's looking promising so far.
__________________

  Reply With Quote
Old 5th December 2006, 06:27 PM   #7 (permalink)
 
impact's Avatar
Status impact is Offline:
Location a community not a profit making enterprise
ActivityPosts: 3,828
Reputation & Thanks Support Rating:
impact impact impact impact impact impact impact impact impact
Points Earned: 1123

impact has been Thanked 65 times in 43 posts
impact's
Media Center
Re: An MCML UI framework

I like that - but bet M$ does not like it ????

Any chance of creating a list of everthing you have found so far in ehres.dll
__________________
Impact: Not only by name, but the force I want to use with my Media Center
  Reply With Quote
Old 11th December 2006, 08:26 AM   #8 (permalink)
MCE Guru
 
benneh's Avatar
Status benneh is Offline:
Location Canberra
ActivityPosts: 1,206
Reputation & Thanks Support Rating:
benneh benneh benneh
Points Earned: 258

benneh has been Thanked 18 times in 5 posts
Re: An MCML UI framework

Very relevant to this discussion, Charlie Owen from Microsoft made comments regarding what is being discussed here in this blog post.

His stance (and maybe Microsoft, hard to tell as his blog has a disclaimer stating his blog is his opinion and not that of Microsoft) is that every MCML application should invent it's own look and feel, "variety is the spice of life" as he put it. I disagree, having a different UI experience for every app is just plain confusing, and most importantly, bad for the WAF.

There are some good comments made there, and it led him to make a second post on the issue. His stance is if you want to access undocumented resources like those in ehres to "Feel free to use those. Seriously. Party on. Go crazy. Knock yourself out." He also raises a very valid point that as those are not specifically public that Microsoft may change them at any point in the future without notice, and that may break any apps using them.

Because of this, I am still unsure which direction to take this. I still feel there is a need for a templated MCML UI, however utilising the ehres may not be the way.
__________________

  Reply With Quote
Old 11th December 2006, 09:07 AM   #9 (permalink)
 
impact's Avatar
Status impact is Offline:
Location a community not a profit making enterprise
ActivityPosts: 3,828
Reputation & Thanks Support Rating:
impact impact impact impact impact impact impact impact impact
Points Earned: 1123

impact has been Thanked 65 times in 43 posts
impact's
Media Center
Re: An MCML UI framework

Yep - owen and microsoft are certainly not wanting us to play with their internals - but for what reason?? what real reason......

I would not be at all surprised that things change at some point in the future specifically to piff people off that have used the ehress.dll - just out of spite - we told you so!

And what is this vnext crap ? eh?

So plugins may not work when m$ upgrade to the next big thing... Well excuse me - what just happened - a lot of mce2005 plugins no longer work with Vista. And some of the older internal M$ demos for mce2005 no longer work - are they going to release new ones - nope!

Its a fact of life when things get upgraded, items need rework for them to break.


Is it selfishness or arogance of M$ not to understand that developers sometimes would like to have plugins with similar UI... and what are we talking about - some backgrounds, some buttons and things like that - nothing major...

I could think of nothing worse than on one screen the buttons use a helvetica font and are small buttons, and some gothic script on large buttons on another screen - it defeats the look and feel of the whole experience.

Sure there may be a specific standalone custom app that deserves to have a pink flashing background and buttons in the shape of stars... hmmm... maybe not. But if there is ever the need, then that app can go for it - knock itself out in creating their own look and feel... But when it comes to writing a contacts screen / messenger screen / bittorrent screen / enhancements to the 'i' button, my videos, my tv series, or anything else - I'd prefer a common set of functionality thank you.


- We are never going to convince Owen on this, we will never convince M$ on this - they just do not understand what people want, they dont understand good UI design, they dont understand how it could make the job easier and let people get on being creative in the applications arena instead of fiddling with RGB values and button pixel sizes.
- Even I can see the benefits in it all, and you use it if you want, and if you dont like it, your still free to do your own thing to make your ugly application stand out

Argghhhhhh.

/rant off


Maybe we just create some templates, some png's, put them out in the public domain - and ask anyone to improve upon them and share the goods around....

- Corr its enough to start a blog on - why M$ do not listen ?>
__________________
Impact: Not only by name, but the force I want to use with my Media Center
  Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with Dot Net Dan Musical folders (Net Framework 2.0 issue) matda59 XP Media Center 2005 - Plugins & Addons 0 6th October 2006 09:24 AM
.Net Framework 1.1 newby XP Media Center 2005 - The Software 5 28th July 2006 11:55 AM
New .Net Framework 2.0 philzgr8 XP Media Center 2005 - The Software 6 17th March 2006 06:43 PM
BladeRunner & .NET framework ver. 2 bimmer2003 Vista EPG Support 2 9th December 2005 05:35 AM
Error Installing .Net Framework 1.1 SP1 for BRP cpmw XPMCE 2005 EPG Support 5 2nd September 2005 01:29 PM


Advertisers




Terms Of Service - Contact Us - Advertise With Us - Archive - Privacy Statement - FAQ
Microsoft©, Windows XP©, Windows XP Media Center© & Windows Vista© are registered trademarks of Microsoft Corporation.
www.xpmediacentre.com.au has no relationship with, nor is affiliated in any way with Microsoft Corporation.
All original content on this website © 2004 - 2008 xpmediacentre.com.au, All rights reserved
Forum by vBulletin Version 3.7.3 - Copyright Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Local time now is 08:40 AM AEDT.