comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: splashscreen
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: splashscreen [message #34406] Fri, 07 March 2003 15:46 Go to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
in article 3E6834EB.3090907@ee.uwa.edu.au, Thomas Gutzler at
tgutzler@ee.uwa.edu.au wrote on 3/7/03 12:58 AM:

> Hi,
>
> what would be the easiest way to display a splashscreen (like IDL does)
> before starting an application ?
> It shouldn't have any menus, titles, whatever - like the window that
> pops up using tv.
>
> regards,
> Tom
>
Hi Tom,

This is about as simple as you can get.

-Ronn

----------------------
pro splashpanel

xoff = 100 ;probably should use keywords
yoff = 100
base = widget_base(tlb_frame_attr=7,xoff=xoff,yoff=yoff)
;make the draw widget the same size as your image
drawId = widget_draw(base,xsize=200,ysize=100,retain=2)
widget_control,base,/realize
image = dist(200,100) ;insert your image here
tv,image
xyouts,100,50,align=0.5,'SPLASH!!!!',/device

wait,1 ;delay in seconds or you can get fancy and use a timer
widget_control, base,/destroy
return
end

--------------------

--
Ronn Kling
KRS, inc.
email: ronn@rlkling.com
"Application Development with IDL"� programming book updated for IDL5.6!
"Calling C from IDL, Using DLM's to extend your IDL code"!
"Power Graphics with IDL, A Beginner's Guide to Object Graphics", NEW BOOK!
http://www.rlkling.com/
[Message index]
 
Read Message
Read Message
Previous Topic: writing image with 16 bits per pixel
Next Topic: Re: Error compiling procedure already compiled

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:10:31 PDT 2025

Total time taken to generate the page: 0.00442 seconds