Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Universal Skin Format

  1. #11
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by zorro
    Nope. It's easy in other languages as well if you use a proper tool like the MS-XML DOM 4.0. It's COM, so you can use it everywhere.

    Sample to get a list of <RULE> tags in a document:
    Code:
    NodeList l_oNodes = l_oRoot.SelectNodes("descendant::RULE");
    Mmmm.... And then it gets confusing...

    I have this XML code for Delphi and I was staring at it on friday trying to figure out what the hell it meant

  2. #12
    Raw Wave
    Join Date
    Jun 2004
    Location
    On the beach
    Posts
    2,223
    Ol33l,

    Was the control I sent you of any use??

  3. #13
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by UK_MP3Car
    Ol33l,

    Was the control I sent you of any use??
    To tell you the truth, I haven't really had time to play around with it. Today I just got GammaControl to speak to Road Runner and started rewriting my Destinator3 code and converting it to Map Monkey code while throwing out the winsock. Now I'll actually be able to make loops that check for if a command was completed

  4. #14
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    Quote Originally Posted by 0l33l
    Mmmm.... And then it gets confusing...

    I have this XML code for Delphi and I was staring at it on friday trying to figure out what the hell it meant
    Basically this is the usage of a technique called "XPath". It parses through your XML document and returns you a list of all nodes (l_oNodes) found with the given tag name.
    With that, you can step through each node and read such attributes as "ID" or determine whether this Node has child nodes or not.

    Take a closer look in here:
    http://www.w3schools.com/xpath/xpath_location.asp
    Skinning to go... VisualDesigner2!

  5. #15
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by zorro
    Basically this is the usage of a technique called "XPath". It parses through your XML document and returns you a list of all nodes (l_oNodes) found with the given tag name.
    With that, you can step through each node and read such attributes as "ID" or determine whether this Node has child nodes or not.

    Take a closer look in here:
    http://www.w3schools.com/xpath/xpath_location.asp
    It sounds easy on paper but its hard to implement. I have some XML code, but still haven't fully figured out how to use it

  6. #16
    Variable Bitrate
    Join Date
    Nov 1999
    Location
    Ishoej, Denmark
    Posts
    310
    It sounds like a great idea to me. i have a frontend that i would love to be able to use skins in. but i fail to understand how they work code wise. Does anyone have vb / c# code that works with some of the skins allready released ?

  7. #17
    Variable Bitrate HybridMike's Avatar
    Join Date
    Apr 2004
    Location
    Orlando, Florida
    Posts
    367
    I have a better Idea..... why dont we develop a universal skin building app, each front end developer contributes the portion of the code that would save that skin as their format. the program can have the same UI for building and use a plugin system that allows new front end programmers to build a plugin for the builder app...

    then someone can open a skin file with the Builder app and save as.... (whatever front end you want)

    Tell me if this sounds like a good idea

  8. #18
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    Quote Originally Posted by 0l33l
    It sounds easy on paper but its hard to implement. I have some XML code, but still haven't fully figured out how to use it
    XML code is a string ... not more, not less
    Skinning to go... VisualDesigner2!

  9. #19
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by HybridMike
    I have a better Idea..... why dont we develop a universal skin building app, each front end developer contributes the portion of the code that would save that skin as their format. the program can have the same UI for building and use a plugin system that allows new front end programmers to build a plugin for the builder app...

    then someone can open a skin file with the Builder app and save as.... (whatever front end you want)

    Tell me if this sounds like a good idea
    Yeh, but its gonna be a problem with some guys writing in VB, Delphi, C#, VB.Net, etc.
    Quote Originally Posted by zorro
    XML code is a string ... not more, not less
    Yeh, yeh, yeh. Not as easy as it sounds

  10. #20
    Variable Bitrate brooksware2000's Avatar
    Join Date
    May 2004
    Location
    Minot AFB, ND
    Posts
    260
    Quote Originally Posted by HybridMike
    I have a better Idea..... why dont we develop a universal skin building app, each front end developer contributes the portion of the code that would save that skin as their format. the program can have the same UI for building and use a plugin system that allows new front end programmers to build a plugin for the builder app...

    then someone can open a skin file with the Builder app and save as.... (whatever front end you want)

    Tell me if this sounds like a good idea
    This sounds more like what is needed. I doubt many of the frontend coders will want to totally rewrite their frontend to make it universal across the board. Now, a universal skin app--that sounds great.
    Check out my hopefully useful site...

    www.hobbybotics.com

    It's still under design but it is functional

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. neocar skin workshop Alpha.2a [DOWNLOAD]
    By netsuo in forum NeoCar Media Center
    Replies: 3
    Last Post: 11-21-2004, 04:33 PM
  2. FRODOPLAYER 1.0.9 SKIN in progess
    By WeeZyFellA in forum FrodoPlayer
    Replies: 119
    Last Post: 10-27-2004, 09:07 AM
  3. New Skin - Spaced_Out for FrodoPlayer 1.08
    By WeeZyFellA in forum FrodoPlayer
    Replies: 24
    Last Post: 10-17-2004, 09:50 PM
  4. v.3 SKIN
    By WeeZyFellA in forum FrodoPlayer
    Replies: 89
    Last Post: 10-15-2004, 08:29 PM
  5. FP: It's coming along, got new skin format & screenie
    By frodobaggins in forum Software & Software Development
    Replies: 39
    Last Post: 12-30-2003, 09:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •