delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/30/23:32:16

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro GUI colors
Date: 30 Jul 1997 23:11:10 GMT
Organization: Oxford University, England
Lines: 16
Message-ID: <5rohme$adt@news.ox.ac.uk>
References: <33DF78D5 DOT ABD AT cam DOT org>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vic (tudor AT cam DOT org) wrote:
: I'm working on an editor for a stupid Chuckie egg clone (if you remember
: the old spectrum days :) and 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? Is there any other
: work-around, one that wouldn't mess the rest of he screen?

Set the gui_fg_color, gui_mg_color, gui_bg_color variables to something
sensible. As documented, `fg' is the foreground colour, `bg' is the
background colour, and `mg' is the disabled item colour.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019