Class TDisplayThread (unit display) |
TThread
************************************************************************** ssaver95 -- a delphi screen saver that requires little work to personalize Copyright (C) 1998 - Christopher Litsinger xopher@interiority.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. For more information, check out more information on the copyleft at http://www.gnu.org/copyleft/copyleft.html **************************************************************************
Constructors |
Functions |
if UseDesktop.
free the bitmaps
case;
Properties |
Events |
Variables |
Constructors |
Functions |
the rect shows the drawing dimensions which are smaller than the screen for preview mode
if UseDesktop..else
initialization point for the thread
free the bitmaps
Style <> ssBackForth.. else
temporary holding space
case;
create our bitmap holding tank
Properties |
Events |
Variables |
the animate procedure uses this to determine how to draw sprite
this is the destination drawing surface
controls the speed of the screen saver
the image to draw
controls the position of the sprite
bitmap holding the background
useDesktop copies desktop to background
a mask for the image
controls whether the image is reversed or animated