/*
 * $Source: /afs/gza.com/misc/xscreensaver/src/RCS/float.h,v $
 * $Author: jik $
 *
 * This file is part of xscreensaver.  It contains the code for the
 * floating icon.
 *
 * Author: Jonathan Kamens, MIT Project Athena and
 *                          MIT Student Information Processing Board
 *
 * Coyright (c) 1989 by Jonathan Kamens.  This code may be distributed
 * freely as long as this notice is kept intact in its entirety and
 * every effort is made to send all corrections and improvements to
 * the code back to the author.  Also, don't try to make any money off
 * of it or pretend that you wrote it.
 */

#ifndef _FLOAT_H
#define _FLOAT_H

#ifndef lint
     static char rcsid_float_h[] = "$Header: /afs/gza.com/misc/xscreensaver/src/RCS/float.h,v 1.3 1993/07/02 18:35:03 jik Exp $";
#endif

#ifdef FLOAT

static void UpdateClock();
static void UpdateFloat();
static void MoveFloat();
static void build_float();
static int maybe_new_off_opposite_sign();
static int new_off();
static Boolean Redo();

void StartupFloat();
void ActivateFloat();
void DeactivateFloat();
void change_message();
void NewFloat();
void do_timeout();

#else

extern void StartupFloat();
extern void ActivateFloat();
extern void DeactivateFloat();
extern void change_message();
extern void NewFloat();
extern void do_timeout();

#endif

#define DEFAULT_MESSAGE_WIDTH 25

#endif /* _FLOAT_H */
