delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/13/06:11:53

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3013975A2@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Allegro: Animating pics behing a dialog?
Date: Thu, 13 May 1999 11:12:20 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

Samuel Mukoti writes:
> I've got an image of a joystick & I've managed to make each button glow 
> when the corresponding button is press on the joystick itself...
> I want to put a dialog on the same screen with <edit_proc> so that when 
> each button has an _edit_proc_ & that when pressed it highlights the
> corresponding _edit_proc_.  What the best way of doing this?

You could display your image as a GUI object that redraws itself in
the MSG_IDLE handler, or you could use the DIALOG_PLAYER functions
rather than just calling do_dialog(), and then display your image
from the higher level loop that controls the GUI dialog.


	Shawn Hargreaves.

- Raw text -


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