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

	Copyright (c) GeoWorks 1989 -- All Rights Reserved

PROJECT:	PC GEOS
FILE:		Objects/gContC.def

DECLARER:	UI

DESCRIPTION:
	This file defines GenContentClass

	$Id: gContC.def,v 1.1 97/04/04 14:19:27 newdeal Exp $

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

SetDef	__GCONTC

StartLibrary	ui

GenContentClass	class GenClass

	
;------------------------------------------------------------------------
;	Messages
;------------------------------------------------------------------------
	
MSG_GEN_CONTENT_GET_ATTRS	message
;
; Gets the current VisContentAttrs for the GenContent.
;
; Context:	General utility
; Source:	No restrictions.
; Destination:	Any GenContent object
; Interception:	Unlikely.
;
; Pass:		nothing
; Return:	cl -- VisContentAttrs
;		ax, ch, dx, bp -- destroyed
;
				
MSG_GEN_CONTENT_SET_ATTRS	message
;
; Sets the current VisContentAttrs for the GenContent.  Does not invalidate
; any portion of the content, or do any error checking to make the state
; of the content is still legal.
;
; Context:	General utility
; Source:	No restrictions.
; Destination:	Any GenContent object
; Interception:	Unlikely.
;
; Pass:		cl -- VisContentAttrs to set
;		ch -- VisContentAttrs to clear
; Return:	nothing
;		ax, cx, dx, bp -- destroyed
;
				
;------------------------------------------------------------------------
;	Constants & Structures
;------------------------------------------------------------------------

HINT_CONTENT_KEEP_FOCUS_VISIBLE		vardata
;
; If set, GenContent will endeavor to scroll its view to keep the current
; object with the focus.   The default behavior of the GenContent is to
; not interfere with scrolling.

;------------------------------------------------------------------------
;	Instance Data
;------------------------------------------------------------------------
	
    ;IMPORTANT: if you add instance data, update GenContentGenCopyTree

    GCI_attrs		VisContentAttrs	   0	; flags to set on vis part
    GCI_genView		optr	   	   <>	; view we're under
    
GenContentClass	endc

EndLibrary	ui

