Add(MainForm,1,77,84) { BorderStyle=0 WindowsState=2 Point(Handle) Point(doWidth) Point(doHeight) Point(onKeyDown) Point(MouseX) Point(MouseY) link(onCreate,8:doEvent1,[]) link(onKeyDown,18:doCase,[]) } Add(GL_Perspective,2,259,168) { Fovy=35 zFar=100 link(Aspect,9:Var1,[(265,156)(34,156)]) } Add(GL_Main,3,210,105) { Color=15780518 TexFilter=1 link(onInit,4:doInit,[]) link(onViewPort,2:doPerspective,[(251,118)(251,174)]) link(Handle,1:Handle,[(216,90)(170,90)(170,139)(83,139)]) } Add(Timer,5,126,168) { Interval=33 Enable=1 link(onTimer,7:doEvent1,[]) } Add(GL_GTools,6,210,168) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(GL_Rotate,20,126,252) { Y=1 link(onRotate,9758844:doCallList,[]) link(Angle,1:MouseY,[(132,243)(97,243)]) } Add(Hub,7,168,168) { OutCount=5 link(onEvent1,6:doClear,[]) link(onEvent2,6:doPushMatrix,[]) link(onEvent3,19:doRotate,[(190,188)(190,238)(79,238)(79,258)]) link(onEvent4,6:doPopMatrix,[(205,195)(205,188)]) link(onEvent5,3:doFlip,[(201,202)(201,125)]) } Add(Hub,8,175,98) { OutCount=4 link(onEvent1,9:doWork1,[(203,104)(203,70)(22,70)(22,118)]) link(onEvent2,3:doInit,[]) link(onEvent3,3:doViewPort,[]) link(onEvent4,5:doTimer,[(193,125)(193,160)(114,160)(114,174)]) } Add(MultiElement,9,28,112) { @Hint=#21:?acia? oi?iu e aniaeo| link(onEvent1,1:doWidth,[]) link(onEvent2,1:doHeight,[]) } BEGIN_SDK Add(EditMulti,10,10,10) { EventCount=2 WorkCount=1 VarCount=1 Width=230 Height=179 link(doWork1,11:doEvent1,[(30,16)(30,90)]) link(Var1,12:Result,[(16,156)(125,156)]) } Add(Hub,11,42,84) { link(onEvent1,13:doData,[]) link(onEvent2,12:doOperation,[]) } Add(Math,12,119,91) { OpType=3 link(onResult,14:doData,[]) link(Op1,16:Var2,[]) link(Op2,15:Var2,[]) } Add(DoData,13,77,84) { link(onEventData,10:onEvent1,[(162,90)(162,16)]) link(Data,16:Var1,[(83,68)]) } Add(DoData,14,168,91) { link(onEventData,10:onEvent2,[(220,97)(220,23)]) link(Data,15:Var3,[(174,75)]) } Add(GetDataEx,15,126,70) { link(Data,17:Height,[]) } Add(GetDataEx,16,119,63) { link(Data,17:Width,[]) } Add(Screen,17,119,21) { } END_SDK Add(Case,18,119,105) { Value=Integer(27) link(onTrue,1:doClose,[(158,118)(158,79)(65,79)(65,111)]) } Add(GL_Rotate,19,84,252) { X=1 link(onRotate,20:doRotate,[]) link(Angle,1:MouseX,[]) } Add(GL_GluTools,4,259,105) { Texture=0 link(onInit,26:doEnabled,[]) } Add(GL_Options,26,301,105) { link(onEvent,27:doEnabled,[]) } Add(GL_Options,27,343,105) { Flag=1 link(onEvent,28:doEnabled,[]) } Add(GL_Options,28,385,105) { Flag=2 link(onEvent,33:doEnabled,[]) } Add(GL_Point3D,30,476,63) { X=1 Y=1 } Add(GL_Light,29,476,105) { Index=1 Ambient=16777215 link(onEnabled,29:doMove,[(514,111)(514,144)(471,144)(471,118)]) link(onMove,15130432:doCreate,[]) link(Point,30:Point3D,[]) } Add(Bitmap,32,532,63) { } Add(GL_Options,33,427,105) { Flag=10 link(onEvent,29:doEnabled,[]) } Add(GL_Sphere,36,231,252) { Radius=0.25 } Add(GL_Texture,15130432,532,112) { UseList=0 Index=1 link(Bitmap,32:Bitmap,[]) } Add(GL_CallList,9758844,182,252) { Index=1 link(onCallList,36:doDraw,[]) }