delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/08/03:55:51

From: Shawn Hargreaves <shawn AT talula DOT demon DOT co DOT uk>
To: djgpp AT delorie DOT com
MMDF-Warning: Parse error in original version of preceding line at punt-1.mail.demon.net
Subject: Re: allegro: textout_centre() / gfx_mode_select()
Date: Wed, 7 May 1997 18:42:45 +0100
MIME-Version: 1.0
Message-ID: <863077707.056979.0@[194.129.18.166]>

KaRNaGE writes:
> > This is the culprit: gfx_mode_select() is changing the text drawing
mode,
>
> ok thankz...i'm still wondering though, how come it only did this when i
> clicked 'ok' with the mouse...i even tride my joystick, and it only does
> it with the mouse...

Because when you click with the mouse it inverts the colors of the button
you click on (waiting for the button to be released before the click takes
effect), wheras if you use the keyboard or joystick, or if you doubleclick
on the listbox itself, the button doesn't ever change colour so the text
mode will be left in a different state...


--
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 -


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