//----------------------------------------------------//
// Wide Studio Application C++ Source File            //
//            created by Wide Studio source generator //
//----------------------------------------------------//
#include <WScom.h>
#include <WSDappDev.h>

//--- OBJECT includes ---//
#include <WSCmainWindow.h>
#include <WSCvtimer.h>
#include <WSCverbList.h>
#include <WSCvudpsocket.h>
#include <WSCmenuArea.h>
#include <WSCpulldownMenu.h>
#include <WSCdialog.h>
#include <WSCvlabel.h>
#include <WSCvifield.h>

//--- OBJECT instance variable ---//
WSCmainWindow* newwin000;
WSCvtimer* newvtim_004;
WSCverbList* newverb_000;
WSCvudpsocket* newvudp_000;
WSCmenuArea* newmenu_000;
WSCpulldownMenu* newpull_001;
WSCdialog* newdial_002;
WSCvlabel* newvlab_005;
WSCvlabel* newvlab_007;
WSCvifield* newvifi_011;
WSCvifield* newvifi_012;

//--- OBJECT src ---//

WSCbase* _create_win_newwin000(){


  newwin000 = new  WSCmainWindow(NULL,"newwin000");
      newwin000->initialize();
  newwin000->setPropertyV(WSNname,"newwin000");
  newwin000->setPropertyV(WSNtitleString,"wsagent");
  newwin000->setPropertyV(WSNx,(short)100);
  newwin000->setPropertyV(WSNy,(short)100);
  newwin000->setPropertyV(WSNwidth,(unsigned short)400);
  newwin000->setPropertyV(WSNheight,(unsigned short)400);
  newwin000->setPropertyV(WSNvis,(WSCbool)1);
    WSCprocedure* op_newwin000_5 = new WSCprocedure("new_ep",0);
    extern void initop(WSCbase*);
    op_newwin000_5->setFunction(initop,"initop");
    newwin000->addProcedure(op_newwin000_5);

  newvtim_004 = new  WSCvtimer(newwin000,"newvtim_004");
      newvtim_004->initialize();
  newvtim_004->setPropertyV(WSNinterval,(unsigned long)1000);
  newvtim_004->setPropertyV(WSNrunning,(WSCbool)1);
  newvtim_004->setPropertyV(WSNname,"newvtim_004");
  newvtim_004->setPropertyV(WSNvis,(WSCbool)1);
  newvtim_004->setPropertyV(WSNx,(short)6);
  newvtim_004->setPropertyV(WSNy,(short)364);
    WSCprocedure* op_newvtim_004_5 = new WSCprocedure("new_ep",2);
    extern void timerop(WSCbase*);
    op_newvtim_004_5->setFunction(timerop,"timerop");
    newvtim_004->addProcedure(op_newvtim_004_5);

  newverb_000 = new  WSCverbList(newwin000,"newverb_000");
      newverb_000->initialize();
  newverb_000->setPropertyV(WSNtitleString,"IP,port,name");
  newverb_000->setPropertyV(WSNbarValue,"150,250");
  newverb_000->setPropertyV(WSNname,"newverb_000");
  newverb_000->setPropertyV(WSNx,(short)5);
  newverb_000->setPropertyV(WSNy,(short)30);
  newverb_000->setPropertyV(WSNwidth,(unsigned short)390);
  newverb_000->setPropertyV(WSNheight,(unsigned short)350);
  newverb_000->setPropertyV(WSNvis,(WSCbool)1);
  newverb_000->setPropertyV(WSNanchorTop,(unsigned short)30);
  newverb_000->setPropertyV(WSNanchorBottom,(unsigned short)20);
  newverb_000->setPropertyV(WSNanchorLeft,(unsigned short)5);
  newverb_000->setPropertyV(WSNanchorRight,(unsigned short)5);
  newverb_000->setPropertyV(WSNanchorTopFlag,(WSCbool)1);
  newverb_000->setPropertyV(WSNanchorBottomFlag,(WSCbool)1);
  newverb_000->setPropertyV(WSNanchorLeftFlag,(WSCbool)1);
  newverb_000->setPropertyV(WSNanchorRightFlag,(WSCbool)1);

  newvudp_000 = new  WSCvudpsocket(newwin000,"newvudp_000");
      newvudp_000->initialize();
  newvudp_000->setPropertyV(WSNport,(unsigned short)9006);
  newvudp_000->setPropertyV(WSNname,"newvudp_000");
  newvudp_000->setPropertyV(WSNvis,(WSCbool)1);
  newvudp_000->setPropertyV(WSNx,(short)111);
  newvudp_000->setPropertyV(WSNy,(short)364);
    WSCprocedure* op_newvudp_000_5 = new WSCprocedure("new_ep",2);
    extern void udp_read(WSCbase*);
    op_newvudp_000_5->setFunction(udp_read,"udp_read");
    newvudp_000->addProcedure(op_newvudp_000_5);

  newmenu_000 = new  WSCmenuArea(newwin000,"newmenu_000");
      newmenu_000->initialize();
  newmenu_000->setPropertyV(WSNname,"newmenu_000");
  newmenu_000->setPropertyV(WSNx,(short)0);
  newmenu_000->setPropertyV(WSNy,(short)0);
  newmenu_000->setPropertyV(WSNwidth,(unsigned short)400);
  newmenu_000->setPropertyV(WSNheight,(unsigned short)25);
  newmenu_000->setPropertyV(WSNbackColor,"DEF1");
  newmenu_000->setPropertyV(WSNvis,(WSCbool)1);

  newpull_001 = new  WSCpulldownMenu(newmenu_000,"newpull_001");
      newpull_001->initialize();
  newpull_001->setPropertyV(WSNmenuItems,"Settings(N):setop:N:1,SP,Exit(X):exitop:X:2");
  newpull_001->setPropertyV(WSNbackColor,"DEF1");
  newpull_001->setPropertyV(WSNlabelString,"File(F)");
  newpull_001->setPropertyV(WSNname,"newpull_001");
  newpull_001->setPropertyV(WSNvis,(WSCbool)1);
  newpull_001->setPropertyV(WSNheight,(unsigned short)23);
    WSCprocedure* op_newpull_001_5 = new WSCprocedure("setop",-1);
    extern void setop(WSCbase*);
    op_newpull_001_5->setFunction(setop,"setop");
    newpull_001->addProcedure(op_newpull_001_5);
    WSCprocedure* op_newpull_001_6 = new WSCprocedure("exitop",-1);
    extern void exitop(WSCbase*);
    op_newpull_001_6->setFunction(exitop,"exitop");
    newpull_001->addProcedure(op_newpull_001_6);

  newdial_002 = new  WSCdialog(newmenu_000,"newdial_002");
      newdial_002->initialize();
  newdial_002->setPropertyV(WSNno,(WSCbool)0);
  newdial_002->setPropertyV(WSNdefaultPosition,(WSCbool)1);
  newdial_002->setPropertyV(WSNname,"newdial_002");
  newdial_002->setPropertyV(WSNtitleString,"title1");
  newdial_002->setPropertyV(WSNx,(short)315);
  newdial_002->setPropertyV(WSNy,(short)9);
  newdial_002->setPropertyV(WSNwidth,(unsigned short)412);
  newdial_002->setPropertyV(WSNheight,(unsigned short)130);
    WSCprocedure* op_newdial_002_5 = new WSCprocedure("new_ep",2);
    extern void okop(WSCbase*);
    op_newdial_002_5->setFunction(okop,"okop");
    newdial_002->addProcedure(op_newdial_002_5);

  newvlab_005 = new  WSCvlabel(newdial_002,"newvlab_005");
      newvlab_005->initialize();
  newvlab_005->setPropertyV(WSNlabelString,"IP Addr");
  newvlab_005->setPropertyV(WSNname,"newvlab_005");
  newvlab_005->setPropertyV(WSNvis,(WSCbool)1);
  newvlab_005->setPropertyV(WSNx,(short)10);
  newvlab_005->setPropertyV(WSNy,(short)10);
  newvlab_005->setPropertyV(WSNwidth,(unsigned short)150);
  newvlab_005->setPropertyV(WSNheight,(unsigned short)25);

  newvlab_007 = new  WSCvlabel(newdial_002,"newvlab_007");
      newvlab_007->initialize();
  newvlab_007->setPropertyV(WSNlabelString,"Broadcast IP Addr");
  newvlab_007->setPropertyV(WSNname,"newvlab_007");
  newvlab_007->setPropertyV(WSNvis,(WSCbool)1);
  newvlab_007->setPropertyV(WSNx,(short)10);
  newvlab_007->setPropertyV(WSNy,(short)40);
  newvlab_007->setPropertyV(WSNwidth,(unsigned short)150);
  newvlab_007->setPropertyV(WSNheight,(unsigned short)25);

  newvifi_011 = new  WSCvifield(newdial_002,"newvifi_011");
      newvifi_011->initialize();
  newvifi_011->setPropertyV(WSNshadowType,(char)1);
  newvifi_011->setPropertyV(WSNshadowThickness,(unsigned char)1);
  newvifi_011->setPropertyV(WSNname,"newvifi_011");
  newvifi_011->setPropertyV(WSNvis,(WSCbool)1);
  newvifi_011->setPropertyV(WSNx,(short)170);
  newvifi_011->setPropertyV(WSNy,(short)10);
  newvifi_011->setPropertyV(WSNwidth,(unsigned short)150);
  newvifi_011->setPropertyV(WSNheight,(unsigned short)25);

  newvifi_012 = new  WSCvifield(newdial_002,"newvifi_012");
      newvifi_012->initialize();
  newvifi_012->setPropertyV(WSNshadowType,(char)1);
  newvifi_012->setPropertyV(WSNshadowThickness,(unsigned char)1);
  newvifi_012->setPropertyV(WSNname,"newvifi_012");
  newvifi_012->setPropertyV(WSNvis,(WSCbool)1);
  newvifi_012->setPropertyV(WSNx,(short)170);
  newvifi_012->setPropertyV(WSNy,(short)40);
  newvifi_012->setPropertyV(WSNwidth,(unsigned short)150);
  newvifi_012->setPropertyV(WSNheight,(unsigned short)25);

   newwin000->setVisible(True);
   return newwin000;
}

//--- end of src ---//
