Mail Archives: djgpp/1997/09/28/00:33:38
Mike Darrett writes:
>When you use the mouse to select the video mode for set_gfx_mode(), and
>later switch to a new resolution, the mouse pointer is black.
That's because you don't set the palette after changing the graphics
mode, so you get whatever colors your BIOS sets by default. It's not a
good idea to count on these always being the same: you should set the
palette yourself to whatever colors you are going to use...
>Another thiong: If you do not use the mouse to select the video
>mode, the mouse ptr is black AND the text background is also black.
You need to call text_mode() to set the drawing mode you want. After
displaying the mode selector, the text mode will be set to whatever was
used by the most recent GUI object to be displayed, which could be just
about anything...
--
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.
- Raw text -