[Xastir] Operation: changing XASTIR background color

Andrew Rich vk4tec at people.net.au
Thu Aug 23 12:24:03 EDT 2007


1. Modify /xastir/xastir-1.9.0/config/xastir.rgb

100 100 100 darkgray

2. Modify /xastir/xastir-1.9.0/config/language-English.sys

# PullDown "Map Background Color"
PULDNMBC01|Gray||
PULDNMBC02|ADS-B Grey||           *****
PULDNMBC03|Navy Blue||
PULDNMBC04|Steel Blue||
PULDNMBC05|Med. Sea Green||
PULDNMBC06|Pale Green||
PULDNMBC07|Pale Goldenrod||
PULDNMBC08|Goldenrod Yellow||
PULDNMBC09|Rosy Brown||
PULDNMBC10|Fire brick Red||
PULDNMBC11|White||
PULDNMBC12|Black||

3. Modify main.c

    /* map default background color */
    switch (map_background_color){
        case 0 :
            colors[0xfd] = (int)GetPixelByName(appshell,"gray73");
            break;

        case 1 :
            colors[0xfd] = (int)GetPixelByName(w,"darkgray");
            break;


4 ./configure

5. make

6. make install


----------------------------------------------------------------------------
Andrew Rich VK4TEC
vk4tec at people.net.au
http://www.tech-software.net



No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.484 / Virus Database: 269.12.2/967 - Release Date: 22/08/2007
6:51 PM



More information about the Xastir mailing list