/*

    Bist: a chemical drawing tool
    Copyright (C) 2008 Valerio Benfante

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
// generated by Fast Light User Interface Designer (fluid) version 1.0104


void pref_reset_to_default_cb(Fl_Widget* w, void* d);

void pref_canc_cb(Fl_Widget* w, void* d);

void pref_write_conf_cb(Fl_Widget* w, void* d);


/**
 *This class draw the preferences window
 */


class pref_dialog : public Fl_Double_Window {

  friend void pref_write_conf_cb(Fl_Widget* w, void* d);

public:
  pref_dialog();

protected:

  void add_font_names(Fl_Input_Choice& choice);

  Fl_Tabs ui_tab;
  Fl_Group g1;

  Fl_Float_Input grsp;
  Fl_Int_Input sens;
  Fl_Int_Input _page_w;
  Fl_Int_Input _page_h;

  Fl_Check_Button _show_splash;
  Fl_Check_Button o;

  Fl_Check_Button quantize_pos;


  Fl_Group g2;

  Fl_Float_Input bdl;
  Fl_Float_Input bda;
  Fl_Float_Input  arw;
  Fl_Float_Input  arh;
  Fl_Float_Input  argap;
  Fl_Float_Input dbs;
  Fl_Int_Input bndd;
  Fl_Float_Input lmaxc;
  Fl_Float_Input mbg;
  Fl_Float_Input freq;
  Fl_Float_Input amp;
  Fl_Int_Input numb;


  Fl_Group g3;

  Fl_Input_Choice sans_font;
  Fl_Input_Choice mono_font;
  Fl_Input_Choice serif_font;
  Fl_Input_Choice sans_font_italic;
  Fl_Input_Choice mono_font_italic;
  Fl_Input_Choice serif_font_italic;
  Fl_Input_Choice sans_font_bold;
  Fl_Input_Choice mono_font_bold;
  Fl_Input_Choice serif_font_bold;
  Fl_Input_Choice sans_font_bold_italic;
  Fl_Input_Choice mono_font_bold_italic;
  Fl_Input_Choice serif_font_bold_italic;
  Fl_Input_Choice symbol_font;
  Fl_Input_Choice dingbats_font;



  Fl_Button def;
  Fl_Button canc;
  Fl_Return_Button ok;


  int font_count;

};

