[Plib-cvs] plib/src/pui pu.h,1.124,1.125 puArrowButton.cxx,1.14,1.15 puBiSlider.cxx,1.20,1.21 puBox.
Brought to you by:
sjbaker
Update of /cvsroot/plib/plib/src/pui
In directory usw-pr-cvs1:/tmp/cvs-serv32497
Modified Files:
pu.h puArrowButton.cxx puBiSlider.cxx puBox.cxx puButton.cxx
puButtonBox.cxx puComboBox.cxx puDial.cxx puDialogBox.cxx
puFilePicker.cxx puFileSelector.cxx puFont.cxx puFrame.cxx
puGroup.cxx puInput.cxx puInterface.cxx puLargeInput.cxx
puListBox.cxx puMenuBar.cxx puObject.cxx puOneShot.cxx
puPopup.cxx puPopupMenu.cxx puRange.cxx puScrollBar.cxx
puSelectBox.cxx puSlider.cxx puSpinBox.cxx puText.cxx
puTriSlider.cxx puValue.cxx puVerticalMenu.cxx
Log Message:
Added ulRTTI system
Index: pu.h
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/pu.h,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- pu.h 1 Sep 2002 09:15:50 -0000 1.124
+++ pu.h 1 Sep 2002 09:36:50 -0000 1.125
@@ -25,6 +25,7 @@
#define _PU_H_ 1
#include "fnt.h"
+#include "ulRTTI.h"
/*
Configuration
@@ -378,7 +379,7 @@
class puValue
{
[...247 lines suppressed...]
protected:
int num_lines ; // Number of lines of text in the box
@@ -1932,7 +1942,7 @@
class puComboBox : public puGroup
{
-
+ UL_TYPE_DATA
protected:
char ** list ;
@@ -1989,7 +1999,7 @@
class puSelectBox : public puGroup
{
-
+ UL_TYPE_DATA
protected:
char ** list ;
Index: puArrowButton.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puArrowButton.cxx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- puArrowButton.cxx 12 Jul 2002 02:57:19 -0000 1.14
+++ puArrowButton.cxx 1 Sep 2002 09:36:50 -0000 1.15
@@ -1,27 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
+
#include "puLocal.h"
+
+UL_RTTI_DEF1(puArrowButton,puButton)
+
void puDrawArrowButtonTriangle ( int pos_x, int pos_y, int size_x, int size_y,
puColour colour, int arrow_type, int active )
Index: puBiSlider.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puBiSlider.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- puBiSlider.cxx 3 Aug 2002 22:44:48 -0000 1.20
+++ puBiSlider.cxx 1 Sep 2002 09:36:51 -0000 1.21
@@ -1,27 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
+
#include "puLocal.h"
+
+UL_RTTI_DEF1(puBiSlider,puSlider)
+
void puBiSlider::draw ( int dx, int dy )
{
Index: puBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puBox.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- puBox.cxx 7 Nov 2001 23:51:09 -0000 1.8
+++ puBox.cxx 1 Sep 2002 09:36:51 -0000 1.9
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
Index: puButton.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puButton.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- puButton.cxx 9 Dec 2001 17:43:13 -0000 1.18
+++ puButton.cxx 1 Sep 2002 09:36:51 -0000 1.19
@@ -1,29 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
-
#include "puLocal.h"
+
+UL_RTTI_DEF1(puButton,puObject)
+
void puButton::draw ( int dx, int dy )
{
Index: puButtonBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puButtonBox.cxx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- puButtonBox.cxx 10 Nov 2001 13:37:38 -0000 1.13
+++ puButtonBox.cxx 1 Sep 2002 09:36:51 -0000 1.14
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puButtonBox,puObject)
+
puButtonBox::puButtonBox ( int minx, int miny, int maxx, int maxy,
char **labels, int one_button ) :
Index: puComboBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puComboBox.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- puComboBox.cxx 10 Nov 2001 22:09:57 -0000 1.11
+++ puComboBox.cxx 1 Sep 2002 09:36:51 -0000 1.12
@@ -1,27 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
+
#include "puLocal.h"
+
+UL_RTTI_DEF1(puComboBox,puGroup)
+
void puComboBox::input_down_cb ( puObject *inp )
{
Index: puDial.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puDial.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- puDial.cxx 12 Jul 2002 02:57:19 -0000 1.22
+++ puDial.cxx 1 Sep 2002 09:36:51 -0000 1.23
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puDial,puRange)
+
+
void puDial::draw ( int dx, int dy )
{
if ( !visible || ( window != puGetWindow () ) ) return ;
Index: puDialogBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puDialogBox.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- puDialogBox.cxx 7 Nov 2001 23:51:09 -0000 1.3
+++ puDialogBox.cxx 1 Sep 2002 09:36:51 -0000 1.4
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -24,4 +24,5 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puDialogBox,puPopup)
Index: puFilePicker.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puFilePicker.cxx,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- puFilePicker.cxx 20 Jun 2002 20:07:53 -0000 1.27
+++ puFilePicker.cxx 1 Sep 2002 09:36:51 -0000 1.28
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -41,6 +41,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puFilePicker,puDialogBox)
+
#if defined(WIN32) && !defined(__CYGWIN__)
#define DOTDOTSLASH "..\\"
Index: puFileSelector.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puFileSelector.cxx,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- puFileSelector.cxx 7 Jul 2002 19:05:56 -0000 1.25
+++ puFileSelector.cxx 1 Sep 2002 09:36:51 -0000 1.26
@@ -43,6 +43,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puFileSelector,puDialogBox)
+
+
#if defined(WIN32) && !defined(__CYGWIN__)
#define DOTDOTSLASH "..\\"
#define SLASH "\\"
Index: puFont.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puFont.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- puFont.cxx 1 Sep 2002 07:45:08 -0000 1.19
+++ puFont.cxx 1 Sep 2002 09:36:51 -0000 1.20
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
Index: puFrame.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puFrame.cxx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- puFrame.cxx 7 Nov 2001 23:51:09 -0000 1.10
+++ puFrame.cxx 1 Sep 2002 09:36:51 -0000 1.11
@@ -1,29 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
-
#include "puLocal.h"
+
+UL_RTTI_DEF1(puFrame,puObject)
+
void puFrame::draw ( int dx, int dy )
{
Index: puGroup.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puGroup.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- puGroup.cxx 3 Aug 2002 22:44:48 -0000 1.21
+++ puGroup.cxx 1 Sep 2002 09:36:51 -0000 1.22
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puGroup,puObject)
+
#define PUSTACK_MAX 100
Index: puInput.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puInput.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- puInput.cxx 3 Aug 2002 22:44:48 -0000 1.26
+++ puInput.cxx 1 Sep 2002 09:36:51 -0000 1.27
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puInput,puObject)
+
+
void puInput::normalize_cursors ( void )
{
int sl = strlen ( getStringValue () ) ;
Index: puInterface.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puInterface.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- puInterface.cxx 3 Aug 2002 22:44:48 -0000 1.15
+++ puInterface.cxx 1 Sep 2002 09:36:51 -0000 1.16
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puInterface,puGroup)
+
#define PUSTACK_MAX 100
Index: puLargeInput.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- puLargeInput.cxx 24 Aug 2002 23:18:37 -0000 1.36
+++ puLargeInput.cxx 1 Sep 2002 09:36:51 -0000 1.37
@@ -1,27 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
+
#include "puLocal.h"
+
+UL_RTTI_DEF1(puLargeInput,puInput)
+
// Callbacks from the internal widgets
Index: puListBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puListBox.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- puListBox.cxx 7 Jul 2002 02:01:12 -0000 1.21
+++ puListBox.cxx 1 Sep 2002 09:36:51 -0000 1.22
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -39,6 +39,9 @@
****/
#include "puLocal.h"
+
+UL_RTTI_DEF1(puListBox,puButton)
+
puListBox::puListBox ( int minx, int miny, int maxx, int maxy, char** _list ) :
puButton ( minx, miny, maxx, maxy )
Index: puMenuBar.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puMenuBar.cxx,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- puMenuBar.cxx 21 Aug 2002 18:36:15 -0000 1.16
+++ puMenuBar.cxx 1 Sep 2002 09:36:51 -0000 1.17
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puMenuBar,puInterface)
+
+
void puMenuBar_drop_down_the_menu ( puObject *b )
{
// Inputs: b = pointer to the button on the menu which has been pushed
Index: puObject.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puObject.cxx,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- puObject.cxx 3 Aug 2002 22:44:48 -0000 1.45
+++ puObject.cxx 1 Sep 2002 09:36:51 -0000 1.46
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puObject,puValue)
+
inline float clamp01 ( float x )
{
Index: puOneShot.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puOneShot.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- puOneShot.cxx 7 Nov 2001 23:51:09 -0000 1.3
+++ puOneShot.cxx 1 Sep 2002 09:36:51 -0000 1.4
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puOneShot,puButton)
+
void puOneShot::doHit ( int button, int updown, int x, int y )
{
Index: puPopup.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puPopup.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- puPopup.cxx 7 Nov 2001 23:51:09 -0000 1.3
+++ puPopup.cxx 1 Sep 2002 09:36:51 -0000 1.4
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,4 +23,6 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puPopup,puInterface)
Index: puPopupMenu.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puPopupMenu.cxx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- puPopupMenu.cxx 11 Aug 2002 17:53:49 -0000 1.14
+++ puPopupMenu.cxx 1 Sep 2002 09:36:51 -0000 1.15
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puPopupMenu,puPopup)
+
+
puObject *puPopupMenu::add_item ( const char *str, puCallback _cb )
{
int w, h ;
Index: puRange.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puRange.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- puRange.cxx 12 Jul 2002 02:57:19 -0000 1.1
+++ puRange.cxx 1 Sep 2002 09:36:51 -0000 1.2
@@ -23,8 +23,5 @@
#include "puLocal.h"
-
-
-
-
+UL_RTTI_DEF1(puRange,puObject)
Index: puScrollBar.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puScrollBar.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- puScrollBar.cxx 3 Aug 2002 22:44:48 -0000 1.1
+++ puScrollBar.cxx 1 Sep 2002 09:36:51 -0000 1.2
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puScrollBar,puSlider)
+
+
void puScrollBar::draw ( int dx, int dy )
{
extern void puDrawArrowButtonTriangle ( int pos_x, int pos_y, int size_x, int size_y,
Index: puSelectBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puSelectBox.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- puSelectBox.cxx 10 Nov 2001 22:10:11 -0000 1.6
+++ puSelectBox.cxx 1 Sep 2002 09:36:51 -0000 1.7
@@ -1,27 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
+
#include "puLocal.h"
+
+UL_RTTI_DEF1(puSelectBox,puGroup)
+
void puSelectBox::handle_arrow ( puObject *arrow )
{
Index: puSlider.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puSlider.cxx,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- puSlider.cxx 12 Jul 2002 02:57:19 -0000 1.23
+++ puSlider.cxx 1 Sep 2002 09:36:51 -0000 1.24
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puSlider,puRange)
+
+
void puSlider::draw_slider_box ( int dx, int dy, const puBox &box, float val, const char *box_label )
{
int sd, od ;
Index: puSpinBox.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puSpinBox.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- puSpinBox.cxx 3 Aug 2002 22:44:48 -0000 1.3
+++ puSpinBox.cxx 1 Sep 2002 09:36:51 -0000 1.4
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF1(puSpinBox,puRange)
+
+
void puSpinBox::draw ( int dx, int dy )
{
extern void puDrawArrowButtonTriangle ( int pos_x, int pos_y, int size_x, int size_y,
Index: puText.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puText.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- puText.cxx 7 Nov 2001 23:51:09 -0000 1.5
+++ puText.cxx 1 Sep 2002 09:36:51 -0000 1.6
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puText,puObject)
+
void puText::draw ( int dx, int dy )
{
Index: puTriSlider.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puTriSlider.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- puTriSlider.cxx 21 Aug 2002 22:05:13 -0000 1.22
+++ puTriSlider.cxx 1 Sep 2002 09:36:51 -0000 1.23
@@ -1,27 +1,31 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
*/
+
#include "puLocal.h"
+
+UL_RTTI_DEF1(puTriSlider,puBiSlider)
+
void puTriSlider::draw ( int dx, int dy )
{
Index: puValue.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puValue.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- puValue.cxx 11 Jun 2002 19:35:12 -0000 1.19
+++ puValue.cxx 1 Sep 2002 09:36:51 -0000 1.20
@@ -24,6 +24,9 @@
#include "puLocal.h"
+UL_RTTI_DEF(puValue)
+
+
inline void skip_whitespace ( const char **str )
{
while ( isspace ( **str ) != 0 )
Index: puVerticalMenu.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puVerticalMenu.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- puVerticalMenu.cxx 12 Jul 2002 03:23:33 -0000 1.7
+++ puVerticalMenu.cxx 1 Sep 2002 09:36:51 -0000 1.8
@@ -1,21 +1,21 @@
/*
PLIB - A Suite of Portable Game Libraries
Copyright (C) 2001 Steve Baker
-
+
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
-
+
For further information visit http://plib.sourceforge.net
$Id$
@@ -23,6 +23,9 @@
#include "puLocal.h"
+
+UL_RTTI_DEF1(puVerticalMenu,puGroup)
+
extern void puMenuBar_drop_down_the_menu ( puObject *b );
|