From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with the mouse (and fonts) in Allegro Date: Thu, 25 Sep 1997 19:31:15 +0100 Organization: None Distribution: world Message-ID: References: NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.