home *** CD-ROM | disk | FTP | other *** search
- /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.0 (the "NPL"); you may not use this file except in
- * compliance with the NPL. You may obtain a copy of the NPL at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the NPL is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
- * for the specific language governing rights and limitations under the
- * NPL.
- *
- * The Initial Developer of this code under the NPL is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998 Netscape Communications Corporation. All Rights
- * Reserved.
- */
- /*-----------------------------------------*/
- /* */
- /* Name: <Xfe/ProgressBar.h> */
- /* Description: XfeProgressBar widget public header file. */
- /* Author: Ramiro Estrugo <ramiro@netscape.com> */
- /* */
- /*----------------------------------------------------------------------*/
-
-
- #ifndef _XfeProgressBar_h_ /* start ProgressBar.h */
- #define _XfeProgressBar_h_
-
- #include <Xfe/Xfe.h>
-
- #ifdef __cplusplus /* start C++ */
- extern "C" {
- #endif
-
- /*----------------------------------------------------------------------*/
- /* */
- /* XfeProgressBar class names */
- /* */
- /*----------------------------------------------------------------------*/
- externalref WidgetClass xfeProgressBarWidgetClass;
-
- typedef struct _XfeProgressBarClassRec * XfeProgressBarWidgetClass;
- typedef struct _XfeProgressBarRec * XfeProgressBarWidget;
-
- /*----------------------------------------------------------------------*/
- /* */
- /* XfeProgressBar subclass test macro */
- /* */
- /*----------------------------------------------------------------------*/
- #define XfeIsProgressBar(w) XtIsSubclass(w,xfeProgressBarWidgetClass)
-
- /*----------------------------------------------------------------------*/
- /* */
- /* XfeProgressBar public functions */
- /* */
- /*----------------------------------------------------------------------*/
- extern Widget
- XfeCreateProgressBar (Widget w,
- String name,
- ArgList args,
- Cardinal nargs);
- /*----------------------------------------------------------------------*/
- extern void
- XfeProgressBarSetPercentages (Widget w,
- int start,
- int end);
- /*----------------------------------------------------------------------*/
- extern void
- XfeProgressBarSetComponents (Widget w,
- XmString xm_label,
- int start,
- int end);
- /*----------------------------------------------------------------------*/
- extern void
- XfeProgressBarCylonStart (Widget w);
- /*----------------------------------------------------------------------*/
- extern void
- XfeProgressBarCylonStop (Widget w);
- /*----------------------------------------------------------------------*/
- extern void
- XfeProgressBarCylonReset (Widget w);
- /*----------------------------------------------------------------------*/
- extern void
- XfeProgressBarCylonTick (Widget w);
- /*----------------------------------------------------------------------*/
-
-
- #ifdef __cplusplus /* end C++ */
- }
- #endif
-
- #endif /* end ProgressBar.h */
-