Visual Productions forum

Author Topic: Customizing VisualTouch  (Read 4155 times)

December 09, 2008, 12:26:49 PM
Read 4155 times

Maarten Engels

  • Administrator
  • Member
  • *****
  • Posts: 2383
    • www.visualproductions.nl
It is possible to customize the appearance of VisualTouch through adding a few settings to its options.txt file. This allows you to define your own colour scheme and also define a fixed set of servers that the VisualTouch user can choose from.

You can find the options.txt file in the following location: My Documents\Visual Productions\VisualTouch   you can edit this file using any standard text-editor like Notepad.

You can add any of the following lines:

colour_main_pen           0xff0000
colour_main_brush        0x000000
colour_dialog_pen         0x00ff00
colour_dialog_brush     0xffffff
colour_dialog_font      0x0000ff


the colour codes like 0xff0000 is hexadecimal and in the format 0xRRGGBB.

for example:
0xff0000   defines red
0x000000   defines black
0x0000ff   defines blue


You can also replace the 'Server' settings (manual IP and Port selection) in the options window by a simple selection list of predefined servers which makes switching between different servers faster and more user-friendly. To do so, add the following text to the options.txt file:

server_short_list
{
   server
   {
      label   "example_server"
      ip   "192.168.1.4"
      port   16495
   }
   server
   {
      label   "example_laptop"
      ip   "192.168.1.231"
      port   16495
   }
}

« Last Edit: January 15, 2009, 12:19:58 PM by Maarten Engels »
Maarten Engels
Visual Productions BV

 

SMF spam blocked by CleanTalk