Blame view

Giac_maj/giac-1.4.9/src/Flve_Check_Button.H 1.68 KB
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  //	======================================================================
  //	File:    Flve_Check_Button.h - Flve_Check_Button implementation
  //	Library: flvw - FLTK Widget
  //	Version: 0.1.0
  //	Started: 01/12/2000
  //
  //	Copyright (C) 1999 Laurence Charlton
  //
  //	Description:
  //	Flve_Check_Button implements a toggle editor for a list/table
  //
  // This library is free software; you can redistribute it and/or
  // modify it under the terms of the GNU Library General Public
  // License as published by the Free Software Foundation; either
  // version 2 of the License, or (at your option) any later version.
  //
  // This library 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
  // Library General Public License for more details.
  //
  // You should have received a copy of the GNU Library General Public
  // License along with this library. If not, see <http://www.gnu.org/licenses/>.
  // USA.
  //	======================================================================
  
  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif
  #ifndef IN_GIAC
  #include <giac/first.h>
  #else
  #include "first.h"
  #endif
  #ifdef HAVE_LIBFLTK
  
  #ifndef FLVE_CHECK_BUTTON_H
  #define FLVE_CHECK_BUTTON_H
  
  #include <FL/Fl_Check_Button.H>
  #include "Flv_List.H"
  #include <stdio.h>
  
  class Flve_Check_Button : public Fl_Check_Button
  {
  public:
  	Flve_Check_Button( int X, int Y, int W, int H, const char *l=0 ) :
  		Fl_Check_Button(X,Y,W,H,l) {	owner=NULL;	};
  	Fl_Widget *owner;
  protected:
  	int handle(int event );
  };
  
  void draw_flve_check_button( int X, int Y, int W, int H,
  															Flve_Check_Button *b, char *v );
  #endif
  
  #endif