/* 
 * Thomas Pantzer: t_kurvemap2.cc, v0.4.7  8.6.99 16:32 
 * 
 * 
 * Copyright 1999 by Thomas Pantzer
 * 
 * Permission to use, copy, modify, and distribute this software for noncommercial 
 * use and without fee is hereby granted, provided that the above copyright notice 
 * appear in all copies and that both that copyright notice and this permission 
 * notice appear in supporting documentation, and that the name of the Author not be 
 * used in advertising or publicity pertaining to distribution of the software 
 * without specific, written prior permission. The Author makes no representations about
 * the suitability of this software for any purpose.  It is provided "as is" 
 * without expressed or implied warranty. 
 * 
 * 
 * pantec@isys2.informatik.uni-leipzig.de   (Thomas Pantzer) 
 * 
 */




#include <math.h>

#include "t_woeq.h"
#include "t_deq_l.h"
#include "t_deq_c.h"

#include "t_kurvemap.h"

#include "forms.h"
#include "graphix.h"
#include "new_panel.h"






void t_kurvemap2::Init(int count)
{
   t_woeq::Init();

   t_deq_l *L; //,*last;

   double a = 1.0 / (double)count;

   for (int i=0; i<count; i++)
     {
      L = new t_deq_l;
      L->Init(i,a,first);
      Add(L);
     }
   
/*
   t_deq_c *C = new t_deq_c;
   C->Init(count,-30.0,first);
   Add(C);
   
   C = new t_deq_c;
   C->Init(count+1,70.0,first); 
   Add(C);
*/
//   C = new t_deq_c;
//   C->Init(3,170.0,first);
//   Add(C);

/*
   fl_activate_object(fd_panel->klevel_sl);
   fl_activate_object(fd_panel->ny_sl);
   fl_activate_object(fd_panel->infoTH_sl);
   fl_activate_object(fd_panel->epsilon_sl);
*/
   
}


void t_kurvemap2::Done(void)
{
//   fl_deactivate_form(fd_param_fm->param_fm);
/*
   fl_deactivate_object(fd_panel->klevel_sl);
   fl_deactivate_object(fd_panel->ny_sl);
   fl_deactivate_object(fd_panel->infoTH_sl);
   fl_deactivate_object(fd_panel->epsilon_sl);
   
   t_woeq::Done();
*/   
}








/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/*****  End Of File  ****************************/
