From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro GUI colors Date: Wed, 30 Jul 1997 21:16:55 +0100 Organization: None Distribution: world Message-ID: References: <33DF78D5 DOT ABD AT cam DOT org> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vic writes: >I'm using the file_select routine. However my palette is different (it's a PSP standard palette) and the dialog box is black. I solved this >problem by setting the desktop palette before calling file_select but >the rest of the screen gets messed up. What colors does the File_select function use? They are set by the global variables gui_fg_color and gui_bg_color (which default to 255 and 0 respectively). Just change these to whatever colors you want to use before displaying the dialog.... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.