00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include "ObjectStructure.h"
00016 #include "HandleManagement.h"
00017
00018
00019 #ifndef __SCI_BUILD__
00020 #define __SCI_BUILD__
00021
00022 extern sciPointObj *ConstructStatusBar (sciPointObj * pparentfigure);
00023
00024 #define SciWin() { if( C2F(sciwin)() != 0 ) { Scierror(999,"%s :Requested figure cannot be created \r\n",fname) ; return 0 ; } }
00025 int C2F(sciwin)( void ) ;
00026
00027 sciPointObj * ConstructFigure ( sciPointObj * pparent, struct BCG *XGC ) ;
00028 extern sciPointObj *ConstructSubWin (sciPointObj * pparentfigure,
00029 int pwinnum);
00030 extern sciPointObj *ConstructScrollV (sciPointObj * pparentfigure);
00031 extern sciPointObj *ConstructScrollH (sciPointObj * pparentfigure);
00032
00033 extern sciPointObj * allocateText( sciPointObj * pparentsubwin,
00034 char ** text ,
00035 int nbRow ,
00036 int nbCol ,
00037 double x ,
00038 double y ,
00039 BOOL autoSize ,
00040 double userSize[2] ,
00041 BOOL centerPos ,
00042 int * foreground ,
00043 int * background ,
00044 BOOL isboxed ,
00045 BOOL isline ,
00046 BOOL isfilled ,
00047 sciTextAlignment align ) ;
00048
00049 extern sciPointObj * ConstructText (sciPointObj * pparentsubwin, char ** text, int nbRow, int nbCol, double x,
00050 double y, BOOL autoSize, double userSize[2], BOOL centerPos, int *foreground, int *background,
00051 BOOL isboxed, BOOL isline, BOOL isfilled, sciTextAlignment align ) ;
00052
00053 extern sciPointObj *ConstructTitle (sciPointObj * pparentfigure, char text[],
00054 int type);
00055
00056 extern sciPointObj *ConstructLegend (sciPointObj * pparentfigure, char text[],
00057 int n, int nblegends, int *pstyle, sciPointObj **pptabofpointobj);
00058
00059 extern sciPointObj *ConstructPolyline (sciPointObj * pparentsubwin, double *pvecx, double *pvecy, double *pvecz,
00060 int closed, int n1, int n2,int plot, int *foreground, int *background,
00061 int *mark_style, int *mark_foreground, int *mark_background,
00062 BOOL isline, BOOL isfilled, BOOL ismark, BOOL isinterpshaded);
00063 extern sciPointObj *ConstructArc (sciPointObj * pparentsubwin, double x, double y,
00064 double height, double width, double alphabegin, double alphaend,
00065 int *foreground, int *background, BOOL isfilled, BOOL isline);
00066
00067 extern sciPointObj *ConstructRectangle (sciPointObj * pparentsubwin, double x, double y,
00068 double height, double width, double horzcurvature,
00069 double vertcurvature, int *foreground, int *background,
00070 int isfilled, int isline, int str, BOOL flagstring);
00071
00072 extern sciPointObj *ConstructSurface (sciPointObj * pparentsubwin, sciTypeOf3D typeof3d,
00073 double * pvecx, double * pvecy, double * pvecz,
00074 double *zcol, integer izcol, integer dimzx, integer dimzy,
00075 integer *flag, double *ebox, integer flagcolor, integer *isfac,
00076 integer *m1, integer *n1, integer *m2, integer *n2,
00077 integer *m3, integer *n3, integer *m3n, integer *n3n);
00078
00079
00080 extern sciPointObj *ConstructMerge (sciPointObj * pparentsubwin,int N,int *index_in_entity,long *from_entity);
00081
00082 extern sciPointObj *ConstructGrayplot (sciPointObj * pparentfigure,double *vx,double *vy,
00083 double *vz,int nx,int ny, int type);
00084
00085 extern sciPointObj *ConstructAxes (sciPointObj * pparentsubwin, char dir, char tics, double *vx,
00086 int nx, double *vy, int ny, char *str[], int subint, char *format,
00087 int fontsize, int textcolor, int ticscolor, char logscale, int seg, int nb_tics_labels);
00088
00089 extern sciPointObj *ConstructFec (sciPointObj * pparentsubwin, double *pvecx, double *pvecy, double *pnoeud,
00090 double *pfun, int Nnode, int Ntr, double *zminmax,
00091 integer *colminmax, integer *colout, BOOL with_mesh);
00092
00093 extern sciPointObj *ConstructSegs (sciPointObj * pparentsubwin, integer type,double *vx, double *vy, integer Nbr1,
00094 integer Nbr2, double *vfx, double *vfy, integer flag,
00095 integer *style, double arsize1, integer colored, double arfact, int typeofchamp);
00096
00097 extern sciPointObj *ConstructCompound (long *tabpointobj, int number);
00098 extern sciPointObj *ConstructCompoundSeq (int number);
00099
00100 extern sciPointObj * ConstructLabel (sciPointObj * pparentsubwin, char *text, int type);
00101
00102
00103
00104
00105 extern sciPointObj *ConstructMenu (sciPointObj * pparentfigure,
00106 char plabel[], int n);
00107
00108 extern sciPointObj *ConstructMenuContext (sciPointObj * pparentfigure);
00109
00110 extern int sciAddLabelMenu (sciPointObj * pthis, char plabel[], int n);
00111 extern int sciAttachPopMenu (sciPointObj *pthis, sciPointObj *pPopMenu);
00112
00113 sciPointObj * ConstructUimenu (sciPointObj * pparent, char *label,char *callback,BOOL handle_visible) ;
00114
00115 sciPointObj * sciConstructConsole( sciPointObj * pparent ) ;
00116 sciPointObj * sciConstructFrame( sciPointObj * pparent ) ;
00117 sciPointObj * sciConstructWindow( sciPointObj * pparent ) ;
00118 sciPointObj * sciConstructWindowFrame( sciPointObj * pparent ) ;
00119 sciPointObj * sciConstructScreen( sciPointObj * pparent ) ;
00120
00121 sciPointObj * sciStandrardBuildOperations( sciPointObj * pObj, sciPointObj * parent ) ;
00122
00123 #endif