Page 4 of 15 FirstFirst 1234567891011121314 ... LastLast
Results 31 to 40 of 143

Thread: Shock Skin v4 Transparent Released

  1. #31
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by blk02si View Post
    Q. for Sal

    Do you think it would be ok to define the label colors like this example:

    L,712,3,74,45,#R#,#G#,#B#,30,"ISOCPEUR:B","=SET"," CENTER"

    Then have SHOCKCOLORDEFINITION.txt look like this:

    /,Shock Font Color
    /DEFINE R 255
    /DEFINE G 255
    /DEFINE B 255

    Its the same code just simplified a bit (- the shocks).
    That would work just fine if that's what works for you. If you're only using one font color throughout the skin, it's all you'd need.

    I have the impression that your going to be working/updating the skin. IMO, start w/ a good base. You may find yourself using more font colors than you think for different labels (i.e. weather.skin, gas_pricefinder.skin).

    Example:
    Code:
    /,Shock Main Font Color
    /DEFINE MAINR 255
    /DEFINE MAING 255
    /DEFINE MAINB 255
    It'd also be easier to differentiate b/w colors when looking at label codes if you decide to use more than one color.

    Quote Originally Posted by blk02si View Post
    Now what typ of app or how do I go about picking a color from a menu and having it write the RGB values to the SHOCKCOLORDEFINITION.txt?
    I don't use an app to swap font colors. I didn't want to use another app that would require users to setup just to use that function. Skins can get complicated as it is w/ plugins and scripts as it is, and I didn't want to scare plug n play type users. Makes it just that much less complicated. In any case, I use RR's built-in WRITETOFILE & ADDTOFILE command. What I do is, first, I define the following in...

    skin.ini:
    Code:
    shockcolortheme00=/,Shock Main Font Color
    shockcolortheme01=/DEFINE MAINR 255
    shockcolortheme02=/DEFINE MAING 255
    shockcolortheme03=/DEFINE MAINB 255
    shockcolortheme10=/,Shock Main Font Color
    shockcolortheme11=/DEFINE MAINR 0
    shockcolortheme12=/DEFINE MAING 190
    shockcolortheme13=/DEFINE MAINB 0
    then skin's ExecTBL.ini:
    Code:
    "SETSKTH0","WRITETOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme00$||ADDTOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme01$||ADDTOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme02$||ADDTOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme03$"
    "SETSKTH1","WRITETOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme10$||ADDTOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme11$||ADDTOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme12$||ADDTOFILE;$skinpath$SHOCKCOLORDEFINITIONS.txt;=$shockcolortheme13$"
    
    .
    Finally, in your color/theme picker skin, just set two buttons w/ a button code "SETSKTH0" & "SETSKTH1". The color definitions (SHOCKCOLORDEFINITIONS.txt) will be updated and will be loaded the next time RR is reloaded/restarted or when a skin is first loaded.

    The example above is a small example switching out two colors, white and green.

    You can also define the color variables in a format RichP laid out (i.e shockcolortheme00=/DEFINE MAIN 255,255,255) and write to file that way. I just did it to stay consistent w/ my previous examples. Gotta play around w/ it a little to get the hang of it. Hope that's clear.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  2. #32
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,183
    Blog Entries
    1

    Thumbs up

    Very Helpful Gents, Thank you for taking the time to explain these advanced skinning topics to me and posting up examples of code. Centralized color management of labels is a feature I will include in the next release. Right now im setting up things on a menu_3 to get the feel for the code.
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  3. #33
    Constant Bitrate
    Join Date
    Jan 2006
    Location
    Montreal, QC, CA
    Posts
    196
    Could you distribute this version of the font with your skin ?
    http://www.enitalp.net/Screenshot/ISOCPEUR.TTF
    So EniCar could handle your skin better. Thanks to microsoft.

  4. #34
    Maximum Bitrate crooper's Avatar
    Join Date
    Nov 2006
    Location
    Everett, WA
    Posts
    467
    I like my version of Shock better. Enable/disable vis by hitting the area with the system status (upper right), time/date area is minimize, <- -> area is gamma. On all other menus the time/date area returns to main. I still have a few things left to finish up (shuffle indicator, etc).

    Can't wait to get it installed in my car.
    Attached Images Attached Images   

  5. #35
    Constant Bitrate C4DAO's Avatar
    Join Date
    Apr 2007
    Location
    Cardiff
    Posts
    125
    Is this a personal copy or ?

  6. #36
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    97
    when you get that finished, DO share the code for it!

    A couple of things I've noticed.
    edit: was using 3 - downloaded the wro

  7. #37
    Maximum Bitrate crooper's Avatar
    Join Date
    Nov 2006
    Location
    Everett, WA
    Posts
    467
    I customized the skin for my own needs (cutting out sat radio, FM), added system status, a persistent time/date display, album art, vis, etc. After I finish it up I could post my skin files if anyone's interested.

  8. #38
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    97
    definately. I really like the layout you have

  9. #39
    Constant Bitrate C4DAO's Avatar
    Join Date
    Apr 2007
    Location
    Cardiff
    Posts
    125
    After I finish it up I could post my skin files if anyone's interested.
    Yes please, as long as their are no objections!

  10. #40
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    97
    possible issues:
    1) can't add entire folders to playlist
    2) clicking the time remaining on song button in mp3 changes the scroll bars position without changing filelist position - shouldn't do either

    Other than RR not working with winamp at all for me I think that's it. gotta figure this one out

    Another thing:
    Is is possible to tag more than one action to a button. Currently, clicking any buttons (such as going from MP3 to FM) and then hitting the EXIT button will return you to MP3. Is it possible to code the button to EXIT MP3 then go to FM?

Similar Threads

  1. New Age ... RELEASED ... Transparent
    By ThunderStick in forum RR Skins
    Replies: 21
    Last Post: 09-24-2007, 12:10 PM
  2. Replies: 145
    Last Post: 09-09-2007, 11:38 PM
  3. Shock Skin - v1.0 & v2.0
    By blk02si in forum RR Skins
    Replies: 74
    Last Post: 07-28-2007, 09:59 AM
  4. Hard drive shock / vibration thoughts
    By S11D336B in forum General Hardware Discussion
    Replies: 60
    Last Post: 09-27-2006, 12:40 AM
  5. New Skin - Spaced_Out for FrodoPlayer 1.08
    By WeeZyFellA in forum FrodoPlayer
    Replies: 24
    Last Post: 10-17-2004, 10:50 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
  •