From 364fadcbea5f37799bb42e663106e3a007746984 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 30 Oct 2006 20:45:53 +0100 Subject: strip copyright --- src/Fl_Search_Chooser.H | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/Fl_Search_Chooser.H') diff --git a/src/Fl_Search_Chooser.H b/src/Fl_Search_Chooser.H index c87f0de..c5e88d9 100644 --- a/src/Fl_Search_Chooser.H +++ b/src/Fl_Search_Chooser.H @@ -1,23 +1,3 @@ -// -// Value dial header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 1998-2004 by Bill Spitzak and others. -// -// 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, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. -// #ifndef FL_SEARCH_CHOOSER_H #define FL_SEARCH_CHOOSER_H -- cgit v1.2.3 From 6c50749f40e50a4b6a260a262b40035bfe83fd76 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 30 Oct 2006 20:49:30 +0100 Subject: add simplified copyright --- src/Fl_Search_Chooser.H | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Fl_Search_Chooser.H') diff --git a/src/Fl_Search_Chooser.H b/src/Fl_Search_Chooser.H index c5e88d9..d3478c2 100644 --- a/src/Fl_Search_Chooser.H +++ b/src/Fl_Search_Chooser.H @@ -1,3 +1,8 @@ +// +// Copyright 2006 Johannes Hofmann +// +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef FL_SEARCH_CHOOSER_H #define FL_SEARCH_CHOOSER_H -- cgit v1.2.3 From ea2c78254d2c487d838b23e90dd3672dfd6939fc Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 30 Oct 2006 21:31:32 +0100 Subject: fix segfault in Fl_Search_Chooser --- src/Fl_Search_Chooser.H | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Fl_Search_Chooser.H') diff --git a/src/Fl_Search_Chooser.H b/src/Fl_Search_Chooser.H index d3478c2..821ffdd 100644 --- a/src/Fl_Search_Chooser.H +++ b/src/Fl_Search_Chooser.H @@ -28,7 +28,6 @@ class Fl_Search_Chooser { Fl_Search_Browser *sb; Fl_Search_Chooser(const char *title); - ~Fl_Search_Chooser(); void add(const char *t, void *d); void *data(); -- cgit v1.2.3 From f8fb82ba705f6314d502b8efc8f03ecd16b8bed8 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 30 Oct 2006 22:27:04 +0100 Subject: more reindent --- src/Fl_Search_Chooser.H | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/Fl_Search_Chooser.H') diff --git a/src/Fl_Search_Chooser.H b/src/Fl_Search_Chooser.H index 821ffdd..e968452 100644 --- a/src/Fl_Search_Chooser.H +++ b/src/Fl_Search_Chooser.H @@ -12,27 +12,27 @@ #include class Fl_Search_Browser : public Fl_Select_Browser { - public: - - Fl_Search_Browser(int X, int Y, int W, int H, const char *c):Fl_Select_Browser(X,Y,W,H,c){}; + public: - int find_prefix(const char *p); - private: - int find_prefix(const char *p, int s, int e); + Fl_Search_Browser(int X, int Y, int W, int H, const char *c):Fl_Select_Browser(X,Y,W,H,c){}; + + int find_prefix(const char *p); + private: + int find_prefix(const char *p, int s, int e); }; class Fl_Search_Chooser { - private: - public: - Fl_Window *w; - Fl_Search_Browser *sb; + private: + public: + Fl_Window *w; + Fl_Search_Browser *sb; - Fl_Search_Chooser(const char *title); + Fl_Search_Chooser(const char *title); - void add(const char *t, void *d); - void *data(); - void show(); - int shown(); + void add(const char *t, void *d); + void *data(); + void show(); + int shown(); }; #endif -- cgit v1.2.3