Author Topic: How to change the numbers coulours  (Read 5798 times)

0 Members and 1 Guest are viewing this topic.

David78

  • Guest
How to change the numbers coulours
« on: September 01, 2006, 11:57:18 AM »
Hi,

How can I change the colour of the numbers written in the begining of the game ? (I'd like them to be red instead of black)

Thanks

Offline David

  • Administrator
  • *****
  • Posts: 314
  • Karma: 10
    • View Profile
    • http://www.smoresoft.com/
Re: How to change the numbers coulours
« Reply #1 on: September 02, 2006, 03:50:36 AM »
Hi David78,

To do this, you'll need to create a new theme, which currently involves editing a text file.

I'll post more detailed instructions later, but if you're comfortable with copying and editing text files on your phone (e.g., using ActiveSync), the short story is that you make a copy of the theme you want to start with, edit the copy to change the ARGB color values you wish, save your new theme and select it from the game.

For example, use ActiveSync to copy "Purple.theme" from the "\Storage\Program Files\Smoresoft Sudoku\Themes" folder to "MyTheme.theme" on your desktop computer.  Then, edit MyTheme.theme with a text editor (e.g., Notepad) and change the value between the <givenColor> and </givenColor> XML tags to the hexadecimal ARGB value of your choice.

Fortunately, you don't have to know anything about hexadecimal or what ARGB means to do this. Just go to a web site with a color palette (e.g., http://www.visibone.com/colorlab/big.html), click on a color you like, and the 6-digit RGB value will be displayed for you to copy and paste.  Use "FF" in front of it (the "A" or "Alpha" value which says that the color should be opaque) to make it an 8-digit value.

According to the color chart, the RGB color for red is "FF0000".  So the ARGB value for red would be "FFFF0000".

Finally, use ActiveSync to copy "MyTheme.theme" back to the "\Storage\Program Files\Smoresoft Sudoku\Themes" folder on your phone, start the game, and choose your new theme from "Options", "Display".

I wonder about your choice of red, though.  Red is already used to indicate an invalid entry, so that might be confusing.  You may want to change the "invalidInputColor" to another value as well.

For your reference:

  • givenColor is the color of the clues or "givens" that are provided at the beginning of the game.
  • inputColor is the color of the numbers you enter as you play the game.
  • invalidInputColor is the color of the invalid numbers you enter as you play the game.

And if you create a cool looking theme, don't forget to share it with the rest of us by posting it as an attachment in this forum!

David78

  • Guest
Re: How to change the numbers coulours
« Reply #2 on: September 06, 2006, 07:49:47 PM »
Thanks a lot for your help

David78

  • Guest
Re: How to change the numbers coulours
« Reply #3 on: September 10, 2006, 08:56:20 AM »
Hi David,

I've created 3 simple themes like default one and purple one.

Like you asked me, I'd like to share it with other users on this forum but I can't attach the file in my post...

How to do this ? Can you help me ?

Thanks

Offline David

  • Administrator
  • *****
  • Posts: 314
  • Karma: 10
    • View Profile
    • http://www.smoresoft.com/
Re: How to change the numbers coulours
« Reply #4 on: September 11, 2006, 03:44:31 AM »
Sure!  You just have to join the forum as a member to be able to post attachments.  Once you're a member, you can click the "Additional Options..." link when you post.  That should give you a "Browse..." button to select the file you want to upload.