COMMENT @----------------------------------------------------------------------

	Copyright (c) GeoWorks 1991 -- All Rights Reserved

PROJECT:	PC GEOS
MODULE:		Include/Objects
FILE:		gBoolC.def

REVISION HISTORY:
	Name	Date		Description
	----	----		-----------
	chris	1/92		Initial version

DESCRIPTION:
	Object definitions for GenBooleanClass.   

	$Id: gBoolC.def,v 1.1 97/04/04 14:19:10 newdeal Exp $

------------------------------------------------------------------------------@

SetDef	_GBOOLC

StartLibrary	ui
		
include ui.def

		
GenBooleanClass	class	GenClass

MSG_GEN_BOOLEAN_GET_IDENTIFIER		message
; 
; Returns the identifier for the item.
;
; Context:	Can be called at any time.
; Source:	No restrictions
; Destination:	Any GenBoolean object.
; Interception:	Generally not intercepted.
;
; Pass:		nothing
; Return:	ax -- identifier
;		cx, dx, bp -- destroyed
;

MSG_GEN_BOOLEAN_SET_IDENTIFIER		message
; 
; Sets a new identifier for the object.  No effect is made on the list -- it
; is up to the application to make sure the item is deselected before changing
; its identifier.
;
; Context:	Can be sent any time, although sending it while the item is
;		usable would be unusual.
; Source:	No restrictions
; Destination:	Any GenBoolean object.
; Interception:	Generally not intercepted.
;
; Pass:		cx -- new identifier
; Return:	nothing
;		ax, cx, dx, bp -- destroyed
;

;------------------------------------------------------------------------------
;	Internal messages.
; 	May be used by a dynamic list.
;------------------------------------------------------------------------------

MSG_GEN_BOOLEAN_SET_INTERACTABLE_STATE		message
;
; Used set an boolean interactable or not interactable.  Used internally by 
; dynamic lists.
;
; Context:	Can be called anytime.
; Source:	Generally the parent, usually a GenDynamicList.
; Destination:	Any GenBoolean object.
; Interception:	Not generally intercepted.
;
; Pass:		cx -- non-zero to make boolean interactable
; Return:	nothing
;		ax, cx, dx, bp -- destroyed

;------------------------------------------------------------------------------
;       Instance data
;------------------------------------------------------------------------------

GBI_identifier		word	0
	;The identifier for the boolean.   The boolean is always referred to in
	;boolean group messages by its identifier.  Can be set via MSG_GEN_-
	;BOOLEAN_SET_IDENTIFIER and gotten via MSG_GEN_BOOLEAN_GET_IDENTIFIER.

GenBooleanClass	endc

		
EndLibrary	ui



