(* Xm/Scale.def  Oct 15  19:19:15  1996 *)
(* Copyright (c) 1996,1997 XDS Ltd, Russia. All rights reserved. *)

(* Converted from Xm/Scale.h using H2D v1.16 *)

(* $RCSfile: Scale.def,v $ $Revision: 4 $ $Date: 28.07.98 23:14 $ *)

<*+ M2ADDTYPES *>
<*+ M2EXTENSIONS *>
<*+ NOHEADER *> 
<* IF NOT DEFINED(GENTYPEDEF) THEN *> <* NEW GENTYPEDEF+ *> <* END *>
<*+ CSTDLIB *>

DEFINITION MODULE ["C"] Scale;

IMPORT SYSTEM, Xt:=Intrinsic;
(* H2D:  Required IMPORT clause: 
IMPORT Scale, Intrinsic;
*)

(*
 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 *)

(*
 * Motif Release 1.2 
 *)

(*  Class record constants  *)

VAR 
  xmScaleWidgetClass: Xt.WidgetClass;

(*  fast XtIsSubclass define  *)

<* IF __GEN_C__ THEN *>

(* H2D: this procedure corresponds to a macro. *)
PROCEDURE XmIsScale ( w: Xt.Widget ): Xt.Boolean;

<* ELSE *>

PROCEDURE  / XmIsScale ( w: Xt.Widget ): Xt.Boolean;

<* END *>

TYPE 
  _XmScaleClassRec = RECORD
    (* Declaration without definition *)
  END;

  XmScaleWidgetClass = POINTER TO _XmScaleClassRec;

  _XmScaleRec = RECORD
    (* Declaration without definition *)
  END;

  XmScaleWidget = POINTER TO _XmScaleRec;

(********    Public Function Declarations    ********)

PROCEDURE XmScaleSetValue ( w: Xt.Widget; value: SYSTEM.int );

PROCEDURE XmScaleGetValue ( w: Xt.Widget; VAR value: SYSTEM.int );

PROCEDURE XmCreateScale ( parent: Xt.Widget; name: ARRAY OF CHAR;
                          arglist: Xt.ArgList;
                          argcount: Xt.Cardinal ): Xt.Widget;

(********    End Public Function Declarations    ********)

END Scale.
