Mail Archives: djgpp/1997/07/30/23:32:16
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 -