Menu

#11 Skinning System

open
GUI (3)
5
2008-01-23
2008-01-23
Forcepoint
No

- Loading skin information from file;
- Applying it to the controls;

Discussion

  • Forcepoint

    Forcepoint - 2008-01-23

    Logged In: YES
    user_id=1845569
    Originator: YES

    I'll work on this, but I can't assign it to myself? Maybe someone else can.

     
  • squid

    squid - 2008-01-23
    • assigned_to: nobody --> forcepoint
     
  • Zenon

    Zenon - 2008-01-24

    Logged In: YES
    user_id=1987102
    Originator: NO

    Great idea...This would make uMsn really cool!

    Tell me wen u get some idea of making it... This would be a cool app to skin.

     
  • Forcepoint

    Forcepoint - 2008-01-24

    Logged In: YES
    user_id=1845569
    Originator: YES

    Changes 24-1-08:
    - Created a SkinManager class. This is a static class that holds all available Skins, and if needed it loads them into uMsn.

    File is going to look something like this:

    <?xml version="1.0" encoding="utf-8" ?>
    <uMsn Name="Forcepoint Test Skin" Author="Forcepoint" Version="0.0.0.1">
    <Skin Form="frmMain" Control ="tbScreenName">
    <BackgroundImage>Test.jpg</BackgroundImage>
    <BackgroundColor>Yellow</BackgroundColor>
    <Text>Forcepoint Skinning Test</Text>
    </Skin>
    </uMsn>
    You'll just have to pass a form to one of the skin objects in the SkinManager, and it then sets properties for the Control.
    Here's an example: http://xs223.xs.to/xs223/08044/naamloos818.jpg
    Anyways: work in progress ;D

     

Log in to post a comment.

MongoDB Logo MongoDB