On Mon, Nov 17, 2008 at 03:36:26PM +0100, Boris Faure (aka billiob) wrote: > > I know how works the current skinning system but i think that the skinning > > process should be done by core (or another main module) and not for the > > front-end like boris said. May i work with that? > > Since i'm way too busy, it's great if you can work on that. > My initial design is to have the skin management in the core and keep > the system of key => (type, value). > > For example, you'll have a type "Image", and value will a path to an image, > or a type "Smiley" where value will be something like... > ("happy.png", "happy_smiley", ":-)") > There should a smiley manager to get the list of official smileys, to > parse a String/StringView to a Stringview with smileys... (By the way, > StringView should have an other "object" just for smileys). > > Do as you like, maybe you'll find a better way to do that. > -- > Boris FAURE (aka billiob)
Just a small note.. don't forget that in amsn2, we'd like to have skins independent of the smiley set... so users can choose whatever smilies they want without changing the skin. and StringView has 'image', shouldn't that be enough ? an image is how you represent a smiley, the UI doesn't 'need' to know if it's a smiley or just some random image, as long as it displays it properly. unless you want it to be ("smiley", "smiley_name"), and the UI would go get the smiley's path, load Image from it, etc... then it makes sense, but I don't think it's necessary, it will just be a code duplication in all uis... the core would be better off doing it instead. KKRT ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel