/*
  This file is a part of SEAL

  (c) Copyright 2001 Sealsystem / Point Mad. All rights reserved.

  Seal is under the Sealsystem license. Please read
    license.txt in the main directory for more informations.

  For more informations about copyrights, read about.txt
    in the main directory.

*/
#include<grfx.h>

p_grfx   (*grfx_init) ( p_grfx o, t_rect r ) = &_grfx_init;

p_grfx   _grfx_init ( p_grfx o, t_rect r )
{
  if ( !o ) return NULL;

  clear_type(o, sizeof(t_grfx));

  view_init(VIEW(o), r);

  OBJECT(o)->set_options(OBJECT(o), OB_OF_SELECTABLE+OB_OF_ENABLE, false);
  OBJECT(o)->set_options(OBJECT(o), OB_OF_STILLPROCESS, true);


  return o;

};
