Results 1 to 7 of 7

Thread: button classes

  1. #1
    Low Bitrate TheSin's Avatar
    Join Date
    Sep 2006
    Location
    Thorsby, AB
    Posts
    86

    button classes

    Just wondering about editing button classes??? I can see and know how to make new ones, but how do I edit current button classes?

  2. #2
    Newbie
    Join Date
    Jun 2007
    Location
    Chicago
    Posts
    54
    You can open the buttons in an editing program (i.e. Photoshop), edit as you wish and then save as a .png file.

  3. #3
    Low Bitrate TheSin's Avatar
    Join Date
    Sep 2006
    Location
    Thorsby, AB
    Posts
    86
    ya that is what I did, just wondering if I wanted to add more, like some classes online have 3 images and others 5 for different states, but I have been able to work around it.

    I'm using the Alienware skin as my base and maybe I shouldn't have. Likely should have just started with the default skin and worked from there.

    Quote Originally Posted by ekaz View Post
    You can open the buttons in an editing program (i.e. Photoshop), edit as you wish and then save as a .png file.

  4. #4
    Newbie
    Join Date
    Jun 2007
    Location
    Chicago
    Posts
    54
    In my limited experience so far, I went into developer mode, created a new button class (under tools I think).
    Then I opened Photoshop and edited the new buttons. If you want to add buttons, either start with a class that has all the states you want, or create the button and save with the proper name/extension.

  5. #5
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    Quote Originally Posted by TheSin View Post
    ya that is what I did, just wondering if I wanted to add more, like some classes online have 3 images and others 5 for different states, but I have been able to work around it.

    I'm using the Alienware skin as my base and maybe I shouldn't have. Likely should have just started with the default skin and worked from there.
    A skin image file is considered a button class if it has the word "BUTTON." in the first part of it. Following that should be the class name, followed by the state. i.e.
    BUTTON.<Class Name>.NOFOCUS.png

    The only state required for a button is NOFOCUS all other states are optional. If a state is not specified, StreetDeck will automatically use the next closest state it finds.

    To add a button manually, just copy one of the other button classes and change the class name for all the states you want and restart StreetDeck. You can also use the tool in the development environment as stated previously.
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

  6. #6
    Low Bitrate TheSin's Avatar
    Join Date
    Sep 2006
    Location
    Thorsby, AB
    Posts
    86
    oh thanks this helps a lot, so basically I can make a class with only nofocus, and add the missing files and it'll just work? I hope I understood that, thus no need to edit it just add the files or remove them.

    Quote Originally Posted by god_of_cpu View Post
    A skin image file is considered a button class if it has the word "BUTTON." in the first part of it. Following that should be the class name, followed by the state. i.e.
    BUTTON.<Class Name>.NOFOCUS.png

    The only state required for a button is NOFOCUS all other states are optional. If a state is not specified, StreetDeck will automatically use the next closest state it finds.

    To add a button manually, just copy one of the other button classes and change the class name for all the states you want and restart StreetDeck. You can also use the tool in the development environment as stated previously.

  7. #7
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    Yes, you only need nofocus. If you do add more states, they should all be the same size though.
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

Similar Threads

  1. Button request: Minimize
    By DaveB in forum Mobile Impact
    Replies: 17
    Last Post: 01-04-2007, 08:35 PM
  2. Changing button icons in centrafuse
    By BrentMcGhee in forum Centrafuse
    Replies: 10
    Last Post: 04-28-2006, 07:23 PM
  3. Power Button not working?
    By NoTicketsPlease in forum Newbie
    Replies: 5
    Last Post: 02-28-2006, 10:43 PM
  4. Replies: 2
    Last Post: 04-04-2005, 03:45 PM
  5. OPUS plus power button
    By The Grinch in forum Power Supplies
    Replies: 2
    Last Post: 07-25-2004, 01:55 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
  •