/* MesaWorkstationP.h -- Private header file for the Mesa Workstation widget
   Copyright (C) 1995 Thorsten.Ohl @ Physik.TH-Darmstadt.de

   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., 675 Mass Ave, Cambridge, MA 02139, USA.

   $Id: MesaWorkstationP.h,v 1.1 1999/02/25 01:53:22 brianp Exp $
 */

#ifndef _MesaWorkstationP_h
#define _MesaWorkstationP_h

#include <GL/MesaDrawingAreaP.h>
#include <GL/MesaWorkstation.h>

typedef enum { NOPROJ, PROJ_MATRIX, PROJ_LIST, FRUSTUM, ORTHO } projtype;

typedef	struct
{
  GLdouble left, right;
  GLdouble bottom, top;
  GLdouble near, far;
}
volume;
  
typedef struct
{
  projtype type;
  GLuint list;
  union
    {
      GLdouble m[16];
      volume vol;
    }
  u;
}
projection;

typedef enum { NOVIEW, VIEW_MATRIX, VIEW_LIST, LOOK_AT, POLAR } viewtype;

typedef	struct
{
  GLdouble eyex, eyey, eyez;
  GLdouble ctrx, ctry, ctrz;
  GLdouble upx, upy, upz;
}
look_at;
  
typedef	struct
{
  GLdouble r;
  GLdouble theta;
  GLdouble phi;
}
polar;

typedef struct
{
  viewtype type;
  GLuint list;
  union
    {
      GLdouble m[16];
      look_at look_at;
      polar polar;
    }
  u;
}
view;

typedef struct
  {
    char *RCS_Id;
  }
MesaWorkstationClassPart;

#ifdef __GLX_MOTIF
typedef struct _MesaMWorkstationClassRec
  {
    CoreClassPart core_class;
    XmPrimitiveClassPart primitive_class;
    GLwDrawingAreaClassPart glwDrawingArea_class;
    MesaDrawingAreaClassPart30 border=2>
<TR><TD>This is a test with a &plusmn; b and a plus-minus sign in 
between surrounded by spaces.
</TD></TR>
</TABLE>
<HR>
<TABLE width=150 border=2>
<TR><TD>This is a test with a&plusmn;b and a plus-minus sign in 
between without any spaces.
</TD></TR>
</TABLE>
<HR>
<TABLE width=140 border=2>
<TR><TD>This is a test with a&plusmn;b and a plus-minus sign in 
between without any spaces.
</TD></TR>
</TABLE>
<HR>
<TABLE width=130 border=2>
<TR><TD>This is a test with a&plusmn;b and a plus-minus sign in 
between without any spaces.
</TD></TR>
</TABLE>
<HR>
<H2>Tests with ';' added to the entities.</H2>
<P>
<P>
This is normal text. Now follow three ampersands &amp;&amp;&amp; surrounded by spaces.<BR>
This is normal text. Now follow three ampersands&amp;&amp;&amp;not surrounded by spaces.<BR>
This is normal text. Now follow three A-umlauts &Auml;&Auml;&Auml; surrounded by spaces.<BR>
This is normal text. Now follow three A-umlauts&Auml;&Auml;&Auml;not surrounded by spaces.<BR>
<HR>
<PRE>This is preformatted text. 
Now follow three ampersands &amp;&amp;&amp; surrounded by spaces.</PRE>
<HR>
<PRE>This is preformatted text. 
Now follow three ampersands&amp;&amp;&amp;not surrounded by spaces.</PRE>
<HR>
<PRE>This is preformatted text. 
Now follow three A-umlauts &Auml;&Auml;&Auml; surrounded by spaces.</PRE>
<HR>
<PRE>This is preformatted text. 
Now follow three A-umlauts&Auml;&Auml;&Auml;not surrounded by spaces.</PRE>
<HR>
<H2>Tests without ';' added to the entities.</H2>
<P>
<P>
This is normal text. Now follow three ampersands &amp&amp&amp surrounded by spaces.<BR>
This is normal text. Now follow three ampersands&amp&amp&ampnot surrounded by spaces.<BR>
This is normal text. Now follow three A-umlauts &Auml&Auml&Auml surrounded by spaces.<BR>
This is normal text. Now follow three A-umlauts&Auml&Auml&Aumlnot surrounded by spaces.<BR>
<HR>
<PRE>This is preformatted text. 
Now follow three ampersands &amp&amp&amp surrounded by spaces.</PRE>
<HR>
<PRE>This is preformatted text. 
Now follow three ampersands&amp&amp&ampnot surrounded by spaces.</PRE>
<HR>
<PRE>This is preformatted text. 
Now follow three A-umlauts &Auml&Auml&Auml surrounded by spaces.</PRE>
<HR>
<PRE>This is preformatted text. 
Now follow three A-umlauts&Auml&Auml&Aumlnot surrounded by spaces.</PRE>
<HR>
<H2>Tests with entities, spaces and tabs inside &lt;PRE&gt;</H2>
<HR>
<PRE>
            3   7   1   5   9   3   7   1   5
1   5   9   1   1   2   2   2   3   3   3   3
	T	T	T	T	T
<B>Bold</B>	TAB	&lt;B&gt;Bold&lt;/B&gt;
&amp;amp	TAB	&amp;amp;amp
&#38;#38	TAB	&amp;#38;#38
&Auml;(Auml)	TAB	&amp;Auml;(Auml)
&#196;(#196)	TAB	&amp;#196;(#196)
&foo	TAB	&amp;foo
&foo;	TAB	&amp;foo;
&f	TAB	&amp;f
&f;	TAB	&amp;f;
&	TAB	&amp;
&;	TAB	&amp;;
</PRE>
</body>
</html>
@


1.2.4.1
log
@removing HEAD libs from KDE 1.1 as suggested by David
@
text
@@


1.1
log
@WABA: New khtml lib.
@
text
@d137 4
@
