{"commit":"00302da6fa0936304ca7a65d965b4d5e5222f550","subject":"Deleted unnecessiary file","message":"Deleted unnecessiary file\n","repos":"ninjabyte\/ClawVM","old_file":"test.clw","new_file":"test.clw","new_contents":"","old_contents":"","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Clarion"} {"commit":"8a8130b58c91da3db3d599e1c5437d3b175e7e28","subject":"no message","message":"no message\n\n\ngit-svn-id: 41bd7e47c31e4d43f97241d7529f6785d233c6d8@1115 23f926e6-80f1-49ca-85a0-60d4a27bb3ac\n","repos":"dluschan\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,bogachev-pa\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,AlexChernov\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,dluschan\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,bogachev-pa\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,AlexChernov\/rdo_studio,AlexChernov\/rdo_studio","old_file":"trunk\/rdo_process.clw","new_file":"trunk\/rdo_process.clw","new_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=RPShapeTerminateDlg1_MJ\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"rdo_process.h\"\nLastPage=0\n\nClassCount=18\nClass1=RPDockWnd\nClass2=RPPageCtrl\nClass3=RPPageCtrlItemLabel\nClass4=RPPageCtrlItem\nClass5=RPProjectBar\nClass6=CSizingControlBarG\nClass7=CSizingControlBar\nClass8=CSCBMiniDockFrameWnd\nClass9=RPApp\nClass10=RPAboutDlg\nClass11=RPChildFrame\nClass12=RPFlowChart\nClass13=RPMainFrame\n\nResourceCount=9\nResource1=IDD_ABOUT\nResource2=IDR_RDO_PRTYPE (English (U.S.))\nResource3=IDD_ABOUTBOX (English (U.S.))\nResource4=IDD_DIALOG_CREATE_2_MJ\nClass14=RPShapeCreateDlg1_MJ\nResource5=IDD_DIALOG_CREATE_1_MJ\nClass15=RPShapeCreateDlg2_MJ\nResource6=IDD_DIALOG_TERMINATE_1_MJ\nClass16=RPShapeProcessDlg1_MJ\nResource7=IDD_DIALOG_PROCESS_2_MJ\nClass17=RPShapeProcessDlg2_MJ\nResource8=IDD_DIALOG_PROCESS_1_MJ\nClass18=RPShapeTerminateDlg1_MJ\nResource9=IDR_MAINFRAME (English (U.S.))\n\n[CLS:RPDockWnd]\nType=0\nBaseClass=CSizingControlBarG\nHeaderFile=ctrl\\rdoprocess_dockwnd.h\nImplementationFile=ctrl\\rdoprocess_dockwnd.cpp\n\n[CLS:RPPageCtrl]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItemLabel]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItem]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\nFilter=W\nVirtualFilter=WC\nLastObject=ID_APP_ABOUT\n\n[CLS:RPProjectBar]\nType=0\nBaseClass=RPDockWnd\nHeaderFile=ctrl\\rdoprocess_projectbar.h\nImplementationFile=ctrl\\rdoprocess_projectbar.cpp\n\n[CLS:CSizingControlBarG]\nType=0\nBaseClass=baseCSizingControlBarG\nHeaderFile=ctrl\\sizecbar\\scbarg.h\nImplementationFile=ctrl\\sizecbar\\scbarg.cpp\n\n[CLS:CSizingControlBar]\nType=0\nBaseClass=baseCSizingControlBar\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:CSCBMiniDockFrameWnd]\nType=0\nBaseClass=baseCSCBMiniDockFrameWnd\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\nFilter=N\nLastObject=CSCBMiniDockFrameWnd\n\n[CLS:RPApp]\nType=0\nBaseClass=CWinApp\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPChildFrame]\nType=0\nBaseClass=CMDIChildWnd\nHeaderFile=rdoprocess_childfrm.h\nImplementationFile=rdoprocess_childfrm.cpp\nFilter=M\nLastObject=ID_APP_ABOUT\n\n[CLS:RPFlowChart]\nType=0\nBaseClass=CWnd \nHeaderFile=rdoprocess_flowchart.h\nImplementationFile=rdoprocess_flowchart.cpp\nFilter=W\nVirtualFilter=WC\nLastObject=RPFlowChart\n\n[CLS:RPMainFrame]\nType=0\nBaseClass=CMDIFrameWnd\nHeaderFile=rdoprocess_mainfrm.h\nImplementationFile=rdoprocess_mainfrm.cpp\n\n[TB:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_EDIT_CUT\nCommand3=ID_EDIT_COPY\nCommand4=ID_EDIT_PASTE\nCommand5=ID_FLOW_SELECT\nCommand6=ID_FLOW_CONNECTOR\nCommand7=ID_FLOW_ROTATE\nCommandCount=7\n\n[MNU:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_APP_EXIT\nCommand3=ID_VIEW_TOOLBAR\nCommand4=ID_VIEW_STATUS_BAR\nCommand5=ID_APP_ABOUT\nCommandCount=5\n\n[MNU:IDR_RDO_PRTYPE (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_CLOSE\nCommand3=ID_APP_EXIT\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_EDIT_COPY\nCommand7=ID_EDIT_PASTE\nCommand8=ID_VIEW_TOOLBAR\nCommand9=ID_VIEW_STATUS_BAR\nCommand10=ID_WINDOW_CASCADE\nCommand11=ID_WINDOW_TILE_HORZ\nCommand12=ID_WINDOW_ARRANGE\nCommand13=ID_APP_ABOUT\nCommandCount=13\n\n[ACL:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_EDIT_COPY\nCommand2=ID_FILE_NEW\nCommand3=ID_EDIT_PASTE\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_NEXT_PANE\nCommand7=ID_PREV_PANE\nCommand8=ID_EDIT_COPY\nCommand9=ID_EDIT_PASTE\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_UNDO\nCommandCount=11\n\n[DLG:IDD_ABOUTBOX (English (U.S.))]\nType=1\nClass=?\nControlCount=4\nControl1=IDC_STATIC,static,1342177283\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n[DLG:IDD_ABOUT]\nType=1\nClass=?\nControlCount=9\nControl1=IDOK,button,1342242817\nControl2=IDC_ABOUT_PICTURE,static,1342177283\nControl3=IDC_ABOUT_CAPTION,static,1342308353\nControl4=IDC_ABOUT_ADDRESS,static,1342308353\nControl5=IDC_ABOUT_TEL,static,1342308354\nControl6=IDC_ABOUR_EMAIL_STATIC,static,1342308354\nControl7=IDC_ABOUT_EMAIL,static,1342308608\nControl8=IDC_ABOUR_WEB_STATIC,static,1342308354\nControl9=IDC_ABOUT_WEB,static,1342308608\n\n[DLG:IDD_DIALOG_CREATE_1_MJ]\nType=1\nClass=RPShapeCreateDlg1_MJ\nControlCount=22\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_EDIT1,edit,1350631552\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_EDIT3,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,button,1342177287\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_COMBO1,combobox,1344340227\nControl12=IDC_EDIT4,edit,1350631552\nControl13=IDC_EDIT5,edit,1484849280\nControl14=IDC_EDIT6,edit,1476460672\nControl15=IDC_EDIT7,edit,1476460672\nControl16=IDC_EDIT8,edit,1350631552\nControl17=IDC_STATIC,static,1342308352\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_STATIC,static,1342308352\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_STATIC,static,1342308352\nControl22=IDC_BUTTON1,button,1342242816\n\n[CLS:RPShapeCreateDlg1_MJ]\nType=0\nHeaderFile=rdoprocess_shape_create_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_APP_ABOUT\n\n[DLG:IDD_DIALOG_CREATE_2_MJ]\nType=1\nClass=RPShapeCreateDlg2_MJ\nControlCount=13\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT3,edit,1350631552\nControl10=IDC_EDIT4,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT5,edit,1350631552\nControl13=IDC_STATIC,button,1342177287\n\n[CLS:RPShapeCreateDlg2_MJ]\nType=0\nHeaderFile=rdoprocess_shape_create_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\n\n[DLG:IDD_DIALOG_PROCESS_1_MJ]\nType=1\nClass=RPShapeProcessDlg1_MJ\nControlCount=30\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,button,1342177287\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_COMBO1,combobox,1344340227\nControl6=IDC_EDIT4,edit,1350631552\nControl7=IDC_EDIT5,edit,1484849280\nControl8=IDC_EDIT6,edit,1476460672\nControl9=IDC_EDIT7,edit,1476460672\nControl10=IDC_EDIT8,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_STATIC,static,1342308352\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_STATIC,static,1342308352\nControl17=IDC_EDIT1,edit,1350631552\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_COMBO2,combobox,1344340227\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_EDIT2,edit,1350631552\nControl22=IDC_STATIC,button,1342177287\nControl23=IDC_BUTTON1,button,1342242816\nControl24=IDC_BUTTON2,button,1342242816\nControl25=IDC_LIST1,listbox,1352728835\nControl26=IDC_STATIC,static,1342308352\nControl27=IDC_COMBO3,combobox,1344340227\nControl28=IDC_STATIC,button,1342177287\nControl29=IDC_STATIC,static,1342308352\nControl30=IDC_COMBO4,combobox,1344340227\n\n[CLS:RPShapeProcessDlg1_MJ]\nType=0\nHeaderFile=rdoprocess_shape_process_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=ID_APP_ABOUT\nVirtualFilter=dWC\n\n[DLG:IDD_DIALOG_PROCESS_2_MJ]\nType=1\nClass=RPShapeProcessDlg2_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_COMBO1,combobox,1344340226\n\n[CLS:RPShapeProcessDlg2_MJ]\nType=0\nHeaderFile=rdoprocess_shape_process_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=ID_APP_ABOUT\n\n[DLG:IDD_DIALOG_TERMINATE_1_MJ]\nType=1\nClass=RPShapeTerminateDlg1_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\n\n[CLS:RPShapeTerminateDlg1_MJ]\nType=0\nHeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\n\n","old_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=RPShapeTerminateDlg1_MJ\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"rdo_process.h\"\nLastPage=0\n\nClassCount=18\nClass1=RPDockWnd\nClass2=RPPageCtrl\nClass3=RPPageCtrlItemLabel\nClass4=RPPageCtrlItem\nClass5=RPProjectBar\nClass6=CSizingControlBarG\nClass7=CSizingControlBar\nClass8=CSCBMiniDockFrameWnd\nClass9=RPApp\nClass10=RPAboutDlg\nClass11=RPChildFrame\nClass12=RPFlowChart\nClass13=RPMainFrame\n\nResourceCount=9\nResource1=IDD_DIALOG_TERMINATE_1_MJ\nResource2=IDR_RDO_PRTYPE (English (U.S.))\nResource3=IDD_ABOUTBOX (English (U.S.))\nResource4=IDD_ABOUT\nClass14=RPShapeCreateDlg1_MJ\nResource5=IDD_DIALOG_CREATE_1_MJ\nClass15=RPShapeCreateDlg2_MJ\nResource6=IDD_DIALOG_PROCESS_2_MJ\nClass16=RPShapeProcessDlg1_MJ\nResource7=IDD_DIALOG_CREATE_2_MJ\nClass17=RPShapeProcessDlg2_MJ\nResource8=IDD_DIALOG_PROCESS_1_MJ\nClass18=RPShapeTerminateDlg1_MJ\nResource9=IDR_MAINFRAME (English (U.S.))\n\n[CLS:RPDockWnd]\nType=0\nBaseClass=CSizingControlBarG\nHeaderFile=ctrl\\rdoprocess_dockwnd.h\nImplementationFile=ctrl\\rdoprocess_dockwnd.cpp\n\n[CLS:RPPageCtrl]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItemLabel]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItem]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\nFilter=W\nVirtualFilter=WC\nLastObject=ID_APP_ABOUT\n\n[CLS:RPProjectBar]\nType=0\nBaseClass=RPDockWnd\nHeaderFile=ctrl\\rdoprocess_projectbar.h\nImplementationFile=ctrl\\rdoprocess_projectbar.cpp\n\n[CLS:CSizingControlBarG]\nType=0\nBaseClass=baseCSizingControlBarG\nHeaderFile=ctrl\\sizecbar\\scbarg.h\nImplementationFile=ctrl\\sizecbar\\scbarg.cpp\n\n[CLS:CSizingControlBar]\nType=0\nBaseClass=baseCSizingControlBar\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:CSCBMiniDockFrameWnd]\nType=0\nBaseClass=baseCSCBMiniDockFrameWnd\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\nFilter=N\nLastObject=CSCBMiniDockFrameWnd\n\n[CLS:RPApp]\nType=0\nBaseClass=CWinApp\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPChildFrame]\nType=0\nBaseClass=CMDIChildWnd\nHeaderFile=rdoprocess_childfrm.h\nImplementationFile=rdoprocess_childfrm.cpp\nFilter=M\nLastObject=ID_APP_ABOUT\n\n[CLS:RPFlowChart]\nType=0\nBaseClass=CWnd \nHeaderFile=rdoprocess_flowchart.h\nImplementationFile=rdoprocess_flowchart.cpp\nFilter=W\nVirtualFilter=WC\nLastObject=RPFlowChart\n\n[CLS:RPMainFrame]\nType=0\nBaseClass=CMDIFrameWnd\nHeaderFile=rdoprocess_mainfrm.h\nImplementationFile=rdoprocess_mainfrm.cpp\n\n[TB:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_EDIT_CUT\nCommand3=ID_EDIT_COPY\nCommand4=ID_EDIT_PASTE\nCommand5=ID_FLOW_SELECT\nCommand6=ID_FLOW_CONNECTOR\nCommand7=ID_FLOW_ROTATE\nCommandCount=7\n\n[MNU:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_APP_EXIT\nCommand3=ID_VIEW_TOOLBAR\nCommand4=ID_VIEW_STATUS_BAR\nCommand5=ID_APP_ABOUT\nCommandCount=5\n\n[MNU:IDR_RDO_PRTYPE (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_CLOSE\nCommand3=ID_APP_EXIT\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_EDIT_COPY\nCommand7=ID_EDIT_PASTE\nCommand8=ID_VIEW_TOOLBAR\nCommand9=ID_VIEW_STATUS_BAR\nCommand10=ID_WINDOW_CASCADE\nCommand11=ID_WINDOW_TILE_HORZ\nCommand12=ID_WINDOW_ARRANGE\nCommand13=ID_APP_ABOUT\nCommandCount=13\n\n[ACL:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_EDIT_COPY\nCommand2=ID_FILE_NEW\nCommand3=ID_EDIT_PASTE\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_NEXT_PANE\nCommand7=ID_PREV_PANE\nCommand8=ID_EDIT_COPY\nCommand9=ID_EDIT_PASTE\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_UNDO\nCommandCount=11\n\n[DLG:IDD_ABOUTBOX (English (U.S.))]\nType=1\nClass=?\nControlCount=4\nControl1=IDC_STATIC,static,1342177283\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n[DLG:IDD_ABOUT]\nType=1\nClass=?\nControlCount=9\nControl1=IDOK,button,1342242817\nControl2=IDC_ABOUT_PICTURE,static,1342177283\nControl3=IDC_ABOUT_CAPTION,static,1342308353\nControl4=IDC_ABOUT_ADDRESS,static,1342308353\nControl5=IDC_ABOUT_TEL,static,1342308354\nControl6=IDC_ABOUR_EMAIL_STATIC,static,1342308354\nControl7=IDC_ABOUT_EMAIL,static,1342308608\nControl8=IDC_ABOUR_WEB_STATIC,static,1342308354\nControl9=IDC_ABOUT_WEB,static,1342308608\n\n[DLG:IDD_DIALOG_CREATE_1_MJ]\nType=1\nClass=RPShapeCreateDlg1_MJ\nControlCount=22\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_EDIT1,edit,1350631552\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_EDIT3,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,button,1342177287\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_COMBO1,combobox,1344340227\nControl12=IDC_EDIT4,edit,1350631552\nControl13=IDC_EDIT5,edit,1484849280\nControl14=IDC_EDIT6,edit,1476460672\nControl15=IDC_EDIT7,edit,1476460672\nControl16=IDC_EDIT8,edit,1350631552\nControl17=IDC_STATIC,static,1342308352\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_STATIC,static,1342308352\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_STATIC,static,1342308352\nControl22=IDC_BUTTON1,button,1342242816\n\n[CLS:RPShapeCreateDlg1_MJ]\nType=0\nHeaderFile=rdoprocess_shape_create_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_APP_ABOUT\n\n[DLG:IDD_DIALOG_CREATE_2_MJ]\nType=1\nClass=RPShapeCreateDlg2_MJ\nControlCount=13\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT3,edit,1350631552\nControl10=IDC_EDIT4,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT5,edit,1350631552\nControl13=IDC_STATIC,button,1342177287\n\n[CLS:RPShapeCreateDlg2_MJ]\nType=0\nHeaderFile=rdoprocess_shape_create_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\n\n[DLG:IDD_DIALOG_PROCESS_1_MJ]\nType=1\nClass=RPShapeProcessDlg1_MJ\nControlCount=30\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,button,1342177287\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_COMBO1,combobox,1344340227\nControl6=IDC_EDIT4,edit,1350631552\nControl7=IDC_EDIT5,edit,1484849280\nControl8=IDC_EDIT6,edit,1476460672\nControl9=IDC_EDIT7,edit,1476460672\nControl10=IDC_EDIT8,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_STATIC,static,1342308352\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_STATIC,static,1342308352\nControl17=IDC_EDIT1,edit,1350631552\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_COMBO2,combobox,1344340227\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_EDIT2,edit,1350631552\nControl22=IDC_STATIC,button,1342177287\nControl23=IDC_BUTTON1,button,1342242816\nControl24=IDC_BUTTON2,button,1342242816\nControl25=IDC_LIST1,listbox,1352728835\nControl26=IDC_STATIC,static,1342308352\nControl27=IDC_COMBO3,combobox,1344340227\nControl28=IDC_STATIC,button,1342177287\nControl29=IDC_STATIC,static,1342308352\nControl30=IDC_COMBO4,combobox,1344340227\n\n[CLS:RPShapeProcessDlg1_MJ]\nType=0\nHeaderFile=rdoprocess_shape_process_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=ID_APP_ABOUT\nVirtualFilter=dWC\n\n[DLG:IDD_DIALOG_PROCESS_2_MJ]\nType=1\nClass=RPShapeProcessDlg2_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_COMBO1,combobox,1344340226\n\n[CLS:RPShapeProcessDlg2_MJ]\nType=0\nHeaderFile=rdoprocess_shape_process_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=ID_APP_ABOUT\n\n[DLG:IDD_DIALOG_TERMINATE_1_MJ]\nType=1\nClass=RPShapeTerminateDlg1_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\n\n[CLS:RPShapeTerminateDlg1_MJ]\nType=0\nHeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\n\n","returncode":0,"stderr":"","license":"mit","lang":"Clarion"} {"commit":"3d30f320e0968885641d8914648fda0e16f4cde3","subject":"no message","message":"no message\n\n\ngit-svn-id: 41bd7e47c31e4d43f97241d7529f6785d233c6d8@1160 23f926e6-80f1-49ca-85a0-60d4a27bb3ac\n","repos":"AlexChernov\/rdo_studio,AlexChernov\/rdo_studio,dluschan\/rdo_studio,dluschan\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,bogachev-pa\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,bogachev-pa\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,AlexChernov\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,aurusov\/rdo_studio","old_file":"trunk\/rdo_process.clw","new_file":"trunk\/rdo_process.clw","new_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=RPMainFrame\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"rdo_process.h\"\nLastPage=0\n\nClassCount=27\nClass1=CColourPicker\nClass2=CColourPopup\nClass3=RDOLink\nClass4=RPColorPicker\nClass5=RPDockWnd\nClass6=RPPageCtrl\nClass7=RPPageCtrlItemLabel\nClass8=RPPageCtrlItem\nClass9=RPProjectBar\nClass10=RPToolBar\nClass11=CSizingControlBarG\nClass12=CSizingControlBar\nClass13=CSCBMiniDockFrameWnd\nClass14=RPApp\nClass15=RPAboutDlg\nClass16=RPChildFrame\nClass17=RPFlowChart\nClass18=RP_GENERATION_TYPE_MJ\nClass19=RPMainFrame\nClass20=RPShapeCreateDlg1_MJ\nClass21=RPShapeCreateDlg2_MJ\nClass22=RPListBox\nClass23=RPShapeProcessDlg1_MJ\nClass24=RPShapeProcessDlg2_MJ\nClass25=RPShapeResourceDLG1_MJ\nClass26=RPShapeTerminateDlg1_MJ\nClass27=RPToolBarBlockMJ\n\nResourceCount=12\nResource1=IDR_RDO_PRTYPE (English (U.S.))\nResource2=IDD_DIALOG_GEN_TYPE\nResource3=TOOLBARBLOCKMJ\nResource4=IDD_ABOUT\nResource5=IDD_DIALOG_CREATE_1_MJ\nResource6=IDR_STYLEANDCOLOR\nResource7=IDD_DIALOG_PROCESS_1_MJ\nResource8=IDD_DIALOG_PROCESS_2_MJ\nResource9=IDD_DIALOG_TERMINATE_1_MJ\nResource10=IDD_DIALOG_RESOURCE_DLG1\nResource11=IDD_DIALOG_CREATE_2_MJ\nResource12=IDR_MAINFRAME\n\n[CLS:CColourPicker]\nType=0\nBaseClass=CButton\nHeaderFile=ctrl\\colourpicker\\ColourPicker.h\nImplementationFile=ctrl\\colourpicker\\ColourPicker.cpp\nLastObject=CColourPicker\n\n[CLS:CColourPopup]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\colourpicker\\ColourPopup.h\nImplementationFile=ctrl\\colourpicker\\ColourPopup.cpp\n\n[CLS:RDOLink]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdolink.h\nImplementationFile=ctrl\\rdolink.cpp\n\n[CLS:RPColorPicker]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_colorpicker.h\nImplementationFile=ctrl\\rdoprocess_colorpicker.cpp\n\n[CLS:RPDockWnd]\nType=0\nBaseClass=CSizingControlBarG\nHeaderFile=ctrl\\rdoprocess_dockwnd.h\nImplementationFile=ctrl\\rdoprocess_dockwnd.cpp\n\n[CLS:RPPageCtrl]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItemLabel]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItem]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPProjectBar]\nType=0\nBaseClass=RPDockWnd\nHeaderFile=ctrl\\rdoprocess_projectbar.h\nImplementationFile=ctrl\\rdoprocess_projectbar.cpp\n\n[CLS:RPToolBar]\nType=0\nBaseClass=CToolBar\nHeaderFile=ctrl\\rdoprocess_toolbar.h\nImplementationFile=ctrl\\rdoprocess_toolbar.cpp\nFilter=W\nLastObject=RPToolBar\n\n[CLS:CSizingControlBarG]\nType=0\nBaseClass=baseCSizingControlBarG\nHeaderFile=ctrl\\sizecbar\\scbarg.h\nImplementationFile=ctrl\\sizecbar\\scbarg.cpp\n\n[CLS:CSizingControlBar]\nType=0\nBaseClass=baseCSizingControlBar\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:CSCBMiniDockFrameWnd]\nType=0\nBaseClass=baseCSCBMiniDockFrameWnd\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:RPApp]\nType=0\nBaseClass=CWinApp\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPAboutDlg]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPChildFrame]\nType=0\nBaseClass=CMDIChildWnd\nHeaderFile=rdoprocess_childfrm.h\nImplementationFile=rdoprocess_childfrm.cpp\n\n[CLS:RPFlowChart]\nType=0\nBaseClass=CWnd\nHeaderFile=rdoprocess_flowchart.h\nImplementationFile=rdoprocess_flowchart.cpp\n\n[CLS:RP_GENERATION_TYPE_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_generation_type_MJ.h\nImplementationFile=rdoprocess_generation_type_MJ.cpp\n\n[CLS:RPMainFrame]\nType=0\nBaseClass=CMDIFrameWnd\nHeaderFile=rdoprocess_mainfrm.h\nImplementationFile=rdoprocess_mainfrm.cpp\nFilter=T\nVirtualFilter=fWC\nLastObject=RPMainFrame\n\n[CLS:RPShapeCreateDlg1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_create_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp\n\n[CLS:RPShapeCreateDlg2_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_create_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp\n\n[CLS:RPListBox]\nType=0\nBaseClass=CListBox\nHeaderFile=rdoprocess_shape_process_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp\n\n[CLS:RPShapeProcessDlg1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_process_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp\n\n[CLS:RPShapeProcessDlg2_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_process_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp\n\n[CLS:RPShapeResourceDLG1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_resource_DLG1_MJ.h\nImplementationFile=rdoprocess_shape_resource_DLG1_MJ.cpp\n\n[CLS:RPShapeTerminateDlg1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp\n\n[CLS:RPToolBarBlockMJ]\nType=0\nBaseClass=CStatusBarCtrl\nHeaderFile=rdoprocess_tool_bar_blockMJ.h\nImplementationFile=rdoprocess_tool_bar_blockMJ.cpp\n\n[DLG:IDD_ABOUT]\nType=1\nClass=RPAboutDlg\nControlCount=9\nControl1=IDOK,button,1342242817\nControl2=IDC_ABOUT_PICTURE,static,1342177283\nControl3=IDC_ABOUT_CAPTION,static,1342308353\nControl4=IDC_ABOUT_ADDRESS,static,1342308353\nControl5=IDC_ABOUT_TEL,static,1342308354\nControl6=IDC_ABOUR_EMAIL_STATIC,static,1342308354\nControl7=IDC_ABOUT_EMAIL,static,1342308608\nControl8=IDC_ABOUR_WEB_STATIC,static,1342308354\nControl9=IDC_ABOUT_WEB,static,1342308608\n\n[DLG:IDD_DIALOG_GEN_TYPE]\nType=1\nClass=RP_GENERATION_TYPE_MJ\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_COMBO1,combobox,1344339970\nControl4=IDC_EDIT1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\n\n[DLG:IDD_DIALOG_CREATE_1_MJ]\nType=1\nClass=RPShapeCreateDlg1_MJ\nControlCount=22\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_EDIT1,edit,1350631552\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_EDIT3,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,button,1342177287\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_COMBO1,combobox,1344340227\nControl12=IDC_EDIT4,edit,1350631552\nControl13=IDC_EDIT5,edit,1484849280\nControl14=IDC_EDIT6,edit,1476460672\nControl15=IDC_EDIT7,edit,1476460672\nControl16=IDC_EDIT8,edit,1350631552\nControl17=IDC_STATIC,static,1342308352\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_STATIC,static,1342308352\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_STATIC,static,1342308352\nControl22=IDC_BUTTON1,button,1342242816\n\n[DLG:IDD_DIALOG_CREATE_2_MJ]\nType=1\nClass=RPShapeCreateDlg2_MJ\nControlCount=13\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT3,edit,1350631552\nControl10=IDC_EDIT4,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT5,edit,1350631552\nControl13=IDC_STATIC,button,1342177287\n\n[DLG:IDD_DIALOG_PROCESS_1_MJ]\nType=1\nClass=RPShapeProcessDlg1_MJ\nControlCount=30\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,button,1342177287\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_COMBO1,combobox,1344340227\nControl6=IDC_EDIT4,edit,1350631552\nControl7=IDC_EDIT5,edit,1484849280\nControl8=IDC_EDIT6,edit,1476460672\nControl9=IDC_EDIT7,edit,1476460672\nControl10=IDC_EDIT8,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_STATIC,static,1342308352\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_STATIC,static,1342308352\nControl17=IDC_EDIT1,edit,1350631552\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_COMBO2,combobox,1344339971\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_EDIT2,edit,1350631552\nControl22=IDC_STATIC,button,1342177287\nControl23=IDC_BUTTON1,button,1342242816\nControl24=IDC_BUTTON2,button,1342242816\nControl25=IDC_LIST1,listbox,1352728833\nControl26=IDC_STATIC,static,1342308352\nControl27=IDC_COMBO3,combobox,1344340227\nControl28=IDC_STATIC,button,1342177287\nControl29=IDC_STATIC,static,1342308352\nControl30=IDC_COMBO4,combobox,1344340227\n\n[DLG:IDD_DIALOG_PROCESS_2_MJ]\nType=1\nClass=RPShapeProcessDlg2_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_COMBO1,combobox,1344340226\n\n[DLG:IDD_DIALOG_RESOURCE_DLG1]\nType=1\nClass=RPShapeResourceDLG1_MJ\nControlCount=7\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_EDIT1,edit,1350631552\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\n\n[DLG:IDD_DIALOG_TERMINATE_1_MJ]\nType=1\nClass=RPShapeTerminateDlg1_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\n\n[TB:TOOLBARBLOCKMJ]\nType=1\nClass=?\nCommand1=ID_BUTTON32779\nCommand2=ID_BUTTON32781\nCommand3=ID_BUTTON32782\nCommand4=ID_BUTTON32783\nCommandCount=4\n\n[TB:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_EDIT_CUT\nCommand3=ID_EDIT_COPY\nCommand4=ID_EDIT_PASTE\nCommand5=ID_FLOW_SELECT\nCommand6=ID_FLOW_CONNECTOR\nCommand7=ID_FLOW_ROTATE\nCommand8=ID_GENERATE\nCommand9=ID_GEN_TYPE\nCommandCount=9\n\n[TB:IDR_STYLEANDCOLOR]\nType=1\nClass=?\nCommand1=ID_BTN_FILL_BRUSH\nCommand2=ID_BTN_FILL_PEN\nCommand3=ID_BTN_FILL_TEXT\nCommandCount=3\n\n[MNU:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_APP_EXIT\nCommand3=ID_VIEW_TOOLBAR\nCommand4=ID_VIEW_STATUS_BAR\nCommand5=ID_APP_ABOUT\nCommandCount=5\n\n[MNU:IDR_RDO_PRTYPE (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_CLOSE\nCommand3=ID_APP_EXIT\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_EDIT_COPY\nCommand7=ID_EDIT_PASTE\nCommand8=ID_VIEW_TOOLBAR\nCommand9=ID_VIEW_STATUS_BAR\nCommand10=ID_WINDOW_CASCADE\nCommand11=ID_WINDOW_TILE_HORZ\nCommand12=ID_WINDOW_ARRANGE\nCommand13=ID_APP_ABOUT\nCommandCount=13\n\n[ACL:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_EDIT_COPY\nCommand2=ID_FILE_NEW\nCommand3=ID_EDIT_PASTE\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_NEXT_PANE\nCommand7=ID_PREV_PANE\nCommand8=ID_EDIT_COPY\nCommand9=ID_EDIT_PASTE\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_UNDO\nCommandCount=11\n\n","old_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=RPMainFrame\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"rdo_process.h\"\nLastPage=0\n\nClassCount=27\nClass1=CColourPicker\nClass2=CColourPopup\nClass3=RDOLink\nClass4=RPColorPicker\nClass5=RPDockWnd\nClass6=RPPageCtrl\nClass7=RPPageCtrlItemLabel\nClass8=RPPageCtrlItem\nClass9=RPProjectBar\nClass10=RPToolBar\nClass11=CSizingControlBarG\nClass12=CSizingControlBar\nClass13=CSCBMiniDockFrameWnd\nClass14=RPApp\nClass15=RPAboutDlg\nClass16=RPChildFrame\nClass17=RPFlowChart\nClass18=RP_GENERATION_TYPE_MJ\nClass19=RPMainFrame\nClass20=RPShapeCreateDlg1_MJ\nClass21=RPShapeCreateDlg2_MJ\nClass22=RPListBox\nClass23=RPShapeProcessDlg1_MJ\nClass24=RPShapeProcessDlg2_MJ\nClass25=RPShapeResourceDLG1_MJ\nClass26=RPShapeTerminateDlg1_MJ\nClass27=RPToolBarBlockMJ\n\nResourceCount=12\nResource1=IDR_RDO_PRTYPE (English (U.S.))\nResource2=TOOLBARBLOCKMJ\nResource3=IDD_ABOUT\nResource4=IDD_DIALOG_CREATE_1_MJ\nResource5=IDD_DIALOG_CREATE_2_MJ\nResource6=IDR_STYLEANDCOLOR\nResource7=IDD_DIALOG_PROCESS_2_MJ\nResource8=IDD_DIALOG_TERMINATE_1_MJ\nResource9=IDD_DIALOG_RESOURCE_DLG1\nResource10=IDD_DIALOG_GEN_TYPE\nResource11=IDD_DIALOG_PROCESS_1_MJ\nResource12=IDR_MAINFRAME\n\n[CLS:CColourPicker]\nType=0\nBaseClass=CButton\nHeaderFile=ctrl\\colourpicker\\ColourPicker.h\nImplementationFile=ctrl\\colourpicker\\ColourPicker.cpp\nLastObject=CColourPicker\n\n[CLS:CColourPopup]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\colourpicker\\ColourPopup.h\nImplementationFile=ctrl\\colourpicker\\ColourPopup.cpp\n\n[CLS:RDOLink]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdolink.h\nImplementationFile=ctrl\\rdolink.cpp\n\n[CLS:RPColorPicker]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_colorpicker.h\nImplementationFile=ctrl\\rdoprocess_colorpicker.cpp\n\n[CLS:RPDockWnd]\nType=0\nBaseClass=CSizingControlBarG\nHeaderFile=ctrl\\rdoprocess_dockwnd.h\nImplementationFile=ctrl\\rdoprocess_dockwnd.cpp\n\n[CLS:RPPageCtrl]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItemLabel]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItem]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPProjectBar]\nType=0\nBaseClass=RPDockWnd\nHeaderFile=ctrl\\rdoprocess_projectbar.h\nImplementationFile=ctrl\\rdoprocess_projectbar.cpp\n\n[CLS:RPToolBar]\nType=0\nBaseClass=CToolBar\nHeaderFile=ctrl\\rdoprocess_toolbar.h\nImplementationFile=ctrl\\rdoprocess_toolbar.cpp\nFilter=W\nLastObject=RPToolBar\n\n[CLS:CSizingControlBarG]\nType=0\nBaseClass=baseCSizingControlBarG\nHeaderFile=ctrl\\sizecbar\\scbarg.h\nImplementationFile=ctrl\\sizecbar\\scbarg.cpp\n\n[CLS:CSizingControlBar]\nType=0\nBaseClass=baseCSizingControlBar\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:CSCBMiniDockFrameWnd]\nType=0\nBaseClass=baseCSCBMiniDockFrameWnd\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:RPApp]\nType=0\nBaseClass=CWinApp\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPAboutDlg]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPChildFrame]\nType=0\nBaseClass=CMDIChildWnd\nHeaderFile=rdoprocess_childfrm.h\nImplementationFile=rdoprocess_childfrm.cpp\n\n[CLS:RPFlowChart]\nType=0\nBaseClass=CWnd\nHeaderFile=rdoprocess_flowchart.h\nImplementationFile=rdoprocess_flowchart.cpp\n\n[CLS:RP_GENERATION_TYPE_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_generation_type_MJ.h\nImplementationFile=rdoprocess_generation_type_MJ.cpp\n\n[CLS:RPMainFrame]\nType=0\nBaseClass=CMDIFrameWnd\nHeaderFile=rdoprocess_mainfrm.h\nImplementationFile=rdoprocess_mainfrm.cpp\nFilter=T\nVirtualFilter=fWC\nLastObject=RPMainFrame\n\n[CLS:RPShapeCreateDlg1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_create_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp\n\n[CLS:RPShapeCreateDlg2_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_create_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp\n\n[CLS:RPListBox]\nType=0\nBaseClass=CListBox\nHeaderFile=rdoprocess_shape_process_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp\n\n[CLS:RPShapeProcessDlg1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_process_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp\n\n[CLS:RPShapeProcessDlg2_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_process_dlg2_MJ.h\nImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp\n\n[CLS:RPShapeResourceDLG1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_resource_DLG1_MJ.h\nImplementationFile=rdoprocess_shape_resource_DLG1_MJ.cpp\n\n[CLS:RPShapeTerminateDlg1_MJ]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h\nImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp\n\n[CLS:RPToolBarBlockMJ]\nType=0\nBaseClass=CStatusBarCtrl\nHeaderFile=rdoprocess_tool_bar_blockMJ.h\nImplementationFile=rdoprocess_tool_bar_blockMJ.cpp\n\n[DLG:IDD_ABOUT]\nType=1\nClass=RPAboutDlg\nControlCount=9\nControl1=IDOK,button,1342242817\nControl2=IDC_ABOUT_PICTURE,static,1342177283\nControl3=IDC_ABOUT_CAPTION,static,1342308353\nControl4=IDC_ABOUT_ADDRESS,static,1342308353\nControl5=IDC_ABOUT_TEL,static,1342308354\nControl6=IDC_ABOUR_EMAIL_STATIC,static,1342308354\nControl7=IDC_ABOUT_EMAIL,static,1342308608\nControl8=IDC_ABOUR_WEB_STATIC,static,1342308354\nControl9=IDC_ABOUT_WEB,static,1342308608\n\n[DLG:IDD_DIALOG_GEN_TYPE]\nType=1\nClass=RP_GENERATION_TYPE_MJ\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_COMBO1,combobox,1344339970\nControl4=IDC_EDIT1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\n\n[DLG:IDD_DIALOG_CREATE_1_MJ]\nType=1\nClass=RPShapeCreateDlg1_MJ\nControlCount=22\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_EDIT1,edit,1350631552\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_EDIT3,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,button,1342177287\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_COMBO1,combobox,1344340227\nControl12=IDC_EDIT4,edit,1350631552\nControl13=IDC_EDIT5,edit,1484849280\nControl14=IDC_EDIT6,edit,1476460672\nControl15=IDC_EDIT7,edit,1476460672\nControl16=IDC_EDIT8,edit,1350631552\nControl17=IDC_STATIC,static,1342308352\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_STATIC,static,1342308352\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_STATIC,static,1342308352\nControl22=IDC_BUTTON1,button,1342242816\n\n[DLG:IDD_DIALOG_CREATE_2_MJ]\nType=1\nClass=RPShapeCreateDlg2_MJ\nControlCount=13\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT3,edit,1350631552\nControl10=IDC_EDIT4,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT5,edit,1350631552\nControl13=IDC_STATIC,button,1342177287\n\n[DLG:IDD_DIALOG_PROCESS_1_MJ]\nType=1\nClass=RPShapeProcessDlg1_MJ\nControlCount=30\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,button,1342177287\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_COMBO1,combobox,1344340227\nControl6=IDC_EDIT4,edit,1350631552\nControl7=IDC_EDIT5,edit,1484849280\nControl8=IDC_EDIT6,edit,1476460672\nControl9=IDC_EDIT7,edit,1476460672\nControl10=IDC_EDIT8,edit,1350631552\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_STATIC,static,1342308352\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_STATIC,static,1342308352\nControl17=IDC_EDIT1,edit,1350631552\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_COMBO2,combobox,1344339971\nControl20=IDC_STATIC,static,1342308352\nControl21=IDC_EDIT2,edit,1350631552\nControl22=IDC_STATIC,button,1342177287\nControl23=IDC_BUTTON1,button,1342242816\nControl24=IDC_BUTTON2,button,1342242816\nControl25=IDC_LIST1,listbox,1352728833\nControl26=IDC_STATIC,static,1342308352\nControl27=IDC_COMBO3,combobox,1344340227\nControl28=IDC_STATIC,button,1342177287\nControl29=IDC_STATIC,static,1342308352\nControl30=IDC_COMBO4,combobox,1344340227\n\n[DLG:IDD_DIALOG_PROCESS_2_MJ]\nType=1\nClass=RPShapeProcessDlg2_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_COMBO1,combobox,1344340226\n\n[DLG:IDD_DIALOG_RESOURCE_DLG1]\nType=1\nClass=RPShapeResourceDLG1_MJ\nControlCount=7\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_EDIT1,edit,1350631552\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT2,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\n\n[DLG:IDD_DIALOG_TERMINATE_1_MJ]\nType=1\nClass=RPShapeTerminateDlg1_MJ\nControlCount=4\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_EDIT1,edit,1350631552\n\n[TB:TOOLBARBLOCKMJ]\nType=1\nClass=?\nCommand1=ID_BUTTON32779\nCommand2=ID_BUTTON32781\nCommand3=ID_BUTTON32782\nCommand4=ID_BUTTON32783\nCommandCount=4\n\n[TB:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_EDIT_CUT\nCommand3=ID_EDIT_COPY\nCommand4=ID_EDIT_PASTE\nCommand5=ID_FLOW_SELECT\nCommand6=ID_FLOW_CONNECTOR\nCommand7=ID_FLOW_ROTATE\nCommand8=ID_GENERATE\nCommand9=ID_GEN_TYPE\nCommandCount=9\n\n[TB:IDR_STYLEANDCOLOR]\nType=1\nClass=?\nCommand1=ID_BTN_FILL_BRUSH\nCommand2=ID_BTN_FILL_PEN\nCommand3=ID_BTN_FILL_TEXT\nCommandCount=3\n\n[MNU:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_APP_EXIT\nCommand3=ID_VIEW_TOOLBAR\nCommand4=ID_VIEW_STATUS_BAR\nCommand5=ID_APP_ABOUT\nCommandCount=5\n\n[MNU:IDR_RDO_PRTYPE (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_CLOSE\nCommand3=ID_APP_EXIT\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_EDIT_COPY\nCommand7=ID_EDIT_PASTE\nCommand8=ID_VIEW_TOOLBAR\nCommand9=ID_VIEW_STATUS_BAR\nCommand10=ID_WINDOW_CASCADE\nCommand11=ID_WINDOW_TILE_HORZ\nCommand12=ID_WINDOW_ARRANGE\nCommand13=ID_APP_ABOUT\nCommandCount=13\n\n[ACL:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_EDIT_COPY\nCommand2=ID_FILE_NEW\nCommand3=ID_EDIT_PASTE\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_NEXT_PANE\nCommand7=ID_PREV_PANE\nCommand8=ID_EDIT_COPY\nCommand9=ID_EDIT_PASTE\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_UNDO\nCommandCount=11\n\n","returncode":0,"stderr":"","license":"mit","lang":"Clarion"} {"commit":"e2a7864a47ece4e6a75b3a70171350ed633c9137","subject":"bug fixes","message":"bug fixes\n","repos":"fushnisoft\/ClarionMetroWizard,fushnisoft\/ClarionMetroWizard","old_file":"ce_MetroWizardForm.clw","new_file":"ce_MetroWizardForm.clw","new_contents":"! http:\/\/clarionedge.com, http:\/\/fushnisoft.com\n! Licensed under the MIT license: https:\/\/github.com\/fushnisoft\/ClarionMetroWizard\/blob\/master\/LICENSE.txt \n\n Member()\n omit('***$***',_VER_C55)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***$***\n Include('Equates.CLW'),ONCE\n Include('Keycodes.CLW'),ONCE\n Include('Errors.CLW'),ONCE\n Map\n End ! map\n Include('ce_MetroWizardForm.inc'),ONCE\n\nce_MetroWizardForm.Construct PROCEDURE \n CODE\n \n SELF.headerHeight = 40\n SELF.footerHeight = 80\n\n SELF.listTitleFontSize = 16\n SELF.headerFontSize = 14\n SELF.footerFontSize = 9\n \n SELF.lightColor = 0D1B171H\n SELF.darkColor = 04F453Ch\n SELF.fontColor = COLOR:White\n SELF.fontSelectedColor = COLOR:Black\n \n SELF.promptTabHeaderUpper = FALSE\n SELF.promptTabDetailUpper = TRUE\n \n SELF.headerImage = '~header_ce_metro_24x24.ico'\n \n SELF.buttonCloseIcon = '~cancel_ce_metro_24x24.ico'\n SELF.buttonNextIcon = '~navigation-right_ce_metro_24x24.ico'\n SELF.buttonPreviousIcon = '~navigation-left_ce_metro_24x24.ico'\n SELF.buttonOKIcon = '~thumb_up_ce_metro_24x24.ico'\n\n SELF.themeColors[1, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[1, CMW_COLOR_LIGHT] = 000b3f4h\n SELF.themeColors[2, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[2, CMW_COLOR_LIGHT] = 00ab78h\n SELF.themeColors[3, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[3, CMW_COLOR_LIGHT] = 0ed7327h\n SELF.themeColors[4, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[4, CMW_COLOR_LIGHT] = 03e11aeh\n SELF.themeColors[5, CMW_COLOR_DARK] = 0001631h\n SELF.themeColors[5, CMW_COLOR_LIGHT] = 0002f63h\n SELF.themeColors[6, CMW_COLOR_DARK] = 0040055h\n SELF.themeColors[6, CMW_COLOR_LIGHT] = 0011db1h\n SELF.themeColors[7, CMW_COLOR_DARK] = 03a024fh\n SELF.themeColors[7, CMW_COLOR_LIGHT] = 04f00c1h\n SELF.themeColors[8, CMW_COLOR_DARK] = 051022eh\n SELF.themeColors[8, CMW_COLOR_LIGHT] = 0ad0072h\n SELF.themeColors[9, CMW_COLOR_DARK] = 065001dh\n SELF.themeColors[9, CMW_COLOR_LIGHT] = 0b51746h\n SELF.themeColors[10, CMW_COLOR_DARK] = 04f2100h\n SELF.themeColors[10, CMW_COLOR_LIGHT] = 0c06a00h\n SELF.themeColors[11, CMW_COLOR_DARK] = 05e4800h\n SELF.themeColors[11, CMW_COLOR_LIGHT] = 0878300h\n SELF.themeColors[12, CMW_COLOR_DARK] = 0004900h\n SELF.themeColors[12, CMW_COLOR_LIGHT] = 0009918h\n SELF.themeColors[13, CMW_COLOR_DARK] = 02c9917h\n SELF.themeColors[13, CMW_COLOR_LIGHT] = 040c100h\n SELF.themeColors[14, CMW_COLOR_DARK] = 01b6be6h\n SELF.themeColors[14, CMW_COLOR_LIGHT] = 01d99ffh\n SELF.themeColors[15, CMW_COLOR_DARK] = 01e1db9h\n SELF.themeColors[15, CMW_COLOR_LIGHT] = 0132effh\n SELF.themeColors[16, CMW_COLOR_DARK] = 06a1ab3h\n SELF.themeColors[16, CMW_COLOR_LIGHT] = 0771dffh\n SELF.themeColors[17, CMW_COLOR_DARK] = 0b41c68h\n SELF.themeColors[17, CMW_COLOR_LIGHT] = 0ff3faah\n SELF.themeColors[18, CMW_COLOR_DARK] = 0ba5719h\n SELF.themeColors[18, CMW_COLOR_LIGHT] = 0ffae20h\n SELF.themeColors[19, CMW_COLOR_DARK] = 0e59b59h\n SELF.themeColors[19, CMW_COLOR_LIGHT] = 0ffc557h\n SELF.themeColors[20, CMW_COLOR_DARK] = 0a8a800h\n SELF.themeColors[20, CMW_COLOR_LIGHT] = 0cdd800h\n SELF.themeColors[21, CMW_COLOR_DARK] = 01bba82h\n SELF.themeColors[21, CMW_COLOR_LIGHT] = 000d191h\n SELF.themeColors[22, CMW_COLOR_DARK] = 0099dd3h\n SELF.themeColors[22, CMW_COLOR_LIGHT] = 000b7e1h\n SELF.themeColors[23, CMW_COLOR_DARK] = 0bb65e1h\n SELF.themeColors[23, CMW_COLOR_LIGHT] = 0bc76ffh\n SELF.themeColors[24, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[24, CMW_COLOR_LIGHT] = 0a5a400h\n SELF.themeColors[25, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[25, CMW_COLOR_LIGHT] = 0237dffh\n\nce_MetroWizardForm.Init PROCEDURE (WindowManager pWM, SIGNED pSheetFeq)\nsavePixels BYTE\n CODE\n \n ! Make sure the sheet is set to the width of the window\n pSheetFeq{PROP:Xpos} = 0\n pSheetFeq{PROP:Width} = 0{PROP:Width}\n \n ! Init the parent TabList class\n SELF.Init(pWm, pSheetFeq, TRUE)\n \n savePixels = 0{PROP:Pixels}\n 0{PROP:Pixels} = TRUE\n SELF.MoveOriginalControls()\n SELF.CreateControls()\n SELF.SetupWindow()\n SELF.SetupButtons()\n SELF.ApplyColors(SELF.darkColor, SELF.lightColor)\n\n 0{PROP:Pixels} = savePixels\n\nce_MetroWizardForm.MoveOriginalControls PROCEDURE()\nthisFeq SIGNED\n CODE\n LOOP\n thisFeq = 0{PROP:NextField, thisFeq}\n IF thisFeq = 0\n BREAK\n END\n CASE thisFeq\n OF SELF.backgroundImageFeq\n OROF SELF.boxFeq\n OROF SELF.boxFooterFeq\n OROF SELF.boxHeaderFeq\n OROF SELF.boxListTitleFeq\n OROF SELF.buttonClose\n OROF SELF.buttonNext\n OROF SELF.buttonOK\n OROF SELF.buttonPrevious\n OROF SELF.headerImageFeq\n OROF SELF.lastTabFeq\n OROF SELF.listFeq\n CYCLE\n END\n IF thisFeq < 0 OR thisFeq{PROP:Type} => CREATE:toolbar\n CYCLE\n END\n CASE thisFeq{PROP:Type}\n OF CREATE:item\n OROF CREATE:menubar\n CYCLE\n END\n \n thisFeq{PROP:Ypos} = thisFeq{PROP:Ypos} + SELF.headerHeight\n END\n\nce_MetroWizardForm.SetupWindow PROCEDURE()\nposG Group(PositionGroup)\n END\n CODE\n \n ! Do some messing around to position all the controls...\n ! This first bit is to re-arrange the controls added by the PARENT TabList class\n SELF.boxFeq{PROP:Xpos} = SELF.listFeq{PROP:Width} - 1\n SELF.boxFeq{PROP:Ypos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.boxFooterFeq{PROP:YPos} - 1\n SELF.boxFeq{PROP:Width} = 0{PROP:Width} - SELF.boxFeq{PROP:Xpos} + 2\n \n SELF.backgroundImageFeq{PROP:Xpos} = SELF.boxFeq{PROP:Xpos}\n SELF.backgroundImageFeq{PROP:Ypos} = SELF.boxFeq{PROP:Ypos}\n SELF.backgroundImageFeq{PROP:Width} = SELF.boxFeq{PROP:Width}\n\n SELF.boxHeaderFeq{PROP:Width} = 0{PROP:Width}\n \n SELF.boxFooterFeq{PROP:Width} = 0{PROP:Width}\n !SELF.boxFooterFeq{PROP:Height} = 0{PROP:Height} - SELF.boxFooterFeq{PROP:Ypos} + 20\n \n SELF.boxListTitleFeq{PROP:XPos} = 0\n SELF.boxListTitleFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxListTitleFeq{PROP:Width} = SELF.listFeq{PROP:Width}+1\n \n SELF.listFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height} + SELF.boxListTitleFeq{PROP:Height} - 1\n SELF.listFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.listFeq{PROP:YPos} \n IF SELF.listBorderC6Style = FALSE\n SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1\n END\n \n SELF.listFeq{PROP:Width} = SELF.listFeq{PROP:Width} + 1\n\n SELF.promptListTitleFeq{PROP:XPos} = 8\n SELF.promptListTitleFeq{PROP:YPos} = SELF.boxListTitleFeq{PROP:YPos} + (SELF.boxListTitleFeq{PROP:Height}\/3)\n \n SELF.listFeq{PROP:Trn} = FALSE\n \n !SELF.listFeq{PROPSTYLE:FontSize, 1} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 1} = 4\n \n !SELF.listFeq{PROPSTYLE:FontSize, 2} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 2} = 6\n \n SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + 6\n \n SELF.promptHeaderFeq{PROP:Xpos} = 40\n SELF.promptHeaderFeq{PROP:Ypos} = 6\n \n SELF.promptFooterFeq{PROP:Xpos} = 20\n SELF.promptFooterFeq{PROP:Ypos} = 0{PROP:Height} - 30\n \n IF SELF.listBorderC6Style = FALSE\n SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1\n ELSE\n SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} \n END\n \n GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)\n SELF.listBorderFeq = Create(0, CREATE:region)\n IF SELF.listBorderC6Style = FALSE\n SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)\n ELSE\n SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)\n END\n \n SELF.listBorderFeq{PROP:Hide} = FALSE\n 0{PROP:Height} = SELF.boxFooterFeq{PROP:Ypos} + SELF.boxFooterFeq{PROP:Height}\n \nce_MetroWizardForm.SetupButtons PROCEDURE()\n CODE\n IF SELF.buttonClose > 0\n SELF.SetButtonStyle(SELF.buttonClose, SELF.buttonCloseIcon)\n SELF.buttonClose{PROP:Xpos} = 0{PROP:Width} - SELF.buttonClose{PROP:Width} - 20\n END\n IF SELF.buttonNext > 0\n SELF.SetButtonStyle(SELF.buttonNext, SELF.buttonNextIcon)\n SELF.buttonNext{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonNext{PROP:Width}*2) - 30\n END\n IF SELF.buttonOK > 0\n SELF.SetButtonStyle(SELF.buttonOK, SELF.buttonOKIcon)\n SELF.buttonOK{PROP:Xpos} = SELF.buttonNext{PROP:XPos}\n SELF.buttonOK{PROP:Hide} = TRUE\n END \n IF SELF.buttonPrevious > 0\n SELF.SetButtonStyle(SELF.buttonPrevious, SELF.buttonPreviousIcon)\n SELF.buttonPrevious{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonPrevious{PROP:Width}*3) - 40\n END\n\n \nce_MetroWizardForm.SetButtonStyle PROCEDURE(SIGNED pFeq, STRING pIcon) !,VIRTUAL\n CODE\n\n pFeq{PROP:Width} = 62\n pFeq{PROP:Height} = 56\n pFeq{PROP:Xpos} = 0{PROP:Width} - pFeq{PROP:Width} - 20\n pFeq{PROP:Ypos} = 0{PROP:Height} - pFeq{PROP:Height} - 10 \n pFeq{PROP:Flat} = TRUE\n pFeq{PROP:Trn} = TRUE\n IF pFeq{PROP:Icon} = '' \n pFeq{PROP:Icon} = pIcon\n END\n \n \n\nce_MetroWizardForm.CreateControls PROCEDURE()!,VIRTUAL\n CODE\n\n ! Create a bunch of controls used by the window\n ! ==========================================\n SELF.boxHeaderFeq = Create(0, CREATE:box)\n SetPosition(SELF.boxHeaderFeq, 0, 0, 0{PROP:Width}, SELF.headerHeight)\n SELF.boxHeaderFeq{PROP:Hide} = FALSE\n\n SELF.boxFooterFeq = Create(0, CREATE:box)\n SETPOSITION(SELF.boxFooterFeq, 0, 0{PROP:Height} - SELF.footerHeight, 0{PROP:Width}, SELF.footerHeight) \n SELF.boxFooterFeq{PROP:Hide} = FALSE\n \n SELF.boxListTitleFeq = CREATE(0, CREATE:box)\n ! SETPOSITION <-- happens later\n SELF.boxListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptListTitleFeq = CREATE(0, CREATE:prompt)\n SELF.promptListTitleFeq{PROP:FontSize} = SELF.listTitleFontSize\n SELF.promptListTitleFeq{PROP:Text} = 'List Title'\n SELF.promptListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptHeaderFeq = CREATE(0, CREATE:prompt)\n SELF.promptHeaderFeq{PROP:FontSize} = SELF.headerFontSize\n SELF.promptHeaderFeq{PROP:Text} = 'Header'\n SELF.promptHeaderFeq{PROP:Hide} = FALSE\n\n SELF.promptFooterFeq = CREATE(0, CREATE:prompt)\n SELF.promptFooterFeq{PROP:FontSize} = SELF.footerFontSize\n SELF.promptFooterFeq{PROP:Text} = 'Footer'\n SELF.promptFooterFeq{PROP:Hide} = FALSE\n\n SELF.headerImageFeq = Create(0, CREATE:image)\n SETPOSITION(SELF.headerImageFeq, 6, 8, 24, 24)\n SELF.headerImageFeq{PROP:Text} = SELF.headerImage\n SELF.headerImageFeq{PROP:Hide} = FALSE\n ! ==========================================\n\nce_MetroWizardForm.SetTheme PROCEDURE(BYTE pThemeNumber)!,VIRTUAL\n CODE\n IF pThemeNumber > 0 AND pThemeNumber < 26\n SELF.ApplyColors(SELF.themeColors[pThemeNumber, CMW_COLOR_DARK], SELF.themeColors[pThemeNumber, CMW_COLOR_LIGHT])\n END\n \nce_MetroWizardForm.ApplyColors PROCEDURE(LONG pDarkColor, LONG pLightColor)!,VIRTUAL\nbuttonFeq SIGNED\ni LONG\n CODE\n \n SELF.lightColor = pLightColor\n SELF.darkColor = pDarkColor\n \n SELF.boxFeq{PROP:Color} = COLOR:WINDOW\n\n SELF.listFeq{PROP:Background} = SELF.lightColor\n SELF.listFeq{PROP:Color} = SELF.lightColor\n\n SELF.listFeq{PROPLIST:TextSelected, 1} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 1} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:TextSelected, 2} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:Grid, 1} = SELF.listFeq{PROP:Background}\n SELF.listFeq{PROPLIST:Grid, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listBorderFeq{PROP:Color} = SELF.listFeq{PROP:Background}\n\n LOOP\n i += 1\n EXECUTE i\n buttonFeq = SELF.buttonClose\n buttonFeq = SELF.buttonNext\n buttonFeq = SELF.buttonOK\n buttonFeq = SELF.buttonPrevious\n ELSE\n BREAK\n END\n IF buttonFeq = 0\n CYCLE\n END\n \n buttonFeq{PROP:FontColor} = SELF.fontColor\n buttonFeq{PROP:FontStyle} = FONT:bold\n buttonFeq{PROP:Background} = SELF.darkColor\n END\n \n SELF.boxHeaderFeq{PROP:Color} = SELF.darkColor\n SELF.boxHeaderFeq{PROP:Fill} = SELF.darkColor\n\n SELF.boxFooterFeq{PROP:Color} = SELF.darkColor\n SELF.boxFooterFeq{PROP:Fill} = SELF.darkColor \n\n SELF.boxListTitleFeq{PROP:Color} = SELF.lightColor\n SELF.boxListTitleFeq{PROP:Fill} = SELF.lightColor\n\n SELF.promptListTitleFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptListTitleFeq{PROP:Color} = SELF.lightColor\n\n SELF.promptHeaderFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptHeaderFeq{PROP:Color} = SELF.darkColor\n\n SELF.promptFooterFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptFooterFeq{PROP:Color} = SELF.darkColor\n\nce_MetroWizardForm.TakeAccepted PROCEDURE() !,VIRTUAL\n CODE\n\n CASE Event()\n OF EVENT:Accepted\n CASE ACCEPTED()\n OF SELF.buttonNext\n Select(SELF.listFeq, Choice(SELF.listFeq)+1)\n Post(EVENT:NewSelection, SELF.listFeq)\n OF SELF.buttonPrevious\n Select(SELF.listFeq, Choice(SELF.listFeq)-1)\n Post(EVENT:NewSelection, SELF.listFeq)\n END\n END\n\n RETURN \n\nce_MetroWizardForm.TakeNewSelection PROCEDURE() !,VIRTUAL\nselectedTabFeq SIGNED\n CODE\n \n CASE Field()\n OF SELF.sheetFeq \n selectedTabFeq = SELF.sheetFeq{PROP:ChoiceFEQ}\n IF SELF.promptTabHeader > 0 \n SELF.promptTabHeader{PROP:Text} = Choose(SELF.promptTabHeaderUpper=TRUE, Upper(selectedTabFeq{PROP:Text}), selectedTabFeq{PROP:Text})\n END\n IF SELF.promptTabDetail > 0\n SELF.promptTabDetail{PROP:Text} = Choose(SELF.promptTabDetailUpper=TRUE, Upper(selectedTabFeq{PROP:Tip}), selectedTabFeq{PROP:Tip})\n END \n \n IF selectedTabFeq{PROP:ChildIndex} = SELF.sheetFeq{PROP:NumTabs}\n SELF.buttonOK{PROP:Hide} = FALSE\n SELF.buttonNext{PROP:Hide} = TRUE\n ELSE\n SELF.buttonOK{PROP:Hide} = TRUE\n SELF.buttonNext{PROP:Hide} = FALSE\n END\n \n IF selectedTabFeq{PROP:ChildIndex} = 1\n SELF.buttonPrevious{PROP:Hide} = TRUE\n ELSE\n SELF.buttonPrevious{PROP:Hide} = FALSE\n END \n END \n \nce_MetroWizardForm.SetHeaderIcon PROCEDURE(STRING pText)\n CODE\n SELF.headerImageFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptHeaderFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetListHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptListTitleFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetFooterText PROCEDURE(STRING pText)\n CODE\n SELF.promptFooterFeq{PROP:Text} = pText\n","old_contents":"! http:\/\/clarionedge.com, http:\/\/fushnisoft.com\n! Licensed under the MIT license: https:\/\/github.com\/fushnisoft\/ClarionMetroWizard\/blob\/master\/LICENSE.txt \n\n Member()\n omit('***$***',_VER_C55)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***$***\n Include('Equates.CLW'),ONCE\n Include('Keycodes.CLW'),ONCE\n Include('Errors.CLW'),ONCE\n Map\n End ! map\n Include('ce_MetroWizardForm.inc'),ONCE\n\nce_MetroWizardForm.Construct PROCEDURE \n CODE\n \n SELF.headerHeight = 40\n SELF.footerHeight = 80\n\n SELF.listTitleFontSize = 16\n SELF.headerFontSize = 14\n SELF.footerFontSize = 9\n \n SELF.lightColor = 0D1B171H\n SELF.darkColor = 04F453Ch\n SELF.fontColor = COLOR:White\n SELF.fontSelectedColor = COLOR:Black\n \n SELF.promptTabHeaderUpper = FALSE\n SELF.promptTabDetailUpper = TRUE\n \n SELF.headerImage = '~header_ce_metro_24x24.ico'\n \n SELF.buttonCloseIcon = '~cancel_ce_metro_24x24.ico'\n SELF.buttonNextIcon = '~navigation-right_ce_metro_24x24.ico'\n SELF.buttonPreviousIcon = '~navigation-left_ce_metro_24x24.ico'\n SELF.buttonOKIcon = '~thumb_up_ce_metro_24x24.ico'\n\n SELF.themeColors[1, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[1, CMW_COLOR_LIGHT] = 000b3f4h\n SELF.themeColors[2, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[2, CMW_COLOR_LIGHT] = 00ab78h\n SELF.themeColors[3, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[3, CMW_COLOR_LIGHT] = 0ed7327h\n SELF.themeColors[4, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[4, CMW_COLOR_LIGHT] = 03e11aeh\n SELF.themeColors[5, CMW_COLOR_DARK] = 0001631h\n SELF.themeColors[5, CMW_COLOR_LIGHT] = 0002f63h\n SELF.themeColors[6, CMW_COLOR_DARK] = 0040055h\n SELF.themeColors[6, CMW_COLOR_LIGHT] = 0011db1h\n SELF.themeColors[7, CMW_COLOR_DARK] = 03a024fh\n SELF.themeColors[7, CMW_COLOR_LIGHT] = 04f00c1h\n SELF.themeColors[8, CMW_COLOR_DARK] = 051022eh\n SELF.themeColors[8, CMW_COLOR_LIGHT] = 0ad0072h\n SELF.themeColors[9, CMW_COLOR_DARK] = 065001dh\n SELF.themeColors[9, CMW_COLOR_LIGHT] = 0b51746h\n SELF.themeColors[10, CMW_COLOR_DARK] = 04f2100h\n SELF.themeColors[10, CMW_COLOR_LIGHT] = 0c06a00h\n SELF.themeColors[11, CMW_COLOR_DARK] = 05e4800h\n SELF.themeColors[11, CMW_COLOR_LIGHT] = 0878300h\n SELF.themeColors[12, CMW_COLOR_DARK] = 0004900h\n SELF.themeColors[12, CMW_COLOR_LIGHT] = 0009918h\n SELF.themeColors[13, CMW_COLOR_DARK] = 02c9917h\n SELF.themeColors[13, CMW_COLOR_LIGHT] = 040c100h\n SELF.themeColors[14, CMW_COLOR_DARK] = 01b6be6h\n SELF.themeColors[14, CMW_COLOR_LIGHT] = 01d99ffh\n SELF.themeColors[15, CMW_COLOR_DARK] = 01e1db9h\n SELF.themeColors[15, CMW_COLOR_LIGHT] = 0132effh\n SELF.themeColors[16, CMW_COLOR_DARK] = 06a1ab3h\n SELF.themeColors[16, CMW_COLOR_LIGHT] = 0771dffh\n SELF.themeColors[17, CMW_COLOR_DARK] = 0b41c68h\n SELF.themeColors[17, CMW_COLOR_LIGHT] = 0ff3faah\n SELF.themeColors[18, CMW_COLOR_DARK] = 0ba5719h\n SELF.themeColors[18, CMW_COLOR_LIGHT] = 0ffae20h\n SELF.themeColors[19, CMW_COLOR_DARK] = 0e59b59h\n SELF.themeColors[19, CMW_COLOR_LIGHT] = 0ffc557h\n SELF.themeColors[20, CMW_COLOR_DARK] = 0a8a800h\n SELF.themeColors[20, CMW_COLOR_LIGHT] = 0cdd800h\n SELF.themeColors[21, CMW_COLOR_DARK] = 01bba82h\n SELF.themeColors[21, CMW_COLOR_LIGHT] = 000d191h\n SELF.themeColors[22, CMW_COLOR_DARK] = 0099dd3h\n SELF.themeColors[22, CMW_COLOR_LIGHT] = 000b7e1h\n SELF.themeColors[23, CMW_COLOR_DARK] = 0bb65e1h\n SELF.themeColors[23, CMW_COLOR_LIGHT] = 0bc76ffh\n SELF.themeColors[24, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[24, CMW_COLOR_LIGHT] = 0a5a400h\n SELF.themeColors[25, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[25, CMW_COLOR_LIGHT] = 0237dffh\n\nce_MetroWizardForm.Init PROCEDURE (WindowManager pWM, SIGNED pSheetFeq)\nsavePixels BYTE\n CODE\n \n ! Make sure the sheet is set to the width of the window\n pSheetFeq{PROP:Xpos} = 0\n pSheetFeq{PROP:Width} = 0{PROP:Width}\n \n ! Init the parent TabList class\n SELF.Init(pWm, pSheetFeq, TRUE)\n \n savePixels = 0{PROP:Pixels}\n 0{PROP:Pixels} = TRUE\n SELF.MoveOriginalControls()\n SELF.CreateControls()\n SELF.SetupWindow()\n SELF.SetupButtons()\n SELF.ApplyColors(SELF.darkColor, SELF.lightColor)\n\n 0{PROP:Pixels} = FALSE\n\nce_MetroWizardForm.MoveOriginalControls PROCEDURE()\nthisFeq SIGNED\n CODE\n LOOP\n thisFeq = 0{PROP:NextField, thisFeq}\n IF thisFeq = 0\n BREAK\n END\n CASE thisFeq\n OF SELF.backgroundImageFeq\n OROF SELF.boxFeq\n OROF SELF.boxFooterFeq\n OROF SELF.boxHeaderFeq\n OROF SELF.boxListTitleFeq\n OROF SELF.buttonClose\n OROF SELF.buttonNext\n OROF SELF.buttonOK\n OROF SELF.buttonPrevious\n OROF SELF.headerImageFeq\n OROF SELF.lastTabFeq\n OROF SELF.listFeq\n CYCLE\n END\n IF thisFeq < 0 OR thisFeq{PROP:Type} => CREATE:toolbar\n CYCLE\n END\n \n thisFeq{PROP:Ypos} = thisFeq{PROP:Ypos} + SELF.headerHeight\n END\n\nce_MetroWizardForm.SetupWindow PROCEDURE()\nposG Group(PositionGroup)\n END\n CODE\n \n ! Do some messing around to position all the controls...\n ! This first bit is to re-arrange the controls added by the PARENT TabList class\n SELF.boxFeq{PROP:Xpos} = SELF.listFeq{PROP:Width} - 1\n SELF.boxFeq{PROP:Ypos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.boxFooterFeq{PROP:YPos} - 1\n SELF.boxFeq{PROP:Width} = 0{PROP:Width} - SELF.boxFeq{PROP:Xpos} + 2\n \n SELF.backgroundImageFeq{PROP:Xpos} = SELF.boxFeq{PROP:Xpos}\n SELF.backgroundImageFeq{PROP:Ypos} = SELF.boxFeq{PROP:Ypos}\n SELF.backgroundImageFeq{PROP:Width} = SELF.boxFeq{PROP:Width}\n\n SELF.boxHeaderFeq{PROP:Width} = 0{PROP:Width}\n \n SELF.boxFooterFeq{PROP:Width} = 0{PROP:Width}\n !SELF.boxFooterFeq{PROP:Height} = 0{PROP:Height} - SELF.boxFooterFeq{PROP:Ypos} + 20\n \n SELF.boxListTitleFeq{PROP:XPos} = 0\n SELF.boxListTitleFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxListTitleFeq{PROP:Width} = SELF.listFeq{PROP:Width}+1\n \n SELF.listFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height} + SELF.boxListTitleFeq{PROP:Height} - 1\n SELF.listFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.listFeq{PROP:YPos} \n IF SELF.listBorderC6Style = FALSE\n SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1\n END\n \n SELF.listFeq{PROP:Width} = SELF.listFeq{PROP:Width} + 1\n\n SELF.promptListTitleFeq{PROP:XPos} = 8\n SELF.promptListTitleFeq{PROP:YPos} = SELF.boxListTitleFeq{PROP:YPos} + (SELF.boxListTitleFeq{PROP:Height}\/3)\n \n SELF.listFeq{PROP:Trn} = FALSE\n \n !SELF.listFeq{PROPSTYLE:FontSize, 1} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 1} = 4\n \n !SELF.listFeq{PROPSTYLE:FontSize, 2} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 2} = 6\n \n SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + 6\n \n SELF.promptHeaderFeq{PROP:Xpos} = 40\n SELF.promptHeaderFeq{PROP:Ypos} = 6\n \n SELF.promptFooterFeq{PROP:Xpos} = 20\n SELF.promptFooterFeq{PROP:Ypos} = 0{PROP:Height} - 30\n \n IF SELF.listBorderC6Style = FALSE\n SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1\n ELSE\n SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} \n END\n \n GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)\n SELF.listBorderFeq = Create(0, CREATE:region)\n IF SELF.listBorderC6Style = FALSE\n SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)\n ELSE\n SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)\n END\n \n SELF.listBorderFeq{PROP:Hide} = FALSE\n 0{PROP:Height} = SELF.boxFooterFeq{PROP:Ypos} + SELF.boxFooterFeq{PROP:Height}\n \nce_MetroWizardForm.SetupButtons PROCEDURE()\n CODE\n IF SELF.buttonClose > 0\n SELF.SetButtonStyle(SELF.buttonClose, SELF.buttonCloseIcon)\n SELF.buttonClose{PROP:Xpos} = 0{PROP:Width} - SELF.buttonClose{PROP:Width} - 20\n END\n IF SELF.buttonNext > 0\n SELF.SetButtonStyle(SELF.buttonNext, SELF.buttonNextIcon)\n SELF.buttonNext{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonNext{PROP:Width}*2) - 30\n END\n IF SELF.buttonOK > 0\n SELF.SetButtonStyle(SELF.buttonOK, SELF.buttonOKIcon)\n SELF.buttonOK{PROP:Xpos} = SELF.buttonNext{PROP:XPos}\n SELF.buttonOK{PROP:Hide} = TRUE\n END \n IF SELF.buttonPrevious > 0\n SELF.SetButtonStyle(SELF.buttonPrevious, SELF.buttonPreviousIcon)\n SELF.buttonPrevious{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonPrevious{PROP:Width}*3) - 40\n END\n\n \nce_MetroWizardForm.SetButtonStyle PROCEDURE(SIGNED pFeq, STRING pIcon) !,VIRTUAL\n CODE\n\n pFeq{PROP:Width} = 62\n pFeq{PROP:Height} = 56\n pFeq{PROP:Xpos} = 0{PROP:Width} - pFeq{PROP:Width} - 20\n pFeq{PROP:Ypos} = 0{PROP:Height} - pFeq{PROP:Height} - 10 \n pFeq{PROP:Flat} = TRUE\n pFeq{PROP:Trn} = TRUE\n IF pFeq{PROP:Icon} = '' \n pFeq{PROP:Icon} = pIcon\n END\n \n \n\nce_MetroWizardForm.CreateControls PROCEDURE()!,VIRTUAL\n CODE\n\n ! Create a bunch of controls used by the window\n ! ==========================================\n SELF.boxHeaderFeq = Create(0, CREATE:box)\n SetPosition(SELF.boxHeaderFeq, 0, 0, 0{PROP:Width}, SELF.headerHeight)\n SELF.boxHeaderFeq{PROP:Hide} = FALSE\n\n SELF.boxFooterFeq = Create(0, CREATE:box)\n SETPOSITION(SELF.boxFooterFeq, 0, 0{PROP:Height} - SELF.footerHeight, 0{PROP:Width}, SELF.footerHeight) \n SELF.boxFooterFeq{PROP:Hide} = FALSE\n \n SELF.boxListTitleFeq = CREATE(0, CREATE:box)\n ! SETPOSITION <-- happens later\n SELF.boxListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptListTitleFeq = CREATE(0, CREATE:prompt)\n SELF.promptListTitleFeq{PROP:FontSize} = SELF.listTitleFontSize\n SELF.promptListTitleFeq{PROP:Text} = 'List Title'\n SELF.promptListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptHeaderFeq = CREATE(0, CREATE:prompt)\n SELF.promptHeaderFeq{PROP:FontSize} = SELF.headerFontSize\n SELF.promptHeaderFeq{PROP:Text} = 'Header'\n SELF.promptHeaderFeq{PROP:Hide} = FALSE\n\n SELF.promptFooterFeq = CREATE(0, CREATE:prompt)\n SELF.promptFooterFeq{PROP:FontSize} = SELF.footerFontSize\n SELF.promptFooterFeq{PROP:Text} = 'Footer'\n SELF.promptFooterFeq{PROP:Hide} = FALSE\n\n SELF.headerImageFeq = Create(0, CREATE:image)\n SETPOSITION(SELF.headerImageFeq, 6, 8, 24, 24)\n SELF.headerImageFeq{PROP:Text} = SELF.headerImage\n SELF.headerImageFeq{PROP:Hide} = FALSE\n ! ==========================================\n\nce_MetroWizardForm.SetTheme PROCEDURE(BYTE pThemeNumber)!,VIRTUAL\n CODE\n IF pThemeNumber > 0 AND pThemeNumber < 26\n SELF.ApplyColors(SELF.themeColors[pThemeNumber, CMW_COLOR_DARK], SELF.themeColors[pThemeNumber, CMW_COLOR_LIGHT])\n END\n \nce_MetroWizardForm.ApplyColors PROCEDURE(LONG pDarkColor, LONG pLightColor)!,VIRTUAL\nbuttonFeq SIGNED\ni LONG\n CODE\n \n SELF.lightColor = pLightColor\n SELF.darkColor = pDarkColor\n \n SELF.boxFeq{PROP:Color} = COLOR:WINDOW\n\n SELF.listFeq{PROP:Background} = SELF.lightColor\n SELF.listFeq{PROP:Color} = SELF.lightColor\n\n SELF.listFeq{PROPLIST:TextSelected, 1} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 1} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:TextSelected, 2} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:Grid, 1} = SELF.listFeq{PROP:Background}\n SELF.listFeq{PROPLIST:Grid, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listBorderFeq{PROP:Color} = SELF.listFeq{PROP:Background}\n\n LOOP\n i += 1\n EXECUTE i\n buttonFeq = SELF.buttonClose\n buttonFeq = SELF.buttonNext\n buttonFeq = SELF.buttonOK\n buttonFeq = SELF.buttonPrevious\n ELSE\n BREAK\n END\n IF buttonFeq = 0\n CYCLE\n END\n \n buttonFeq{PROP:FontColor} = SELF.fontColor\n buttonFeq{PROP:FontStyle} = FONT:bold\n buttonFeq{PROP:Background} = SELF.darkColor\n END\n \n SELF.boxHeaderFeq{PROP:Color} = SELF.darkColor\n SELF.boxHeaderFeq{PROP:Fill} = SELF.darkColor\n\n SELF.boxFooterFeq{PROP:Color} = SELF.darkColor\n SELF.boxFooterFeq{PROP:Fill} = SELF.darkColor \n\n SELF.boxListTitleFeq{PROP:Color} = SELF.lightColor\n SELF.boxListTitleFeq{PROP:Fill} = SELF.lightColor\n\n SELF.promptListTitleFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptListTitleFeq{PROP:Color} = SELF.lightColor\n\n SELF.promptHeaderFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptHeaderFeq{PROP:Color} = SELF.darkColor\n\n SELF.promptFooterFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptFooterFeq{PROP:Color} = SELF.darkColor\n\nce_MetroWizardForm.TakeAccepted PROCEDURE() !,VIRTUAL\n CODE\n\n CASE Event()\n OF EVENT:Accepted\n CASE ACCEPTED()\n OF SELF.buttonNext\n Select(SELF.listFeq, Choice(SELF.listFeq)+1)\n Post(EVENT:NewSelection, SELF.listFeq)\n OF SELF.buttonPrevious\n Select(SELF.listFeq, Choice(SELF.listFeq)-1)\n Post(EVENT:NewSelection, SELF.listFeq)\n END\n END\n\n RETURN \n\nce_MetroWizardForm.TakeNewSelection PROCEDURE() !,VIRTUAL\nselectedTabFeq SIGNED\n CODE\n \n CASE Field()\n OF SELF.sheetFeq \n selectedTabFeq = SELF.sheetFeq{PROP:ChoiceFEQ}\n IF SELF.promptTabHeader > 0 \n SELF.promptTabHeader{PROP:Text} = Choose(SELF.promptTabHeaderUpper=TRUE, Upper(selectedTabFeq{PROP:Text}), selectedTabFeq{PROP:Text})\n END\n IF SELF.promptTabDetail > 0\n SELF.promptTabDetail{PROP:Text} = Choose(SELF.promptTabDetailUpper=TRUE, Upper(selectedTabFeq{PROP:Tip}), selectedTabFeq{PROP:Tip})\n END \n \n IF selectedTabFeq{PROP:ChildIndex} = SELF.sheetFeq{PROP:NumTabs}\n SELF.buttonOK{PROP:Hide} = FALSE\n SELF.buttonNext{PROP:Hide} = TRUE\n ELSE\n SELF.buttonOK{PROP:Hide} = TRUE\n SELF.buttonNext{PROP:Hide} = FALSE\n END\n \n IF selectedTabFeq{PROP:ChildIndex} = 1\n SELF.buttonPrevious{PROP:Hide} = TRUE\n ELSE\n SELF.buttonPrevious{PROP:Hide} = FALSE\n END \n END \n \nce_MetroWizardForm.SetHeaderIcon PROCEDURE(STRING pText)\n CODE\n SELF.headerImageFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptHeaderFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetListHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptListTitleFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetFooterText PROCEDURE(STRING pText)\n CODE\n SELF.promptFooterFeq{PROP:Text} = pText\n","returncode":0,"stderr":"","license":"mit","lang":"Clarion"} {"commit":"224842e57dcee3fcf2a59cbd300141bc7a1b3c0e","subject":"remove unnecessary quote that breaks syntax highlighting","message":"remove unnecessary quote that breaks syntax highlighting","repos":"fushnisoft\/ClarionMetroWizard,fushnisoft\/ClarionMetroWizard","old_file":"_classes\/ce_TabList.clw","new_file":"_classes\/ce_TabList.clw","new_contents":"! http:\/\/clarionedge.com, http:\/\/fushnisoft.com\n! Licensed under the MIT license: https:\/\/github.com\/fushnisoft\/ClarionMetroWizard\/blob\/master\/LICENSE.txt \n\n Member()\n omit('***$***',_VER_C55)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***$***\n Include('Equates.CLW'),ONCE\n Include('Keycodes.CLW'),ONCE\n Include('Errors.CLW'),ONCE\nOmit('!!!Docs!!!')\n\nClass Methods\n=============\n\n!!!Docs!!!\n Map\n End ! map\n Include('ce_TabList.inc'),ONCE\nce_TabList.Construct PROCEDURE()\n CODE\n SELF.boxMargin = 4\n SELF.backgroundImage = '~header_grey.bmp'\n SELF.listLineHeightAdjustment = 6\n SELF.listValuesUpperCase = TRUE\n SELF.listValuesBold = FALSE\n \nce_TabList.Destruct PROCEDURE \n CODE\n IF NOT SELF.tabQ &= NULL\n DISPOSE(SELF.tabQ)\n END\n \nce_TabList.Init PROCEDURE (WindowManager pWM, SIGNED pSheetFeq, BYTE pSkipChecksAndOptions=FALSE, BYTE pHideCaption=FALSE)\nsavePixels BYTE\nOmit('!!!Docs!!!')\n\n.. _method-ce_tablist.init:\n\n---------------\nce_TabList.Init\n---------------\n\nBefore using any other methods you **must** call this Init method. \n\n**Syntax**::\n\n Init (WindowManager pWM, SIGNED pSheetFeq)\n\n.. describe:: Parameters:\n\n| *pWM*\n| Type: *WindowManager* \n\n The window manager to call AddItem on\n\n| *pSheetFeq*\n| Type: *SIGNED*\n\n FEQ value of the Sheet control to be adjusted.\n\n!!!Docs!!!\n\n CODE\n \n savePixels = 0{PROP:Pixels}\n 0{PROP:Pixels} = TRUE\n\n SELF.sheetFeq = pSheetFeq\n IF SELF.sheetFeq{PROP:Left} = FALSE OR SELF.sheetFeq{PROP:LeftOffSet} = 0\n Message('ce_TabList.Init||' & |\n 'Developer note: You need to design the window with the TABs on the left.|' & |\n ' AND set the width of the tabs manually!')\n END\n\n pWM.AddItem(SELF.WindowComponent)\n\n SELF.boxFeq = Create(0, CREATE:box)\n SELF.backgroundImageFeq = Create(0, CREATE:image, 0)\n SELF.backgroundImageFeq{PROP:Text} = SELF.backgroundImage\n SELF.listFeq = Create(0, CREATE:list)\n\n SELF.listFeq{PROP:Xpos} = SELF.sheetFeq{PROP:Xpos}\n SELF.listFeq{PROP:Ypos} = SELF.sheetFeq{PROP:Ypos}\n SELF.listFeq{PROP:Width} = SELF.sheetFeq{PROP:LeftOffSet} - (SELF.boxMargin\/2)\n SELF.listFeq{PROP:Height} = SELF.sheetFeq{PROP:Height} \n\n SELF.sheetFeq{PROP:Xpos} = SELF.sheetFeq{PROP:Xpos} + (SELF.boxMargin\/2)\n SELF.sheetFeq{PROP:Width} = SELF.sheetFeq{PROP:Width} - SELF.boxMargin\n SELF.sheetFeq{PROP:Wizard} = TRUE\n SELF.sheetFeq{PROP:Trn} = TRUE\n\n ! Setup list style properties\n SELF.listFeq{PROP:Flat} = TRUE\n SELF.listFeq{PROP:Hide} = FALSE\n SELF.listFeq{PROP:Tip} = '.' ! <-- required to make cell tips work!!\n SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + SELF.listLineHeightAdjustment\n SELF.listFeq{PROPLIST:Underline} = TRUE\n SELF.listFeq{PROPLIST:Grid} = COLOR:SCROLLBAR\n SELF.listFeq{PROPLIST:CellStyle, 1} = TRUE\n SELF.listFeq{PROPLIST:Tip, 1} = TRUE\n SELF.listFeq{PROPLIST:DefaultTip, 1} = ''\n SELF.listFeq{PROPLIST:TextSelected, 1} = COLOR:Black\n SELF.listFeq{PROPLIST:BackSelected, 1} = 03F9FFEh\n SELF.listFeq{PROPLIST:LeftOffset, 1} = 2\n IF SELF.listValuesBold = TRUE\n SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:bold\n SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:bold+FONT:italic\n ELSE\n SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:regular\n SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:regular+FONT:italic\n END\n \n \n SELF.listFeq{PROPSTYLE:TextSelected, 2} = COLOR:Black\n SELF.listFeq{PROPSTYLE:BackSelected, 2} = 03F9FFEh\n\n SELF.SetupNoSheet(pSkipChecksAndOptions)\n\n 0{PROP:Alrt,255} = CtrlTab\n 0{PROP:Alrt,255} = CtrlShiftTab\n 0{PROP:Pixels} = savePixels\n\n SELF.SetListFrom()\n \nce_TabList.SetListFrom PROCEDURE()\ni LONG\ntabFeq SIGNED\n CODE\n \n IF SELF.tabQ &= NULL\n SELF.tabQ &= New(ce_tabQ_Type)\n Assert(~SELF.tabQ &= NULL,'Instantiating SELF.tabQ in ce_TabList.SetListFrom()')\n ELSE\n Free(SELF.tabQ)\n END\n\n LOOP\n i += 1\n tabFeq = SELF.sheetFeq{PROP:Child, i}\n IF tabFeq = 0\n BREAK\n END\n IF tabFeq{PROP:Hide} = TRUE\n CYCLE\n END\n \n SELF.tabQ.name = SELF.Replace(tabFeq{PROP:Text}, '&', '')\n IF SELF.listValuesUpperCase = TRUE\n SELF.tabQ.name = Upper(SELF.tabQ.name)\n END\n \n SELF.tabQ.cellStyle = 1\n SELF.tabQ.cellTooltip = tabFeq{PROP:Tip}\n Add(SELF.tabQ)\n\n SELF.lastTabFeq = tabFeq\n END\n SELF.listFeq{PROP:From} = SELF.tabQ\n \nce_TabList.WindowComponent.TakeEvent PROCEDURE() !,BYTE \nrv BYTE\n CODE\n rv = PARENT.WindowComponent.TakeEvent()\n\n CASE Event()\n OF EVENT:PreAlertKey\n \n ! Move focus to the list control\n Select(SELF.listFeq)\n IF KeyCode() = CtrlTab\n IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.lastTabFeq\n ! This is to \"wrap\" the selection around the list\n Select(SELF.listFeq, 1)\n Post(EVENT:NewSelection, SELF.listFeq)\n ELSE\n PressKey(DownKey)\n END\n \n ELSIF KeyCode() = CtrlShiftTab\n IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.sheetFeq{PROP:Child, 1}\n ! This is to \"wrap\" the selection around the list\n Select(SELF.listFeq, Records(SELF.tabQ))\n Post(EVENT:NewSelection, SELF.listFeq)\n ELSE\n PressKey(UpKey)\n END\n END\n \n OF EVENT:NewSelection\n IF Field() = SELF.listFeq\n ! Change the style of the selected cell\n ! Reset last choice\n Get(SELF.tabQ, SELF.lastChoice)\n SELF.tabQ.cellStyle = 1\n Put(SELF.tabQ)\n ! Set new choice\n Get(SELF.tabQ, Choice(SELF.listFeq))\n SELF.tabQ.cellStyle = 2\n Put(SELF.tabQ)\n SELF.lastChoice = Choice(SELF.listFeq)\n\n Select(SELF.sheetFeq, Choose(Choice(SELF.listFeq)=0, 1, Choice(SELF.listFeq)))\n Post(EVENT:NewSelection, SELF.sheetFeq)\n END\n SELF.TakeNewSelection()\n \n OF EVENT:OpenWindow\n Select(SELF.listFeq, 1)\n Post(EVENT:NewSelection, SELF.listFeq)\n \n OF EVENT:Accepted\n SELF.TakeAccepted()\n \n END\n\n SELF.TakeEvent()\n \n RETURN rv\n \nce_TabList.SetupNoSheet PROCEDURE(BYTE pSkipChecksAndOptions=FALSE) \nthisFeq SIGNED\ntempFeq SIGNED\noriginalDisplayState BYTE\n CODE\n \n SELF.sheetFeq{PROP:NoSheet} = TRUE\n\n SetPosition(SELF.boxFeq, |\n SELF.sheetFeq{PROP:Xpos}+SELF.sheetFeq{PROP:LeftOffSet} + SELF.boxMargin, |\n SELF.sheetFeq{PROP:Ypos}, |\n SELF.sheetFeq{PROP:Width}-SELF.sheetFeq{PROP:LeftOffSet} - SELF.boxMargin, |\n SELF.sheetFeq{PROP:Height})\n \n SELF.boxFeq{PROP:Color} = COLOR:WINDOWFRAME\n SELF.boxFeq{PROP:Fill} = COLOR:WINDOW\n SELF.boxFeq{PROP:Hide} = FALSE\n\n SetPosition(SELF.backgroundImageFeq, |\n SELF.boxFeq{PROP:Xpos}+2, |\n SELF.boxFeq{PROP:Ypos}+1, |\n SELF.boxFeq{PROP:Width}-4 , |\n SELF.backgroundImageFeq{PROP:Height})\n \n SELF.backgroundImageFeq{PROP:Hide} = FALSE\n\n ! Set all prompts checkboxes and groups and radio controls to transparent so they look pretty on top of our background image\n LOOP\n thisFeq = 0{PROP:NextField, thisFeq}\n IF thisFeq = 0\n BREAK\n END\n IF thisFeq < 0\n CYCLE\n END\n IF InList(thisFeq{PROP:Type}, |\n CREATE:prompt, |\n CREATE:option, |\n CREATE:check, |\n CREATE:radio, |\n CREATE:sstring, |\n CREATE:string) > 0 AND |\n (thisFeq{PROP:Background} = -1 OR thisFeq{PROP:Background} = 0)\n\n IF pSkipChecksAndOptions=TRUE AND |\n InList(thisFeq{PROP:Type}, |\n CREATE:option, |\n CREATE:check, |\n CREATE:radio) > 0\n\n ! Skip these ones though. PROP:Trn is ugly with SkinFramework applied!\n CYCLE\n END\n \n thisFeq{PROP:Trn} = TRUE\n END\n END\n \nce_TabList.Replace PROCEDURE(STRING pFrom, STRING pFind, STRING pReplace) !,STRING\n! FindString , ReplaceWith\nlocate LONG,AUTO\nlastLocate LONG\n CODE\n ! Note: This is hacked out of a much larger dynamic string class\n ! In this implementation it is _assumed_ that the returned string will always be smaller than the pFrom string. Dirty, nasty hacky coding.\n ! Maybe later I will include the full dynamic string class. For now... this is enough for a demo (I use the full classes in production!)\n\n LOOP\n locate = InString(Upper(pFind), Upper(pFrom), 1, lastLocate+1)\n IF ~locate\n BREAK\n END\n\n ! So we dont end up having recursive replacement.\n lastLocate = locate + Len(pReplace)-1\n\n pFrom = Sub(pFrom, 1, locate-1) & |\n pReplace & |\n Sub(pFrom , locate+Len(pFind), Len(pFrom))\n END\n\n RETURN pFrom\n \nce_TabList.TakeAccepted PROCEDURE() !,VIRTUAL\n CODE\nce_TabList.TakeNewSelection PROCEDURE() !,VIRTUAL\n CODE\nce_TabList.TakeEvent PROCEDURE() !,VIRTUAL\n CODE\n","old_contents":"! http:\/\/clarionedge.com, http:\/\/fushnisoft.com\n! Licensed under the MIT license: https:\/\/github.com\/fushnisoft\/ClarionMetroWizard\/blob\/master\/LICENSE.txt \n\n Member()\n omit('***$***',_VER_C55)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***$***\n Include('Equates.CLW'),ONCE\n Include('Keycodes.CLW'),ONCE\n Include('Errors.CLW'),ONCE\nOmit('!!!Docs!!!')\n\nClass Methods\n=============\n\n'!!!Docs!!!\n Map\n End ! map\n Include('ce_TabList.inc'),ONCE\nce_TabList.Construct PROCEDURE()\n CODE\n SELF.boxMargin = 4\n SELF.backgroundImage = '~header_grey.bmp'\n SELF.listLineHeightAdjustment = 6\n SELF.listValuesUpperCase = TRUE\n SELF.listValuesBold = FALSE\n \nce_TabList.Destruct PROCEDURE \n CODE\n IF NOT SELF.tabQ &= NULL\n DISPOSE(SELF.tabQ)\n END\n \nce_TabList.Init PROCEDURE (WindowManager pWM, SIGNED pSheetFeq, BYTE pSkipChecksAndOptions=FALSE, BYTE pHideCaption=FALSE)\nsavePixels BYTE\nOmit('!!!Docs!!!')\n\n.. _method-ce_tablist.init:\n\n---------------\nce_TabList.Init\n---------------\n\nBefore using any other methods you **must** call this Init method. \n\n**Syntax**::\n\n Init (WindowManager pWM, SIGNED pSheetFeq)\n\n.. describe:: Parameters:\n\n| *pWM*\n| Type: *WindowManager* \n\n The window manager to call AddItem on\n\n| *pSheetFeq*\n| Type: *SIGNED*\n\n FEQ value of the Sheet control to be adjusted.\n\n!!!Docs!!!\n\n CODE\n \n savePixels = 0{PROP:Pixels}\n 0{PROP:Pixels} = TRUE\n\n SELF.sheetFeq = pSheetFeq\n IF SELF.sheetFeq{PROP:Left} = FALSE OR SELF.sheetFeq{PROP:LeftOffSet} = 0\n Message('ce_TabList.Init||' & |\n 'Developer note: You need to design the window with the TABs on the left.|' & |\n ' AND set the width of the tabs manually!')\n END\n\n pWM.AddItem(SELF.WindowComponent)\n\n SELF.boxFeq = Create(0, CREATE:box)\n SELF.backgroundImageFeq = Create(0, CREATE:image, 0)\n SELF.backgroundImageFeq{PROP:Text} = SELF.backgroundImage\n SELF.listFeq = Create(0, CREATE:list)\n\n SELF.listFeq{PROP:Xpos} = SELF.sheetFeq{PROP:Xpos}\n SELF.listFeq{PROP:Ypos} = SELF.sheetFeq{PROP:Ypos}\n SELF.listFeq{PROP:Width} = SELF.sheetFeq{PROP:LeftOffSet} - (SELF.boxMargin\/2)\n SELF.listFeq{PROP:Height} = SELF.sheetFeq{PROP:Height} \n\n SELF.sheetFeq{PROP:Xpos} = SELF.sheetFeq{PROP:Xpos} + (SELF.boxMargin\/2)\n SELF.sheetFeq{PROP:Width} = SELF.sheetFeq{PROP:Width} - SELF.boxMargin\n SELF.sheetFeq{PROP:Wizard} = TRUE\n SELF.sheetFeq{PROP:Trn} = TRUE\n\n ! Setup list style properties\n SELF.listFeq{PROP:Flat} = TRUE\n SELF.listFeq{PROP:Hide} = FALSE\n SELF.listFeq{PROP:Tip} = '.' ! <-- required to make cell tips work!!\n SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + SELF.listLineHeightAdjustment\n SELF.listFeq{PROPLIST:Underline} = TRUE\n SELF.listFeq{PROPLIST:Grid} = COLOR:SCROLLBAR\n SELF.listFeq{PROPLIST:CellStyle, 1} = TRUE\n SELF.listFeq{PROPLIST:Tip, 1} = TRUE\n SELF.listFeq{PROPLIST:DefaultTip, 1} = ''\n SELF.listFeq{PROPLIST:TextSelected, 1} = COLOR:Black\n SELF.listFeq{PROPLIST:BackSelected, 1} = 03F9FFEh\n SELF.listFeq{PROPLIST:LeftOffset, 1} = 2\n IF SELF.listValuesBold = TRUE\n SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:bold\n SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:bold+FONT:italic\n ELSE\n SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:regular\n SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:regular+FONT:italic\n END\n \n \n SELF.listFeq{PROPSTYLE:TextSelected, 2} = COLOR:Black\n SELF.listFeq{PROPSTYLE:BackSelected, 2} = 03F9FFEh\n\n SELF.SetupNoSheet(pSkipChecksAndOptions)\n\n 0{PROP:Alrt,255} = CtrlTab\n 0{PROP:Alrt,255} = CtrlShiftTab\n 0{PROP:Pixels} = savePixels\n\n SELF.SetListFrom()\n \nce_TabList.SetListFrom PROCEDURE()\ni LONG\ntabFeq SIGNED\n CODE\n \n IF SELF.tabQ &= NULL\n SELF.tabQ &= New(ce_tabQ_Type)\n Assert(~SELF.tabQ &= NULL,'Instantiating SELF.tabQ in ce_TabList.SetListFrom()')\n ELSE\n Free(SELF.tabQ)\n END\n\n LOOP\n i += 1\n tabFeq = SELF.sheetFeq{PROP:Child, i}\n IF tabFeq = 0\n BREAK\n END\n IF tabFeq{PROP:Hide} = TRUE\n CYCLE\n END\n \n SELF.tabQ.name = SELF.Replace(tabFeq{PROP:Text}, '&', '')\n IF SELF.listValuesUpperCase = TRUE\n SELF.tabQ.name = Upper(SELF.tabQ.name)\n END\n \n SELF.tabQ.cellStyle = 1\n SELF.tabQ.cellTooltip = tabFeq{PROP:Tip}\n Add(SELF.tabQ)\n\n SELF.lastTabFeq = tabFeq\n END\n SELF.listFeq{PROP:From} = SELF.tabQ\n \nce_TabList.WindowComponent.TakeEvent PROCEDURE() !,BYTE \nrv BYTE\n CODE\n rv = PARENT.WindowComponent.TakeEvent()\n\n CASE Event()\n OF EVENT:PreAlertKey\n \n ! Move focus to the list control\n Select(SELF.listFeq)\n IF KeyCode() = CtrlTab\n IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.lastTabFeq\n ! This is to \"wrap\" the selection around the list\n Select(SELF.listFeq, 1)\n Post(EVENT:NewSelection, SELF.listFeq)\n ELSE\n PressKey(DownKey)\n END\n \n ELSIF KeyCode() = CtrlShiftTab\n IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.sheetFeq{PROP:Child, 1}\n ! This is to \"wrap\" the selection around the list\n Select(SELF.listFeq, Records(SELF.tabQ))\n Post(EVENT:NewSelection, SELF.listFeq)\n ELSE\n PressKey(UpKey)\n END\n END\n \n OF EVENT:NewSelection\n IF Field() = SELF.listFeq\n ! Change the style of the selected cell\n ! Reset last choice\n Get(SELF.tabQ, SELF.lastChoice)\n SELF.tabQ.cellStyle = 1\n Put(SELF.tabQ)\n ! Set new choice\n Get(SELF.tabQ, Choice(SELF.listFeq))\n SELF.tabQ.cellStyle = 2\n Put(SELF.tabQ)\n SELF.lastChoice = Choice(SELF.listFeq)\n\n Select(SELF.sheetFeq, Choose(Choice(SELF.listFeq)=0, 1, Choice(SELF.listFeq)))\n Post(EVENT:NewSelection, SELF.sheetFeq)\n END\n SELF.TakeNewSelection()\n \n OF EVENT:OpenWindow\n Select(SELF.listFeq, 1)\n Post(EVENT:NewSelection, SELF.listFeq)\n \n OF EVENT:Accepted\n SELF.TakeAccepted()\n \n END\n\n SELF.TakeEvent()\n \n RETURN rv\n \nce_TabList.SetupNoSheet PROCEDURE(BYTE pSkipChecksAndOptions=FALSE) \nthisFeq SIGNED\ntempFeq SIGNED\noriginalDisplayState BYTE\n CODE\n \n SELF.sheetFeq{PROP:NoSheet} = TRUE\n\n SetPosition(SELF.boxFeq, |\n SELF.sheetFeq{PROP:Xpos}+SELF.sheetFeq{PROP:LeftOffSet} + SELF.boxMargin, |\n SELF.sheetFeq{PROP:Ypos}, |\n SELF.sheetFeq{PROP:Width}-SELF.sheetFeq{PROP:LeftOffSet} - SELF.boxMargin, |\n SELF.sheetFeq{PROP:Height})\n \n SELF.boxFeq{PROP:Color} = COLOR:WINDOWFRAME\n SELF.boxFeq{PROP:Fill} = COLOR:WINDOW\n SELF.boxFeq{PROP:Hide} = FALSE\n\n SetPosition(SELF.backgroundImageFeq, |\n SELF.boxFeq{PROP:Xpos}+2, |\n SELF.boxFeq{PROP:Ypos}+1, |\n SELF.boxFeq{PROP:Width}-4 , |\n SELF.backgroundImageFeq{PROP:Height})\n \n SELF.backgroundImageFeq{PROP:Hide} = FALSE\n\n ! Set all prompts checkboxes and groups and radio controls to transparent so they look pretty on top of our background image\n LOOP\n thisFeq = 0{PROP:NextField, thisFeq}\n IF thisFeq = 0\n BREAK\n END\n IF thisFeq < 0\n CYCLE\n END\n IF InList(thisFeq{PROP:Type}, |\n CREATE:prompt, |\n CREATE:option, |\n CREATE:check, |\n CREATE:radio, |\n CREATE:sstring, |\n CREATE:string) > 0 AND |\n (thisFeq{PROP:Background} = -1 OR thisFeq{PROP:Background} = 0)\n\n IF pSkipChecksAndOptions=TRUE AND |\n InList(thisFeq{PROP:Type}, |\n CREATE:option, |\n CREATE:check, |\n CREATE:radio) > 0\n\n ! Skip these ones though. PROP:Trn is ugly with SkinFramework applied!\n CYCLE\n END\n \n thisFeq{PROP:Trn} = TRUE\n END\n END\n \nce_TabList.Replace PROCEDURE(STRING pFrom, STRING pFind, STRING pReplace) !,STRING\n! FindString , ReplaceWith\nlocate LONG,AUTO\nlastLocate LONG\n CODE\n ! Note: This is hacked out of a much larger dynamic string class\n ! In this implementation it is _assumed_ that the returned string will always be smaller than the pFrom string. Dirty, nasty hacky coding.\n ! Maybe later I will include the full dynamic string class. For now... this is enough for a demo (I use the full classes in production!)\n\n LOOP\n locate = InString(Upper(pFind), Upper(pFrom), 1, lastLocate+1)\n IF ~locate\n BREAK\n END\n\n ! So we dont end up having recursive replacement.\n lastLocate = locate + Len(pReplace)-1\n\n pFrom = Sub(pFrom, 1, locate-1) & |\n pReplace & |\n Sub(pFrom , locate+Len(pFind), Len(pFrom))\n END\n\n RETURN pFrom\n \nce_TabList.TakeAccepted PROCEDURE() !,VIRTUAL\n CODE\nce_TabList.TakeNewSelection PROCEDURE() !,VIRTUAL\n CODE\nce_TabList.TakeEvent PROCEDURE() !,VIRTUAL\n CODE","returncode":0,"stderr":"","license":"mit","lang":"Clarion"} {"commit":"feed8aedc6fdbe99ae80913da2d5975f16ff463c","subject":"\tdeleted: gazo.clw","message":"\tdeleted: gazo.clw\n","repos":"mizutanilab\/RecView,mizutanilab\/RecView","old_file":"source\/gazo.clw","new_file":"source\/gazo.clw","new_contents":"","old_contents":"; CLW t@C MFC ClassWizard \u030f\u0702\u0142\u0702B\n\n[General Info]\nVersion=1\nLastClass=CDlgHistogram\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"gazo.h\"\nLastPage=0\n\nClassCount=10\nClass1=CGazoApp\nClass2=CGazoDoc\nClass3=CGazoView\nClass4=CMainFrame\n\nResourceCount=11\nResource1=IDD_ABOUTBOX\nResource2=IDR_MAINFRAME\nResource3=IDR_GAZOTYPE\nClass5=CChildFrame\nClass6=CAboutDlg\nResource4=IDD_ABOUTBOX (p (\u0636))\nResource5=IDD_QUEUE (p (\u0636))\nResource6=IDR_MENU_POPUP (p (\u0636))\nClass7=CDlgReconst\nResource7=IDR_GAZOTYPE (p (\u0636))\nClass8=CDlgHistogram\nResource8=IDR_MAINFRAME (p (\u0636))\nClass9=CDlgQueue\nResource9=IDD_RECONST (p (\u0636))\nResource10=IDD_HISTOGRAM (p (\u0636))\nClass10=CDlgMessage\nResource11=IDD_MESSAGE (p (\u0636))\n\n[CLS:CGazoApp]\nType=0\nHeaderFile=gazo.h\nImplementationFile=gazo.cpp\nFilter=N\nLastObject=IDM_TOMO_QUEUE\nBaseClass=CWinApp\nVirtualFilter=AC\n\n[CLS:CGazoDoc]\nType=0\nHeaderFile=gazoDoc.h\nImplementationFile=gazoDoc.cpp\nFilter=N\nBaseClass=CDocument\nVirtualFilter=DC\nLastObject=CGazoDoc\n\n[CLS:CGazoView]\nType=0\nHeaderFile=gazoView.h\nImplementationFile=gazoView.cpp\nFilter=C\nBaseClass=CView\nVirtualFilter=VWC\nLastObject=IDM_TOMO_LINE\n\n\n[CLS:CMainFrame]\nType=0\nHeaderFile=MainFrm.h\nImplementationFile=MainFrm.cpp\nFilter=T\nLastObject=ID_TOOLBAR_FNFWD\nBaseClass=CMDIFrameWnd\nVirtualFilter=fWC\n\n\n[CLS:CChildFrame]\nType=0\nHeaderFile=ChildFrm.h\nImplementationFile=ChildFrm.cpp\nFilter=M\n\n\n[CLS:CAboutDlg]\nType=0\nHeaderFile=gazo.cpp\nImplementationFile=gazo.cpp\nFilter=D\nLastObject=CAboutDlg\n\n[DLG:IDD_ABOUTBOX]\nType=1\nControlCount=4\nControl1=IDC_STATIC,static,1342177283\nControl2=IDC_STATIC,static,1342308352\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\nClass=CAboutDlg\n\n[MNU:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_PRINT_SETUP\nCommand4=ID_FILE_MRU_FILE1\nCommand5=ID_APP_EXIT\nCommand6=ID_VIEW_TOOLBAR\nCommand7=ID_VIEW_STATUS_BAR\nCommandCount=8\nCommand8=ID_APP_ABOUT\n\n[TB:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_EDIT_CUT\nCommand5=ID_EDIT_COPY\nCommand6=ID_EDIT_PASTE\nCommand7=ID_FILE_PRINT\nCommandCount=8\nCommand8=ID_APP_ABOUT\n\n[MNU:IDR_GAZOTYPE]\nType=1\nClass=CGazoView\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_CLOSE\nCommand4=ID_FILE_SAVE\nCommand5=ID_FILE_SAVE_AS\nCommand6=ID_FILE_PRINT\nCommand7=ID_FILE_PRINT_PREVIEW\nCommand8=ID_FILE_PRINT_SETUP\nCommand9=ID_FILE_MRU_FILE1\nCommand10=ID_APP_EXIT\nCommand11=ID_EDIT_UNDO\nCommand12=ID_EDIT_CUT\nCommand13=ID_EDIT_COPY\nCommand14=ID_EDIT_PASTE\nCommandCount=21\nCommand15=ID_VIEW_TOOLBAR\nCommand16=ID_VIEW_STATUS_BAR\nCommand17=ID_WINDOW_NEW\nCommand18=ID_WINDOW_CASCADE\nCommand19=ID_WINDOW_TILE_HORZ\nCommand20=ID_WINDOW_ARRANGE\nCommand21=ID_APP_ABOUT\n\n[ACL:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_EDIT_UNDO\nCommand6=ID_EDIT_CUT\nCommand7=ID_EDIT_COPY\nCommand8=ID_EDIT_PASTE\nCommand9=ID_EDIT_UNDO\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_COPY\nCommand12=ID_EDIT_PASTE\nCommandCount=14\nCommand13=ID_NEXT_PANE\nCommand14=ID_PREV_PANE\n\n\n[MNU:IDR_GAZOTYPE (p (\u0636))]\nType=1\nClass=CGazoView\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_CLOSE\nCommand4=ID_FILE_SAVE\nCommand5=ID_FILE_SAVE_AS\nCommand6=ID_FILE_PRINT\nCommand7=ID_FILE_PRINT_PREVIEW\nCommand8=ID_FILE_PRINT_SETUP\nCommand9=ID_FILE_MRU_FILE1\nCommand10=ID_APP_EXIT\nCommand11=ID_EDIT_UNDO\nCommand12=ID_EDIT_CUT\nCommand13=ID_EDIT_COPY\nCommand14=ID_EDIT_PASTE\nCommand15=IDM_TOMO_RECONST\nCommand16=IDM_TOMO_HISTG\nCommand17=IDM_TOMO_QUEUE\nCommand18=IDM_TOMO_AXIS\nCommand19=IDM_TOMO_STAT\nCommand20=IDM_TOMO_LINE\nCommand21=ID_VIEW_TOOLBAR\nCommand22=ID_VIEW_STATUS_BAR\nCommand23=ID_WINDOW_NEW\nCommand24=ID_WINDOW_CASCADE\nCommand25=ID_WINDOW_TILE_HORZ\nCommand26=ID_WINDOW_ARRANGE\nCommand27=ID_APP_ABOUT\nCommand28=IDM_HLP_DEBUG\nCommandCount=28\n\n[MNU:IDR_MAINFRAME (p (\u0636))]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_PRINT_SETUP\nCommand4=ID_FILE_MRU_FILE1\nCommand5=ID_APP_EXIT\nCommand6=IDM_TOMO_QUEUE\nCommand7=ID_VIEW_TOOLBAR\nCommand8=ID_VIEW_STATUS_BAR\nCommand9=ID_APP_ABOUT\nCommand10=IDM_HLP_DEBUG\nCommandCount=10\n\n[DLG:IDD_ABOUTBOX (p (\u0636))]\nType=1\nClass=CAboutDlg\nControlCount=7\nControl1=IDC_STATIC,static,1342177283\nControl2=IDOK,button,1342373889\nControl3=IDC_STATIC,static,1342308480\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_STATIC,static,1342308352\n\n[TB:IDR_MAINFRAME (p (\u0636))]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_EDIT_CUT\nCommand5=ID_EDIT_COPY\nCommand6=ID_EDIT_PASTE\nCommand7=ID_FILE_PRINT\nCommand8=ID_APP_ABOUT\nCommand9=ID_TOOLBAR_MAG\nCommand10=ID_TOOLBAR_MIN\nCommand11=ID_TOOLBAR_BRIGHT\nCommand12=ID_TOOLBAR_DARK\nCommand13=ID_TOOLBAR_CNTUP\nCommand14=ID_TOOLBAR_CNTDOWN\nCommand15=ID_TOOLBAR_FNFR\nCommand16=ID_TOOLBAR_FNREV\nCommand17=ID_TOOLBAR_FNSR\nCommand18=ID_TOOLBAR_FNSF\nCommand19=ID_TOOLBAR_FNFWD\nCommand20=ID_TOOLBAR_FNFF\nCommandCount=20\n\n[ACL:IDR_MAINFRAME (p (\u0636))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_EDIT_UNDO\nCommand6=ID_EDIT_CUT\nCommand7=ID_EDIT_COPY\nCommand8=ID_EDIT_PASTE\nCommand9=ID_EDIT_UNDO\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_COPY\nCommand12=ID_EDIT_PASTE\nCommand13=ID_NEXT_PANE\nCommand14=ID_PREV_PANE\nCommandCount=14\n\n[DLG:IDD_RECONST (p (\u0636))]\nType=1\nClass=CDlgReconst\nControlCount=29\nControl1=IDC_RECONST_SHOW1,button,1342242817\nControl2=IDOK,button,1342242816\nControl3=IDCANCEL,button,1342242816\nControl4=IDC_RECONST_SLICE1,edit,1350631552\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_RECONST_CENT1,edit,1350631552\nControl8=IDC_RECONST_SLICE2,edit,1350631552\nControl9=IDC_STATIC,static,1342308352\nControl10=IDC_RECONST_CENT2,edit,1350631552\nControl11=IDC_RECONST_QUEUE,button,1342242816\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_RECONST_PIXEL,edit,1350631552\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_RECONST_AUTO1,button,1342242816\nControl17=IDC_RECONST_FILTER,combobox,1344339971\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_RECONST_AUTO2,button,1342242816\nControl20=IDC_RECONST_SUFFIX,edit,1350631552\nControl21=IDC_STATIC,static,1342308352\nControl22=IDC_RECONST_SHOW2,button,1342242816\nControl23=IDC_STATIC,static,1342308352\nControl24=IDC_RECONST_CUTOFF,edit,1350631552\nControl25=IDC_STATIC,static,1342308352\nControl26=IDC_RECONST_ORDER,edit,1484849280\nControl27=IDC_RECONST_STOP,button,1342242816\nControl28=IDC_RECONST_PROGRESS,msctls_progress32,1350565888\nControl29=IDC_RECONST_INTP,combobox,1344339971\n\n[CLS:CDlgReconst]\nType=0\nHeaderFile=DlgReconst.h\nImplementationFile=DlgReconst.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=IDC_RECONST_INTP\n\n[DLG:IDD_HISTOGRAM (p (\u0636))]\nType=1\nClass=CDlgHistogram\nControlCount=34\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_HISTG_BITMAP,static,1342183438\nControl4=IDC_HISTG_HSTMAX,static,1342308352\nControl5=IDC_HISTG_HSTLOW,static,1342308352\nControl6=IDC_HISTG_HSTHIGH,static,1342308352\nControl7=IDC_HISTG_MAG,msctls_updown32,1342177312\nControl8=IDC_HISTG_HSTUNIT,static,1342308352\nControl9=IDC_HISTG_CURSLOW,edit,1350631552\nControl10=IDC_HISTG_CURSHIGH,edit,1350631552\nControl11=IDC_HISTG_QUEUE,button,1342242816\nControl12=IDC_HISTG_PREVIEW,button,1342242819\nControl13=IDC_STATIC,button,1342177287\nControl14=IDC_HISTG_TRMCENTX,edit,1350631552\nControl15=IDC_HISTG_TRMCENTY,edit,1350631552\nControl16=IDC_STATIC,static,1342308352\nControl17=IDC_STATIC,static,1342308352\nControl18=IDC_STATIC,static,1342308352\nControl19=IDC_HISTG_TRMSIZEX,edit,1350631552\nControl20=IDC_HISTG_TRMSIZEY,edit,1350631552\nControl21=IDC_STATIC,static,1342308352\nControl22=IDC_HISTG_TRMANGLE,edit,1350631552\nControl23=IDC_STATIC,static,1342308352\nControl24=IDC_STATIC,static,1342308352\nControl25=IDC_HISTG_FILEMSG,static,1342308352\nControl26=IDC_HISTG_PREFIX,edit,1350631552\nControl27=IDC_STATIC,static,1342308352\nControl28=IDC_HISTG_GETPATH,button,1342242816\nControl29=IDC_HISTG_PROGRESS,msctls_progress32,1350565888\nControl30=IDC_HISTG_TRMAVRG,edit,1350631552\nControl31=IDC_STATIC,static,1342308352\nControl32=IDC_HISTG_ENTRIM,button,1342242819\nControl33=IDC_HISTG_BOXMSG,static,1342308352\nControl34=IDC_HISTG_16BIT,button,1342242819\n\n[CLS:CDlgHistogram]\nType=0\nHeaderFile=DlgHistogram.h\nImplementationFile=DlgHistogram.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=IDC_HISTG_CURSLOW\n\n[DLG:IDD_QUEUE (p (\u0636))]\nType=1\nClass=CDlgQueue\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_QUEUE_LIST,SysListView32,1350631553\nControl4=IDC_QUEUE_STOP,button,1342242816\nControl5=IDC_QUEUE_FINAL,button,1342242819\n\n[CLS:CDlgQueue]\nType=0\nHeaderFile=DlgQueue.h\nImplementationFile=DlgQueue.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=IDC_QUEUE_FINAL\n\n[MNU:IDR_MENU_POPUP (p (\u0636))]\nType=1\nClass=?\nCommand1=ID_POPUPQUEUE_DEL\nCommand2=ID_POPUPQUEUE_UP\nCommand3=ID_POPUPQUEUE_DOWN\nCommandCount=3\n\n[DLG:IDD_MESSAGE (p (\u0636))]\nType=1\nClass=CDlgMessage\nControlCount=2\nControl1=IDOK,button,1342242817\nControl2=IDC_MSG_TEXT,edit,1352734724\n\n[CLS:CDlgMessage]\nType=0\nHeaderFile=DlgMessage.h\nImplementationFile=DlgMessage.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=CDlgMessage\n\n","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Clarion"} {"commit":"0041aa7fe3a213e40eea1b2a457aa6880511bdb7","subject":"better fit","message":"better fit\n","repos":"fushnisoft\/ClarionMetroWizard,fushnisoft\/ClarionMetroWizard","old_file":"ce_MetroWizardForm.clw","new_file":"ce_MetroWizardForm.clw","new_contents":"! http:\/\/clarionedge.com, http:\/\/fushnisoft.com\n! Licensed under the MIT license: https:\/\/github.com\/fushnisoft\/ClarionMetroWizard\/blob\/master\/LICENSE.txt \n\n Member()\n omit('***$***',_VER_C55)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***$***\n Include('Equates.CLW'),ONCE\n Include('Keycodes.CLW'),ONCE\n Include('Errors.CLW'),ONCE\n Map\n End ! map\n Include('ce_MetroWizardForm.inc'),ONCE\n\nce_MetroWizardForm.Construct PROCEDURE \n CODE\n \n SELF.headerHeight = 40\n SELF.footerHeight = 80\n\n SELF.listTitleFontSize = 16\n SELF.headerFontSize = 14\n SELF.footerFontSize = 9\n \n SELF.lightColor = 0D1B171H\n SELF.darkColor = 04F453Ch\n SELF.fontColor = COLOR:White\n SELF.fontSelectedColor = COLOR:Black\n \n SELF.promptTabHeaderUpper = FALSE\n SELF.promptTabDetailUpper = TRUE\n \n SELF.headerImage = '~header_ce_metro_24x24.ico'\n \n SELF.buttonCloseIcon = '~cancel_ce_metro_24x24.ico'\n SELF.buttonNextIcon = '~navigation-right_ce_metro_24x24.ico'\n SELF.buttonPreviousIcon = '~navigation-left_ce_metro_24x24.ico'\n SELF.buttonOKIcon = '~thumb_up_ce_metro_24x24.ico'\n\n SELF.themeColors[1, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[1, CMW_COLOR_LIGHT] = 000b3f4h\n SELF.themeColors[2, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[2, CMW_COLOR_LIGHT] = 00ab78h\n SELF.themeColors[3, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[3, CMW_COLOR_LIGHT] = 0ed7327h\n SELF.themeColors[4, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[4, CMW_COLOR_LIGHT] = 03e11aeh\n SELF.themeColors[5, CMW_COLOR_DARK] = 0001631h\n SELF.themeColors[5, CMW_COLOR_LIGHT] = 0002f63h\n SELF.themeColors[6, CMW_COLOR_DARK] = 0040055h\n SELF.themeColors[6, CMW_COLOR_LIGHT] = 0011db1h\n SELF.themeColors[7, CMW_COLOR_DARK] = 03a024fh\n SELF.themeColors[7, CMW_COLOR_LIGHT] = 04f00c1h\n SELF.themeColors[8, CMW_COLOR_DARK] = 051022eh\n SELF.themeColors[8, CMW_COLOR_LIGHT] = 0ad0072h\n SELF.themeColors[9, CMW_COLOR_DARK] = 065001dh\n SELF.themeColors[9, CMW_COLOR_LIGHT] = 0b51746h\n SELF.themeColors[10, CMW_COLOR_DARK] = 04f2100h\n SELF.themeColors[10, CMW_COLOR_LIGHT] = 0c06a00h\n SELF.themeColors[11, CMW_COLOR_DARK] = 05e4800h\n SELF.themeColors[11, CMW_COLOR_LIGHT] = 0878300h\n SELF.themeColors[12, CMW_COLOR_DARK] = 0004900h\n SELF.themeColors[12, CMW_COLOR_LIGHT] = 0009918h\n SELF.themeColors[13, CMW_COLOR_DARK] = 02c9917h\n SELF.themeColors[13, CMW_COLOR_LIGHT] = 040c100h\n SELF.themeColors[14, CMW_COLOR_DARK] = 01b6be6h\n SELF.themeColors[14, CMW_COLOR_LIGHT] = 01d99ffh\n SELF.themeColors[15, CMW_COLOR_DARK] = 01e1db9h\n SELF.themeColors[15, CMW_COLOR_LIGHT] = 0132effh\n SELF.themeColors[16, CMW_COLOR_DARK] = 06a1ab3h\n SELF.themeColors[16, CMW_COLOR_LIGHT] = 0771dffh\n SELF.themeColors[17, CMW_COLOR_DARK] = 0b41c68h\n SELF.themeColors[17, CMW_COLOR_LIGHT] = 0ff3faah\n SELF.themeColors[18, CMW_COLOR_DARK] = 0ba5719h\n SELF.themeColors[18, CMW_COLOR_LIGHT] = 0ffae20h\n SELF.themeColors[19, CMW_COLOR_DARK] = 0e59b59h\n SELF.themeColors[19, CMW_COLOR_LIGHT] = 0ffc557h\n SELF.themeColors[20, CMW_COLOR_DARK] = 0a8a800h\n SELF.themeColors[20, CMW_COLOR_LIGHT] = 0cdd800h\n SELF.themeColors[21, CMW_COLOR_DARK] = 01bba82h\n SELF.themeColors[21, CMW_COLOR_LIGHT] = 000d191h\n SELF.themeColors[22, CMW_COLOR_DARK] = 0099dd3h\n SELF.themeColors[22, CMW_COLOR_LIGHT] = 000b7e1h\n SELF.themeColors[23, CMW_COLOR_DARK] = 0bb65e1h\n SELF.themeColors[23, CMW_COLOR_LIGHT] = 0bc76ffh\n SELF.themeColors[24, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[24, CMW_COLOR_LIGHT] = 0a5a400h\n SELF.themeColors[25, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[25, CMW_COLOR_LIGHT] = 0237dffh\n\nce_MetroWizardForm.Init PROCEDURE (WindowManager pWM, SIGNED pSheetFeq)\nsavePixels BYTE\n CODE\n \n ! Make sure the sheet is set to the width of the window\n pSheetFeq{PROP:Xpos} = 0\n pSheetFeq{PROP:Width} = 0{PROP:Width}\n \n ! Init the parent TabList class\n SELF.Init(pWm, pSheetFeq, TRUE)\n \n savePixels = 0{PROP:Pixels}\n 0{PROP:Pixels} = TRUE\n SELF.MoveOriginalControls()\n SELF.CreateControls()\n SELF.SetupWindow()\n SELF.SetupButtons()\n SELF.ApplyColors(SELF.darkColor, SELF.lightColor)\n\n 0{PROP:Pixels} = FALSE\n\nce_MetroWizardForm.MoveOriginalControls PROCEDURE()\nthisFeq SIGNED\n CODE\n LOOP\n thisFeq = 0{PROP:NextField, thisFeq}\n IF thisFeq = 0\n BREAK\n END\n CASE thisFeq\n OF SELF.backgroundImageFeq\n OROF SELF.boxFeq\n OROF SELF.boxFooterFeq\n OROF SELF.boxHeaderFeq\n OROF SELF.boxListTitleFeq\n OROF SELF.buttonClose\n OROF SELF.buttonNext\n OROF SELF.buttonOK\n OROF SELF.buttonPrevious\n OROF SELF.headerImageFeq\n OROF SELF.lastTabFeq\n OROF SELF.listFeq\n CYCLE\n END\n IF thisFeq < 0 OR thisFeq{PROP:Type} => CREATE:toolbar\n CYCLE\n END\n \n thisFeq{PROP:Ypos} = thisFeq{PROP:Ypos} + SELF.headerHeight\n END\n\nce_MetroWizardForm.SetupWindow PROCEDURE()\nposG Group(PositionGroup)\n END\n CODE\n \n ! Do some messing around to position all the controls...\n ! This first bit is to re-arrange the controls added by the PARENT TabList class\n SELF.boxFeq{PROP:Xpos} = SELF.listFeq{PROP:Width} - 1\n SELF.boxFeq{PROP:Ypos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.boxFooterFeq{PROP:YPos} - 1\n SELF.boxFeq{PROP:Width} = 0{PROP:Width} - SELF.boxFeq{PROP:Xpos} + 2\n \n SELF.backgroundImageFeq{PROP:Xpos} = SELF.boxFeq{PROP:Xpos}\n SELF.backgroundImageFeq{PROP:Ypos} = SELF.boxFeq{PROP:Ypos}\n SELF.backgroundImageFeq{PROP:Width} = SELF.boxFeq{PROP:Width}\n\n SELF.boxHeaderFeq{PROP:Width} = 0{PROP:Width}\n \n SELF.boxFooterFeq{PROP:Width} = 0{PROP:Width}\n !SELF.boxFooterFeq{PROP:Height} = 0{PROP:Height} - SELF.boxFooterFeq{PROP:Ypos} + 20\n \n SELF.boxListTitleFeq{PROP:XPos} = 0\n SELF.boxListTitleFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxListTitleFeq{PROP:Width} = SELF.listFeq{PROP:Width}+1\n \n SELF.listFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height} + SELF.boxListTitleFeq{PROP:Height} - 1\n SELF.listFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.listFeq{PROP:YPos} \n SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1\n SELF.listFeq{PROP:Width} = SELF.listFeq{PROP:Width} + 1\n\n SELF.promptListTitleFeq{PROP:XPos} = 8\n SELF.promptListTitleFeq{PROP:YPos} = SELF.boxListTitleFeq{PROP:YPos} + (SELF.boxListTitleFeq{PROP:Height}\/3)\n \n SELF.listFeq{PROP:Trn} = FALSE\n \n !SELF.listFeq{PROPSTYLE:FontSize, 1} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 1} = 4\n \n !SELF.listFeq{PROPSTYLE:FontSize, 2} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 2} = 6\n \n SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + 6\n \n SELF.promptHeaderFeq{PROP:Xpos} = 40\n SELF.promptHeaderFeq{PROP:Ypos} = 6\n \n SELF.promptFooterFeq{PROP:Xpos} = 20\n SELF.promptFooterFeq{PROP:Ypos} = 0{PROP:Height} - 30\n \n SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1\n GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)\n SELF.listBorderFeq = Create(0, CREATE:region)\n SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)\n SELF.listBorderFeq{PROP:Hide} = FALSE\n \nce_MetroWizardForm.SetupButtons PROCEDURE()\n CODE\n IF SELF.buttonClose > 0\n SELF.SetButtonStyle(SELF.buttonClose, SELF.buttonCloseIcon)\n SELF.buttonClose{PROP:Xpos} = 0{PROP:Width} - SELF.buttonClose{PROP:Width} - 20\n END\n IF SELF.buttonNext > 0\n SELF.SetButtonStyle(SELF.buttonNext, SELF.buttonNextIcon)\n SELF.buttonNext{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonNext{PROP:Width}*2) - 30\n END\n IF SELF.buttonOK > 0\n SELF.SetButtonStyle(SELF.buttonOK, SELF.buttonOKIcon)\n SELF.buttonOK{PROP:Xpos} = SELF.buttonNext{PROP:XPos}\n SELF.buttonOK{PROP:Hide} = TRUE\n END \n IF SELF.buttonPrevious > 0\n SELF.SetButtonStyle(SELF.buttonPrevious, SELF.buttonPreviousIcon)\n SELF.buttonPrevious{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonPrevious{PROP:Width}*3) - 40\n END\n\n \nce_MetroWizardForm.SetButtonStyle PROCEDURE(SIGNED pFeq, STRING pIcon) !,VIRTUAL\n CODE\n\n pFeq{PROP:Width} = 62\n pFeq{PROP:Height} = 56\n pFeq{PROP:Xpos} = 0{PROP:Width} - pFeq{PROP:Width} - 20\n pFeq{PROP:Ypos} = 0{PROP:Height} - pFeq{PROP:Height} - 10 \n pFeq{PROP:Flat} = TRUE\n pFeq{PROP:Trn} = TRUE\n IF pFeq{PROP:Icon} = '' \n pFeq{PROP:Icon} = pIcon\n END\n \n \n\nce_MetroWizardForm.CreateControls PROCEDURE()!,VIRTUAL\n CODE\n\n ! Create a bunch of controls used by the window\n ! ==========================================\n SELF.boxHeaderFeq = Create(0, CREATE:box)\n SetPosition(SELF.boxHeaderFeq, 0, 0, 0{PROP:Width}, SELF.headerHeight)\n SELF.boxHeaderFeq{PROP:Hide} = FALSE\n\n SELF.boxFooterFeq = Create(0, CREATE:box)\n SETPOSITION(SELF.boxFooterFeq, 0, 0{PROP:Height} - SELF.footerHeight, 0{PROP:Width}, SELF.footerHeight) \n SELF.boxFooterFeq{PROP:Hide} = FALSE\n \n SELF.boxListTitleFeq = CREATE(0, CREATE:box)\n ! SETPOSITION <-- happens later\n SELF.boxListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptListTitleFeq = CREATE(0, CREATE:prompt)\n SELF.promptListTitleFeq{PROP:FontSize} = SELF.listTitleFontSize\n SELF.promptListTitleFeq{PROP:Text} = 'List Title'\n SELF.promptListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptHeaderFeq = CREATE(0, CREATE:prompt)\n SELF.promptHeaderFeq{PROP:FontSize} = SELF.headerFontSize\n SELF.promptHeaderFeq{PROP:Text} = 'Header'\n SELF.promptHeaderFeq{PROP:Hide} = FALSE\n\n SELF.promptFooterFeq = CREATE(0, CREATE:prompt)\n SELF.promptFooterFeq{PROP:FontSize} = SELF.footerFontSize\n SELF.promptFooterFeq{PROP:Text} = 'Footer'\n SELF.promptFooterFeq{PROP:Hide} = FALSE\n\n SELF.headerImageFeq = Create(0, CREATE:image)\n SETPOSITION(SELF.headerImageFeq, 6, 8, 24, 24)\n SELF.headerImageFeq{PROP:Text} = SELF.headerImage\n SELF.headerImageFeq{PROP:Hide} = FALSE\n ! ==========================================\n\nce_MetroWizardForm.SetTheme PROCEDURE(BYTE pThemeNumber)!,VIRTUAL\n CODE\n IF pThemeNumber > 0 AND pThemeNumber < 26\n SELF.ApplyColors(SELF.themeColors[pThemeNumber, CMW_COLOR_DARK], SELF.themeColors[pThemeNumber, CMW_COLOR_LIGHT])\n END\n \nce_MetroWizardForm.ApplyColors PROCEDURE(LONG pDarkColor, LONG pLightColor)!,VIRTUAL\nbuttonFeq SIGNED\ni LONG\n CODE\n \n SELF.lightColor = pLightColor\n SELF.darkColor = pDarkColor\n \n SELF.boxFeq{PROP:Color} = COLOR:WINDOW\n\n SELF.listFeq{PROP:Background} = SELF.lightColor\n SELF.listFeq{PROP:Color} = SELF.lightColor\n\n SELF.listFeq{PROPLIST:TextSelected, 1} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 1} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:TextSelected, 2} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:Grid, 1} = SELF.listFeq{PROP:Background}\n SELF.listFeq{PROPLIST:Grid, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listBorderFeq{PROP:Color} = SELF.listFeq{PROP:Background}\n\n LOOP\n i += 1\n EXECUTE i\n buttonFeq = SELF.buttonClose\n buttonFeq = SELF.buttonNext\n buttonFeq = SELF.buttonOK\n buttonFeq = SELF.buttonPrevious\n ELSE\n BREAK\n END\n IF buttonFeq = 0\n CYCLE\n END\n \n buttonFeq{PROP:FontColor} = SELF.fontColor\n buttonFeq{PROP:FontStyle} = FONT:bold\n buttonFeq{PROP:Background} = SELF.darkColor\n END\n \n SELF.boxHeaderFeq{PROP:Color} = SELF.darkColor\n SELF.boxHeaderFeq{PROP:Fill} = SELF.darkColor\n\n SELF.boxFooterFeq{PROP:Color} = SELF.darkColor\n SELF.boxFooterFeq{PROP:Fill} = SELF.darkColor \n\n SELF.boxListTitleFeq{PROP:Color} = SELF.lightColor\n SELF.boxListTitleFeq{PROP:Fill} = SELF.lightColor\n\n SELF.promptListTitleFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptListTitleFeq{PROP:Color} = SELF.lightColor\n\n SELF.promptHeaderFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptHeaderFeq{PROP:Color} = SELF.darkColor\n\n SELF.promptFooterFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptFooterFeq{PROP:Color} = SELF.darkColor\n\nce_MetroWizardForm.TakeAccepted PROCEDURE() !,VIRTUAL\n CODE\n\n CASE Event()\n OF EVENT:Accepted\n CASE ACCEPTED()\n OF SELF.buttonNext\n Select(SELF.listFeq, Choice(SELF.listFeq)+1)\n Post(EVENT:NewSelection, SELF.listFeq)\n OF SELF.buttonPrevious\n Select(SELF.listFeq, Choice(SELF.listFeq)-1)\n Post(EVENT:NewSelection, SELF.listFeq)\n END\n END\n\n RETURN \n\nce_MetroWizardForm.TakeNewSelection PROCEDURE() !,VIRTUAL\nselectedTabFeq SIGNED\n CODE\n \n CASE Field()\n OF SELF.sheetFeq \n selectedTabFeq = SELF.sheetFeq{PROP:ChoiceFEQ}\n IF SELF.promptTabHeader > 0 \n SELF.promptTabHeader{PROP:Text} = Choose(SELF.promptTabHeaderUpper=TRUE, Upper(selectedTabFeq{PROP:Text}), selectedTabFeq{PROP:Text})\n END\n IF SELF.promptTabDetail > 0\n SELF.promptTabDetail{PROP:Text} = Choose(SELF.promptTabDetailUpper=TRUE, Upper(selectedTabFeq{PROP:Tip}), selectedTabFeq{PROP:Tip})\n END \n \n IF selectedTabFeq{PROP:ChildIndex} = SELF.sheetFeq{PROP:NumTabs}\n SELF.buttonOK{PROP:Hide} = FALSE\n SELF.buttonNext{PROP:Hide} = TRUE\n ELSE\n SELF.buttonOK{PROP:Hide} = TRUE\n SELF.buttonNext{PROP:Hide} = FALSE\n END\n \n IF selectedTabFeq{PROP:ChildIndex} = 1\n SELF.buttonPrevious{PROP:Hide} = TRUE\n ELSE\n SELF.buttonPrevious{PROP:Hide} = FALSE\n END \n END \n \nce_MetroWizardForm.SetHeaderIcon PROCEDURE(STRING pText)\n CODE\n SELF.headerImageFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptHeaderFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetListHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptListTitleFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetFooterText PROCEDURE(STRING pText)\n CODE\n SELF.promptFooterFeq{PROP:Text} = pText\n","old_contents":"! http:\/\/clarionedge.com, http:\/\/fushnisoft.com\n! Licensed under the MIT license: https:\/\/github.com\/fushnisoft\/ClarionMetroWizard\/blob\/master\/LICENSE.txt \n\n Member()\n omit('***$***',_VER_C55)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***$***\n Include('Equates.CLW'),ONCE\n Include('Keycodes.CLW'),ONCE\n Include('Errors.CLW'),ONCE\n Map\n End ! map\n Include('ce_MetroWizardForm.inc'),ONCE\n\nce_MetroWizardForm.Construct PROCEDURE \n CODE\n \n SELF.headerHeight = 40\n SELF.footerHeight = 80\n\n SELF.listTitleFontSize = 16\n SELF.headerFontSize = 14\n SELF.footerFontSize = 9\n \n SELF.lightColor = 0D1B171H\n SELF.darkColor = 04F453Ch\n SELF.fontColor = COLOR:White\n SELF.fontSelectedColor = COLOR:Black\n \n SELF.promptTabHeaderUpper = FALSE\n SELF.promptTabDetailUpper = TRUE\n \n SELF.headerImage = '~header_ce_metro_24x24.ico'\n \n SELF.buttonCloseIcon = '~cancel_ce_metro_24x24.ico'\n SELF.buttonNextIcon = '~navigation-right_ce_metro_24x24.ico'\n SELF.buttonPreviousIcon = '~navigation-left_ce_metro_24x24.ico'\n SELF.buttonOKIcon = '~thumb_up_ce_metro_24x24.ico'\n\n SELF.themeColors[1, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[1, CMW_COLOR_LIGHT] = 000b3f4h\n SELF.themeColors[2, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[2, CMW_COLOR_LIGHT] = 00ab78h\n SELF.themeColors[3, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[3, CMW_COLOR_LIGHT] = 0ed7327h\n SELF.themeColors[4, CMW_COLOR_DARK] = 0252525h\n SELF.themeColors[4, CMW_COLOR_LIGHT] = 03e11aeh\n SELF.themeColors[5, CMW_COLOR_DARK] = 0001631h\n SELF.themeColors[5, CMW_COLOR_LIGHT] = 0002f63h\n SELF.themeColors[6, CMW_COLOR_DARK] = 0040055h\n SELF.themeColors[6, CMW_COLOR_LIGHT] = 0011db1h\n SELF.themeColors[7, CMW_COLOR_DARK] = 03a024fh\n SELF.themeColors[7, CMW_COLOR_LIGHT] = 04f00c1h\n SELF.themeColors[8, CMW_COLOR_DARK] = 051022eh\n SELF.themeColors[8, CMW_COLOR_LIGHT] = 0ad0072h\n SELF.themeColors[9, CMW_COLOR_DARK] = 065001dh\n SELF.themeColors[9, CMW_COLOR_LIGHT] = 0b51746h\n SELF.themeColors[10, CMW_COLOR_DARK] = 04f2100h\n SELF.themeColors[10, CMW_COLOR_LIGHT] = 0c06a00h\n SELF.themeColors[11, CMW_COLOR_DARK] = 05e4800h\n SELF.themeColors[11, CMW_COLOR_LIGHT] = 0878300h\n SELF.themeColors[12, CMW_COLOR_DARK] = 0004900h\n SELF.themeColors[12, CMW_COLOR_LIGHT] = 0009918h\n SELF.themeColors[13, CMW_COLOR_DARK] = 02c9917h\n SELF.themeColors[13, CMW_COLOR_LIGHT] = 040c100h\n SELF.themeColors[14, CMW_COLOR_DARK] = 01b6be6h\n SELF.themeColors[14, CMW_COLOR_LIGHT] = 01d99ffh\n SELF.themeColors[15, CMW_COLOR_DARK] = 01e1db9h\n SELF.themeColors[15, CMW_COLOR_LIGHT] = 0132effh\n SELF.themeColors[16, CMW_COLOR_DARK] = 06a1ab3h\n SELF.themeColors[16, CMW_COLOR_LIGHT] = 0771dffh\n SELF.themeColors[17, CMW_COLOR_DARK] = 0b41c68h\n SELF.themeColors[17, CMW_COLOR_LIGHT] = 0ff3faah\n SELF.themeColors[18, CMW_COLOR_DARK] = 0ba5719h\n SELF.themeColors[18, CMW_COLOR_LIGHT] = 0ffae20h\n SELF.themeColors[19, CMW_COLOR_DARK] = 0e59b59h\n SELF.themeColors[19, CMW_COLOR_LIGHT] = 0ffc557h\n SELF.themeColors[20, CMW_COLOR_DARK] = 0a8a800h\n SELF.themeColors[20, CMW_COLOR_LIGHT] = 0cdd800h\n SELF.themeColors[21, CMW_COLOR_DARK] = 01bba82h\n SELF.themeColors[21, CMW_COLOR_LIGHT] = 000d191h\n SELF.themeColors[22, CMW_COLOR_DARK] = 0099dd3h\n SELF.themeColors[22, CMW_COLOR_LIGHT] = 000b7e1h\n SELF.themeColors[23, CMW_COLOR_DARK] = 0bb65e1h\n SELF.themeColors[23, CMW_COLOR_LIGHT] = 0bc76ffh\n SELF.themeColors[24, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[24, CMW_COLOR_LIGHT] = 0a5a400h\n SELF.themeColors[25, CMW_COLOR_DARK] = 0686868h\n SELF.themeColors[25, CMW_COLOR_LIGHT] = 0237dffh\n\nce_MetroWizardForm.Init PROCEDURE (WindowManager pWM, SIGNED pSheetFeq)\nsavePixels BYTE\n CODE\n \n ! Make sure the sheet is set to the width of the window\n pSheetFeq{PROP:Xpos} = 0\n pSheetFeq{PROP:Width} = 0{PROP:Width}\n \n ! Init the parent TabList class\n SELF.Init(pWm, pSheetFeq, TRUE)\n \n savePixels = 0{PROP:Pixels}\n 0{PROP:Pixels} = TRUE\n SELF.MoveOriginalControls()\n SELF.CreateControls()\n SELF.SetupWindow()\n SELF.SetupButtons()\n SELF.ApplyColors(SELF.darkColor, SELF.lightColor)\n\n 0{PROP:Pixels} = FALSE\n\nce_MetroWizardForm.MoveOriginalControls PROCEDURE()\nthisFeq SIGNED\n CODE\n LOOP\n thisFeq = 0{PROP:NextField, thisFeq}\n IF thisFeq = 0\n BREAK\n END\n CASE thisFeq\n OF SELF.backgroundImageFeq\n OROF SELF.boxFeq\n OROF SELF.boxFooterFeq\n OROF SELF.boxHeaderFeq\n OROF SELF.boxListTitleFeq\n OROF SELF.buttonClose\n OROF SELF.buttonNext\n OROF SELF.buttonOK\n OROF SELF.buttonPrevious\n OROF SELF.headerImageFeq\n OROF SELF.lastTabFeq\n OROF SELF.listFeq\n CYCLE\n END\n IF thisFeq < 0 OR thisFeq{PROP:Type} => CREATE:toolbar\n CYCLE\n END\n \n thisFeq{PROP:Ypos} = thisFeq{PROP:Ypos} + SELF.headerHeight\n END\n\nce_MetroWizardForm.SetupWindow PROCEDURE()\nposG Group(PositionGroup)\n END\n CODE\n \n ! Do some messing around to position all the controls...\n ! This first bit is to re-arrange the controls added by the PARENT TabList class\n SELF.boxFeq{PROP:Xpos} = SELF.listFeq{PROP:Width} - 1\n SELF.boxFeq{PROP:Ypos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.boxFooterFeq{PROP:YPos} - 1\n SELF.boxFeq{PROP:Width} = 0{PROP:Width} - SELF.boxFeq{PROP:Xpos} + 2\n \n SELF.backgroundImageFeq{PROP:Xpos} = SELF.boxFeq{PROP:Xpos}\n SELF.backgroundImageFeq{PROP:Ypos} = SELF.boxFeq{PROP:Ypos}\n SELF.backgroundImageFeq{PROP:Width} = SELF.boxFeq{PROP:Width}\n\n SELF.boxHeaderFeq{PROP:Width} = 0{PROP:Width}\n \n SELF.boxFooterFeq{PROP:Width} = 0{PROP:Width}\n !SELF.boxFooterFeq{PROP:Height} = 0{PROP:Height} - SELF.boxFooterFeq{PROP:Ypos} + 20\n \n SELF.boxListTitleFeq{PROP:XPos} = 0\n SELF.boxListTitleFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height}\n SELF.boxListTitleFeq{PROP:Width} = SELF.listFeq{PROP:Width}+1\n \n SELF.listFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height} + SELF.boxListTitleFeq{PROP:Height} - 1\n SELF.listFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.listFeq{PROP:YPos} \n SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1\n SELF.listFeq{PROP:Width} = SELF.listFeq{PROP:Width} + 1\n\n SELF.promptListTitleFeq{PROP:XPos} = 8\n SELF.promptListTitleFeq{PROP:YPos} = SELF.boxListTitleFeq{PROP:YPos} + (SELF.boxListTitleFeq{PROP:Height}\/3)\n \n SELF.listFeq{PROP:Trn} = FALSE\n \n !SELF.listFeq{PROPSTYLE:FontSize, 1} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 1} = 4\n \n !SELF.listFeq{PROPSTYLE:FontSize, 2} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2\n SELF.listFeq{PROPLIST:LeftOffset, 2} = 6\n \n SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + 6\n \n SELF.promptHeaderFeq{PROP:Xpos} = 40\n SELF.promptHeaderFeq{PROP:Ypos} = 6\n \n SELF.promptFooterFeq{PROP:Xpos} = 20\n SELF.promptFooterFeq{PROP:Ypos} = 0{PROP:Height} - 30\n \n SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1\n GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)\n SELF.listBorderFeq = Create(0, CREATE:region)\n SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)\n SELF.listBorderFeq{PROP:Hide} = FALSE\n \nce_MetroWizardForm.SetupButtons PROCEDURE()\n CODE\n IF SELF.buttonClose > 0\n SELF.SetButtonStyle(SELF.buttonClose, SELF.buttonCloseIcon)\n SELF.buttonClose{PROP:Xpos} = 0{PROP:Width} - SELF.buttonClose{PROP:Width} - 20\n END\n IF SELF.buttonNext > 0\n SELF.SetButtonStyle(SELF.buttonNext, SELF.buttonNextIcon)\n SELF.buttonNext{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonNext{PROP:Width}*2) - 30\n END\n IF SELF.buttonOK > 0\n SELF.SetButtonStyle(SELF.buttonOK, SELF.buttonOKIcon)\n SELF.buttonOK{PROP:Xpos} = SELF.buttonNext{PROP:XPos}\n SELF.buttonOK{PROP:Hide} = TRUE\n END \n IF SELF.buttonPrevious > 0\n SELF.SetButtonStyle(SELF.buttonPrevious, SELF.buttonPreviousIcon)\n SELF.buttonPrevious{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonPrevious{PROP:Width}*3) - 40\n END\n\n \nce_MetroWizardForm.SetButtonStyle PROCEDURE(SIGNED pFeq, STRING pIcon) !,VIRTUAL\n CODE\n\n pFeq{PROP:Width} = 56\n pFeq{PROP:Height} = 56\n pFeq{PROP:Xpos} = 0{PROP:Width} - pFeq{PROP:Width} - 20\n pFeq{PROP:Ypos} = 0{PROP:Height} - pFeq{PROP:Height} - 10 \n pFeq{PROP:Flat} = TRUE\n pFeq{PROP:Trn} = TRUE\n IF pFeq{PROP:Icon} = '' \n pFeq{PROP:Icon} = pIcon\n END\n \n \n\nce_MetroWizardForm.CreateControls PROCEDURE()!,VIRTUAL\n CODE\n\n ! Create a bunch of controls used by the window\n ! ==========================================\n SELF.boxHeaderFeq = Create(0, CREATE:box)\n SetPosition(SELF.boxHeaderFeq, 0, 0, 0{PROP:Width}, SELF.headerHeight)\n SELF.boxHeaderFeq{PROP:Hide} = FALSE\n\n SELF.boxFooterFeq = Create(0, CREATE:box)\n SETPOSITION(SELF.boxFooterFeq, 0, 0{PROP:Height} - SELF.footerHeight, 0{PROP:Width}, SELF.footerHeight) \n SELF.boxFooterFeq{PROP:Hide} = FALSE\n \n SELF.boxListTitleFeq = CREATE(0, CREATE:box)\n ! SETPOSITION <-- happens later\n SELF.boxListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptListTitleFeq = CREATE(0, CREATE:prompt)\n SELF.promptListTitleFeq{PROP:FontSize} = SELF.listTitleFontSize\n SELF.promptListTitleFeq{PROP:Text} = 'List Title'\n SELF.promptListTitleFeq{PROP:Hide} = FALSE\n\n SELF.promptHeaderFeq = CREATE(0, CREATE:prompt)\n SELF.promptHeaderFeq{PROP:FontSize} = SELF.headerFontSize\n SELF.promptHeaderFeq{PROP:Text} = 'Header'\n SELF.promptHeaderFeq{PROP:Hide} = FALSE\n\n SELF.promptFooterFeq = CREATE(0, CREATE:prompt)\n SELF.promptFooterFeq{PROP:FontSize} = SELF.footerFontSize\n SELF.promptFooterFeq{PROP:Text} = 'Footer'\n SELF.promptFooterFeq{PROP:Hide} = FALSE\n\n SELF.headerImageFeq = Create(0, CREATE:image)\n SETPOSITION(SELF.headerImageFeq, 6, 8, 24, 24)\n SELF.headerImageFeq{PROP:Text} = SELF.headerImage\n SELF.headerImageFeq{PROP:Hide} = FALSE\n ! ==========================================\n\nce_MetroWizardForm.SetTheme PROCEDURE(BYTE pThemeNumber)!,VIRTUAL\n CODE\n IF pThemeNumber > 0 AND pThemeNumber < 26\n SELF.ApplyColors(SELF.themeColors[pThemeNumber, CMW_COLOR_DARK], SELF.themeColors[pThemeNumber, CMW_COLOR_LIGHT])\n END\n \nce_MetroWizardForm.ApplyColors PROCEDURE(LONG pDarkColor, LONG pLightColor)!,VIRTUAL\nbuttonFeq SIGNED\ni LONG\n CODE\n \n SELF.lightColor = pLightColor\n SELF.darkColor = pDarkColor\n \n SELF.boxFeq{PROP:Color} = COLOR:WINDOW\n\n SELF.listFeq{PROP:Background} = SELF.lightColor\n SELF.listFeq{PROP:Color} = SELF.lightColor\n\n SELF.listFeq{PROPLIST:TextSelected, 1} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 1} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 1} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:TextSelected, 2} = SELF.fontSelectedColor\n SELF.listFeq{PROPLIST:BackSelected, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:TextColor, 2} = SELF.fontColor\n SELF.listFeq{PROPLIST:BackColor, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listFeq{PROPLIST:Grid, 1} = SELF.listFeq{PROP:Background}\n SELF.listFeq{PROPLIST:Grid, 2} = SELF.listFeq{PROP:Background}\n\n SELF.listBorderFeq{PROP:Color} = SELF.listFeq{PROP:Background}\n\n LOOP\n i += 1\n EXECUTE i\n buttonFeq = SELF.buttonClose\n buttonFeq = SELF.buttonNext\n buttonFeq = SELF.buttonOK\n buttonFeq = SELF.buttonPrevious\n ELSE\n BREAK\n END\n IF buttonFeq = 0\n CYCLE\n END\n \n buttonFeq{PROP:FontColor} = SELF.fontColor\n buttonFeq{PROP:FontStyle} = FONT:bold\n buttonFeq{PROP:Background} = SELF.darkColor\n END\n \n SELF.boxHeaderFeq{PROP:Color} = SELF.darkColor\n SELF.boxHeaderFeq{PROP:Fill} = SELF.darkColor\n\n SELF.boxFooterFeq{PROP:Color} = SELF.darkColor\n SELF.boxFooterFeq{PROP:Fill} = SELF.darkColor \n\n SELF.boxListTitleFeq{PROP:Color} = SELF.lightColor\n SELF.boxListTitleFeq{PROP:Fill} = SELF.lightColor\n\n SELF.promptListTitleFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptListTitleFeq{PROP:Color} = SELF.lightColor\n\n SELF.promptHeaderFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptHeaderFeq{PROP:Color} = SELF.darkColor\n\n SELF.promptFooterFeq{PROP:FontColor} = SELF.fontColor\n SELF.promptFooterFeq{PROP:Color} = SELF.darkColor\n\nce_MetroWizardForm.TakeAccepted PROCEDURE() !,VIRTUAL\n CODE\n\n CASE Event()\n OF EVENT:Accepted\n CASE ACCEPTED()\n OF SELF.buttonNext\n Select(SELF.listFeq, Choice(SELF.listFeq)+1)\n Post(EVENT:NewSelection, SELF.listFeq)\n OF SELF.buttonPrevious\n Select(SELF.listFeq, Choice(SELF.listFeq)-1)\n Post(EVENT:NewSelection, SELF.listFeq)\n END\n END\n\n RETURN \n\nce_MetroWizardForm.TakeNewSelection PROCEDURE() !,VIRTUAL\nselectedTabFeq SIGNED\n CODE\n \n CASE Field()\n OF SELF.sheetFeq \n selectedTabFeq = SELF.sheetFeq{PROP:ChoiceFEQ}\n IF SELF.promptTabHeader > 0 \n SELF.promptTabHeader{PROP:Text} = Choose(SELF.promptTabHeaderUpper=TRUE, Upper(selectedTabFeq{PROP:Text}), selectedTabFeq{PROP:Text})\n END\n IF SELF.promptTabDetail > 0\n SELF.promptTabDetail{PROP:Text} = Choose(SELF.promptTabDetailUpper=TRUE, Upper(selectedTabFeq{PROP:Tip}), selectedTabFeq{PROP:Tip})\n END \n \n IF selectedTabFeq{PROP:ChildIndex} = SELF.sheetFeq{PROP:NumTabs}\n SELF.buttonOK{PROP:Hide} = FALSE\n SELF.buttonNext{PROP:Hide} = TRUE\n ELSE\n SELF.buttonOK{PROP:Hide} = TRUE\n SELF.buttonNext{PROP:Hide} = FALSE\n END\n \n IF selectedTabFeq{PROP:ChildIndex} = 1\n SELF.buttonPrevious{PROP:Hide} = TRUE\n ELSE\n SELF.buttonPrevious{PROP:Hide} = FALSE\n END \n END \n \nce_MetroWizardForm.SetHeaderIcon PROCEDURE(STRING pText)\n CODE\n SELF.headerImageFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptHeaderFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetListHeaderText PROCEDURE(STRING pText)\n CODE\n SELF.promptListTitleFeq{PROP:Text} = pText\n \nce_MetroWizardForm.SetFooterText PROCEDURE(STRING pText)\n CODE\n SELF.promptFooterFeq{PROP:Text} = pText\n","returncode":0,"stderr":"","license":"mit","lang":"Clarion"} {"commit":"abf07a4a0366ca5303c8a8e51ec92d14172a4110","subject":"Updated .clw by VC6","message":"Updated .clw by VC6\n","repos":"bedrin\/crelax,bedrin\/crelax","old_file":"LatticeRelaxation.clw","new_file":"LatticeRelaxation.clw","new_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=ModelingOptionsDialog\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"LatticeRelaxation.h\"\nLastPage=0\n\nClassCount=14\nClass1=CLatticeRelaxationApp\nClass2=CLatticeRelaxationDoc\nClass3=CLatticeRelaxationTableView\nClass4=CMainFrame\n\nResourceCount=18\nResource1=IDD_ABOUTBOX\nResource2=IDD_MIGRATION_RESULTS_DIALOG\nClass5=CAboutDlg\nClass6=CLatticeRelaxationD3DView\nClass7=AtomTypesDialog\nResource3=IDR_MAINFRAME\nClass8=AtomDialog\nResource4=IDD_ATOM_DIALOG\nClass9=PotentialDialog\nClass10=CColorStatic\nResource5=IDD_MIGRATE_ATOM_DIALOG\nClass11=ModelingOptionsDialog\nResource6=IDD_ATOMTYPES_DIALOG\nClass12=MigrateAtomDialog\nResource7=IDD_NEW_LATTICE_DIALOG\nClass13=MigrationResultsDialog\nResource8=IDD_POTENTIAL_DIALOG\nResource9=IDD_MIGRATE_ATOM_DIALOG (English (U.S.))\nResource10=IDD_MODELING_OPTIONS_DIALOG (English (U.S.))\nResource11=IDD_ABOUTBOX (English (U.S.))\nResource12=IDD_POTENTIAL_DIALOG (English (U.S.))\nResource13=IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))\nResource14=IDD_ATOMTYPES_DIALOG (English (U.S.))\nResource15=IDD_ATOM_DIALOG (English (U.S.))\nResource16=IDD_MODELING_OPTIONS_DIALOG\nClass14=CNewLatticeDialog\nResource17=IDR_MAINFRAME (English (U.S.))\nResource18=IDD_NEW_LATTICE_DIALOG (English (U.K.))\n\n[CLS:CLatticeRelaxationApp]\nType=0\nHeaderFile=LatticeRelaxation.h\nImplementationFile=LatticeRelaxation.cpp\nFilter=N\nBaseClass=CWinApp\nVirtualFilter=AC\n\n[CLS:CLatticeRelaxationDoc]\nType=0\nHeaderFile=LatticeRelaxationDoc.h\nImplementationFile=LatticeRelaxationDoc.cpp\nFilter=W\nBaseClass=CDocument\nVirtualFilter=DC\nLastObject=CLatticeRelaxationDoc\n\n[CLS:CLatticeRelaxationTableView]\nType=0\nHeaderFile=LatticeRelaxationTableView.h\nImplementationFile=LatticeRelaxationTableView.cpp\nFilter=C\nBaseClass=CListView\nVirtualFilter=VWC\n\n\n[CLS:CMainFrame]\nType=0\nHeaderFile=MainFrm.h\nImplementationFile=MainFrm.cpp\nFilter=T\n\n\n\n\n[CLS:CAboutDlg]\nType=0\nHeaderFile=LatticeRelaxation.cpp\nImplementationFile=LatticeRelaxation.cpp\nFilter=D\n\n[DLG:IDD_ABOUTBOX]\nType=1\nClass=CAboutDlg\nControlCount=4\nControl1=IDC_STATIC,static,1350565891\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n[MNU:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_SAVE_AS\nCommand5=ID_EXPORT_RESULTS\nCommand6=ID_FILE_PRINT\nCommand7=ID_FILE_PRINT_PREVIEW\nCommand8=ID_FILE_PRINT_SETUP\nCommand9=ID_FILE_MRU_FILE1\nCommand10=ID_APP_EXIT\nCommand11=ID_VIEW_TOOLBAR\nCommand12=ID_VIEW_STATUS_BAR\nCommand13=ID_3DVIEW\nCommand14=ID_TABLEVIEW\nCommand15=ID_SELECT_POTENTIAL\nCommand16=ID_ATOM_TYPES\nCommand17=ID_ADD_ATOM_BUTTON\nCommand18=ID_DELETE_ATOM_BUTTON\nCommand19=ID_EDIT_BUTTON_ATOM\nCommand20=ID_START_RELAXATION\nCommand21=ID_PAUSE_RELAXATION\nCommand22=ID_STOP_RELAXATION\nCommand23=ID_CALCULATE_FORCES\nCommand24=ID_MODELING_OPTIONS\nCommand25=ID_MODELING_RESULTS\nCommand26=ID_APP_ABOUT\nCommandCount=26\n\n[ACL:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_EDIT_UNDO\nCommand6=ID_EDIT_CUT\nCommand7=ID_EDIT_COPY\nCommand8=ID_EDIT_PASTE\nCommand9=ID_EDIT_UNDO\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_COPY\nCommand12=ID_EDIT_PASTE\nCommand13=ID_NEXT_PANE\nCommand14=ID_PREV_PANE\nCommandCount=14\n\n[TB:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_APP_ABOUT\nCommand6=ID_REFRESH\nCommand7=ID_TABLEVIEW\nCommand8=ID_3DVIEW\nCommand9=ID_START_RELAXATION\nCommand10=ID_PAUSE_RELAXATION\nCommand11=ID_STOP_RELAXATION\nCommand12=ID_ADD_ATOM_BUTTON\nCommand13=ID_DELETE_ATOM_BUTTON\nCommand14=ID_EDIT_BUTTON_ATOM\nCommand15=ID_MIGRATE_ATOM_BUTTON\nCommandCount=15\n\n[CLS:CLatticeRelaxationD3DView]\nType=0\nHeaderFile=LatticeRelaxationD3DView.h\nImplementationFile=LatticeRelaxationD3DView.cpp\nBaseClass=CScrollView\nFilter=M\nVirtualFilter=VWC\nLastObject=CLatticeRelaxationD3DView\n\n[DLG:IDD_ATOMTYPES_DIALOG]\nType=1\nClass=AtomTypesDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_LIST1,listbox,1352728833\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT1,edit,1350631552\nControl7=IDC_EDIT2,edit,1484849280\nControl8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816\nControl9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352\nControl10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816\nControl11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816\n\n[CLS:AtomTypesDialog]\nType=0\nHeaderFile=AtomTypesDialog.h\nImplementationFile=AtomTypesDialog.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=AtomTypesDialog\nVirtualFilter=dWC\n\n[DLG:IDD_ATOM_DIALOG]\nType=1\nClass=AtomDialog\nControlCount=20\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_POSITION_X,edit,1350631552\nControl6=IDC_EDIT_FORCE_X,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_POSITION_Y,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_POSITION_Z,edit,1350631552\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_EDIT_FORCE_Y,edit,1350631552\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_EDIT_FORCE_Z,edit,1350631552\nControl17=IDC_CHECK_MOVEABLE,button,1342242819\nControl18=IDC_CHECK_VISIBLE,button,1342242819\nControl19=IDC_ATOMTYPE_COMBO,combobox,1344339971\nControl20=IDC_STATIC,static,1342308352\n\n[CLS:AtomDialog]\nType=0\nHeaderFile=AtomDialog.h\nImplementationFile=AtomDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=AtomDialog\n\n[DLG:IDD_POTENTIAL_DIALOG]\nType=1\nClass=PotentialDialog\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_POTENTIAL_LIST,SysListView32,1350631437\nControl4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816\nControl5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816\n\n[CLS:PotentialDialog]\nType=0\nHeaderFile=PotentialDialog.h\nImplementationFile=PotentialDialog.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=IDC_LOAD_POTENTIAL_BUTTON\nVirtualFilter=dWC\n\n[CLS:CColorStatic]\nType=0\nHeaderFile=ColorStatic.h\nImplementationFile=ColorStatic.cpp\nBaseClass=CStatic\nFilter=W\nVirtualFilter=WC\nLastObject=IDC_EDIT1\n\n[DLG:IDD_MODELING_OPTIONS_DIALOG]\nType=1\nClass=ModelingOptionsDialog\nControlCount=28\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,static,1342308352\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552\nControl13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552\nControl14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552\nControl15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552\nControl16=IDC_EDIT_START_TIME_DELTA,edit,1350631552\nControl17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552\nControl18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552\nControl19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552\nControl20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819\nControl21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819\nControl22=IDC_STATIC,static,1342308352\nControl23=IDC_STATIC,static,1342308352\nControl24=IDC_EDIT_BULK_MODULUS,edit,1350631552\nControl25=IDC_STATIC,static,1342308352\nControl26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552\nControl27=IDC_CHECK_DAMPING_ENABLED,button,1342242819\nControl28=IDC_STATIC,static,1342308352\n\n[CLS:ModelingOptionsDialog]\nType=0\nHeaderFile=ModelingOptionsDialog.h\nImplementationFile=ModelingOptionsDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_3DVIEW\n\n[DLG:IDD_MIGRATE_ATOM_DIALOG]\nType=1\nClass=MigrateAtomDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_X,edit,1350631552\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_EDIT_Y,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_Z,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552\n\n[CLS:MigrateAtomDialog]\nType=0\nHeaderFile=MigrateAtomDialog.h\nImplementationFile=MigrateAtomDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_3DVIEW\n\n[DLG:IDD_MIGRATION_RESULTS_DIALOG]\nType=1\nClass=MigrationResultsDialog\nControlCount=7\nControl1=IDOK,button,1342242817\nControl2=IDC_STATIC,static,1342308352\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600\nControl5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600\nControl6=IDC_STATIC,button,1342177287\nControl7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429\n\n[CLS:MigrationResultsDialog]\nType=0\nHeaderFile=MigrationResultsDialog.h\nImplementationFile=MigrationResultsDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_3DVIEW\n\n[DLG:IDD_ABOUTBOX (English (U.S.))]\nType=1\nClass=CAboutDlg\nControlCount=4\nControl1=IDC_STATIC,static,1350565891\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n[DLG:IDD_ATOM_DIALOG (English (U.S.))]\nType=1\nClass=AtomDialog\nControlCount=20\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_POSITION_X,edit,1350631552\nControl6=IDC_EDIT_FORCE_X,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_POSITION_Y,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_POSITION_Z,edit,1350631552\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_EDIT_FORCE_Y,edit,1350631552\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_EDIT_FORCE_Z,edit,1350631552\nControl17=IDC_CHECK_MOVEABLE,button,1342242819\nControl18=IDC_CHECK_VISIBLE,button,1342242819\nControl19=IDC_ATOMTYPE_COMBO,combobox,1344339971\nControl20=IDC_STATIC,static,1342308352\n\n[DLG:IDD_MODELING_OPTIONS_DIALOG (English (U.S.))]\nType=1\nClass=ModelingOptionsDialog\nControlCount=28\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,static,1342308352\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552\nControl13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552\nControl14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552\nControl15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552\nControl16=IDC_EDIT_START_TIME_DELTA,edit,1350631552\nControl17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552\nControl18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552\nControl19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552\nControl20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819\nControl21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819\nControl22=IDC_STATIC,static,1342308352\nControl23=IDC_STATIC,static,1342308352\nControl24=IDC_EDIT_BULK_MODULUS,edit,1350631552\nControl25=IDC_STATIC,static,1342308352\nControl26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552\nControl27=IDC_CHECK_DAMPING_ENABLED,button,1342242819\nControl28=IDC_STATIC,static,1342308352\n\n[DLG:IDD_MIGRATE_ATOM_DIALOG (English (U.S.))]\nType=1\nClass=MigrateAtomDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_X,edit,1350631552\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_EDIT_Y,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_Z,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552\n\n[DLG:IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))]\nType=1\nClass=MigrationResultsDialog\nControlCount=7\nControl1=IDOK,button,1342242817\nControl2=IDC_STATIC,static,1342308352\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600\nControl5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600\nControl6=IDC_STATIC,button,1342177287\nControl7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429\n\n[MNU:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_SAVE_AS\nCommand5=ID_EXPORT_RESULTS\nCommand6=ID_FILE_PRINT\nCommand7=ID_FILE_PRINT_PREVIEW\nCommand8=ID_FILE_PRINT_SETUP\nCommand9=ID_FILE_MRU_FILE1\nCommand10=ID_APP_EXIT\nCommand11=ID_VIEW_TOOLBAR\nCommand12=ID_VIEW_STATUS_BAR\nCommand13=ID_3DVIEW\nCommand14=ID_TABLEVIEW\nCommand15=ID_SELECT_POTENTIAL\nCommand16=ID_ATOM_TYPES\nCommand17=ID_ADD_ATOM_BUTTON\nCommand18=ID_DELETE_ATOM_BUTTON\nCommand19=ID_EDIT_BUTTON_ATOM\nCommand20=ID_START_RELAXATION\nCommand21=ID_PAUSE_RELAXATION\nCommand22=ID_STOP_RELAXATION\nCommand23=ID_CALCULATE_FORCES\nCommand24=ID_MODELING_OPTIONS\nCommand25=ID_MODELING_RESULTS\nCommand26=ID_APP_ABOUT\nCommandCount=26\n\n[DLG:IDD_ATOMTYPES_DIALOG (English (U.S.))]\nType=1\nClass=AtomTypesDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_LIST1,listbox,1352728833\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT1,edit,1350631552\nControl7=IDC_EDIT2,edit,1484849280\nControl8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816\nControl9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352\nControl10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816\nControl11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816\n\n[DLG:IDD_POTENTIAL_DIALOG (English (U.S.))]\nType=1\nClass=PotentialDialog\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_POTENTIAL_LIST,SysListView32,1350631437\nControl4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816\nControl5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816\n\n[TB:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_APP_ABOUT\nCommand6=ID_REFRESH\nCommand7=ID_TABLEVIEW\nCommand8=ID_3DVIEW\nCommand9=ID_START_RELAXATION\nCommand10=ID_PAUSE_RELAXATION\nCommand11=ID_STOP_RELAXATION\nCommand12=ID_ADD_ATOM_BUTTON\nCommand13=ID_DELETE_ATOM_BUTTON\nCommand14=ID_EDIT_BUTTON_ATOM\nCommand15=ID_MIGRATE_ATOM_BUTTON\nCommandCount=15\n\n[ACL:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_EDIT_UNDO\nCommand6=ID_EDIT_CUT\nCommand7=ID_EDIT_COPY\nCommand8=ID_EDIT_PASTE\nCommand9=ID_EDIT_UNDO\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_COPY\nCommand12=ID_EDIT_PASTE\nCommand13=ID_NEXT_PANE\nCommand14=ID_PREV_PANE\nCommandCount=14\n\n[DLG:IDD_NEW_LATTICE_DIALOG (English (U.K.))]\nType=1\nClass=CNewLatticeDialog\nControlCount=8\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_RADIO_BCC,button,1342177289\nControl4=IDC_RADIO_FCC,button,1342177289\nControl5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744\nControl6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\n\n[CLS:CNewLatticeDialog]\nType=0\nHeaderFile=NewLatticeDialog.h\nImplementationFile=NewLatticeDialog.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=IDC_EDIT_MOVEABLE_RADIUS\nVirtualFilter=dWC\n\n[DLG:IDD_NEW_LATTICE_DIALOG]\nType=1\nClass=CNewLatticeDialog\nControlCount=8\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_RADIO_BCC,button,1342177289\nControl4=IDC_RADIO_FCC,button,1342177289\nControl5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744\nControl6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\n\n","old_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=ModelingOptionsDialog\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"LatticeRelaxation.h\"\nLastPage=0\n\nClassCount=14\nClass1=CLatticeRelaxationApp\nClass2=CLatticeRelaxationDoc\nClass3=CLatticeRelaxationTableView\nClass4=CMainFrame\n\nResourceCount=18\nResource1=IDD_ABOUTBOX\nResource2=IDD_MIGRATION_RESULTS_DIALOG\nClass5=CAboutDlg\nClass6=CLatticeRelaxationD3DView\nClass7=AtomTypesDialog\nResource3=IDR_MAINFRAME\nClass8=AtomDialog\nResource4=IDD_ATOM_DIALOG\nClass9=PotentialDialog\nClass10=CColorStatic\nResource5=IDD_MIGRATE_ATOM_DIALOG\nClass11=ModelingOptionsDialog\nResource6=IDD_ATOMTYPES_DIALOG\nClass12=MigrateAtomDialog\nResource7=IDD_NEW_LATTICE_DIALOG\nClass13=MigrationResultsDialog\nResource8=IDD_POTENTIAL_DIALOG\nResource9=IDD_ABOUTBOX (English (U.S.))\nResource10=IDR_MAINFRAME (English (U.S.))\nResource11=IDD_POTENTIAL_DIALOG (English (U.S.))\nResource12=IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))\nResource13=IDD_ATOMTYPES_DIALOG (English (U.S.))\nResource14=IDD_MODELING_OPTIONS_DIALOG (English (U.S.))\nResource15=IDD_MIGRATE_ATOM_DIALOG (English (U.S.))\nResource16=IDD_MODELING_OPTIONS_DIALOG\nClass14=CNewLatticeDialog\nResource17=IDD_ATOM_DIALOG (English (U.S.))\nResource18=IDD_NEW_LATTICE_DIALOG (English (U.K.))\n\n[CLS:CLatticeRelaxationApp]\nType=0\nHeaderFile=LatticeRelaxation.h\nImplementationFile=LatticeRelaxation.cpp\nFilter=N\nBaseClass=CWinApp\nVirtualFilter=AC\n\n[CLS:CLatticeRelaxationDoc]\nType=0\nHeaderFile=LatticeRelaxationDoc.h\nImplementationFile=LatticeRelaxationDoc.cpp\nFilter=W\nBaseClass=CDocument\nVirtualFilter=DC\nLastObject=CLatticeRelaxationDoc\n\n[CLS:CLatticeRelaxationTableView]\nType=0\nHeaderFile=LatticeRelaxationTableView.h\nImplementationFile=LatticeRelaxationTableView.cpp\nFilter=C\nBaseClass=CListView\nVirtualFilter=VWC\n\n\n[CLS:CMainFrame]\nType=0\nHeaderFile=MainFrm.h\nImplementationFile=MainFrm.cpp\nFilter=T\n\n\n\n\n[CLS:CAboutDlg]\nType=0\nHeaderFile=LatticeRelaxation.cpp\nImplementationFile=LatticeRelaxation.cpp\nFilter=D\n\n[DLG:IDD_ABOUTBOX]\nType=1\nClass=CAboutDlg\nControlCount=4\nControl1=IDC_STATIC,static,1350565891\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n[MNU:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_SAVE_AS\nCommand5=ID_EXPORT_RESULTS\nCommand6=ID_FILE_PRINT\nCommand7=ID_FILE_PRINT_PREVIEW\nCommand8=ID_FILE_PRINT_SETUP\nCommand9=ID_FILE_MRU_FILE1\nCommand10=ID_APP_EXIT\nCommand11=ID_VIEW_TOOLBAR\nCommand12=ID_VIEW_STATUS_BAR\nCommand13=ID_3DVIEW\nCommand14=ID_TABLEVIEW\nCommand15=ID_SELECT_POTENTIAL\nCommand16=ID_ATOM_TYPES\nCommand17=ID_ADD_ATOM_BUTTON\nCommand18=ID_DELETE_ATOM_BUTTON\nCommand19=ID_EDIT_BUTTON_ATOM\nCommand20=ID_START_RELAXATION\nCommand21=ID_PAUSE_RELAXATION\nCommand22=ID_STOP_RELAXATION\nCommand23=ID_CALCULATE_FORCES\nCommand24=ID_MODELING_OPTIONS\nCommand25=ID_MODELING_RESULTS\nCommand26=ID_APP_ABOUT\nCommandCount=26\n\n[ACL:IDR_MAINFRAME]\nType=1\nClass=CMainFrame\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_EDIT_UNDO\nCommand6=ID_EDIT_CUT\nCommand7=ID_EDIT_COPY\nCommand8=ID_EDIT_PASTE\nCommand9=ID_EDIT_UNDO\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_COPY\nCommand12=ID_EDIT_PASTE\nCommand13=ID_NEXT_PANE\nCommand14=ID_PREV_PANE\nCommandCount=14\n\n[TB:IDR_MAINFRAME]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_APP_ABOUT\nCommand6=ID_REFRESH\nCommand7=ID_TABLEVIEW\nCommand8=ID_3DVIEW\nCommand9=ID_START_RELAXATION\nCommand10=ID_PAUSE_RELAXATION\nCommand11=ID_STOP_RELAXATION\nCommand12=ID_ADD_ATOM_BUTTON\nCommand13=ID_DELETE_ATOM_BUTTON\nCommand14=ID_EDIT_BUTTON_ATOM\nCommand15=ID_MIGRATE_ATOM_BUTTON\nCommandCount=15\n\n[CLS:CLatticeRelaxationD3DView]\nType=0\nHeaderFile=LatticeRelaxationD3DView.h\nImplementationFile=LatticeRelaxationD3DView.cpp\nBaseClass=CScrollView\nFilter=M\nVirtualFilter=VWC\nLastObject=CLatticeRelaxationD3DView\n\n[DLG:IDD_ATOMTYPES_DIALOG]\nType=1\nClass=AtomTypesDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_LIST1,listbox,1352728833\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT1,edit,1350631552\nControl7=IDC_EDIT2,edit,1484849280\nControl8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816\nControl9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352\nControl10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816\nControl11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816\n\n[CLS:AtomTypesDialog]\nType=0\nHeaderFile=AtomTypesDialog.h\nImplementationFile=AtomTypesDialog.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=AtomTypesDialog\nVirtualFilter=dWC\n\n[DLG:IDD_ATOM_DIALOG]\nType=1\nClass=AtomDialog\nControlCount=20\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_POSITION_X,edit,1350631552\nControl6=IDC_EDIT_FORCE_X,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_POSITION_Y,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_POSITION_Z,edit,1350631552\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_EDIT_FORCE_Y,edit,1350631552\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_EDIT_FORCE_Z,edit,1350631552\nControl17=IDC_CHECK_MOVEABLE,button,1342242819\nControl18=IDC_CHECK_VISIBLE,button,1342242819\nControl19=IDC_ATOMTYPE_COMBO,combobox,1344339971\nControl20=IDC_STATIC,static,1342308352\n\n[CLS:AtomDialog]\nType=0\nHeaderFile=AtomDialog.h\nImplementationFile=AtomDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=AtomDialog\n\n[DLG:IDD_POTENTIAL_DIALOG]\nType=1\nClass=PotentialDialog\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_POTENTIAL_LIST,SysListView32,1350631437\nControl4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816\nControl5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816\n\n[CLS:PotentialDialog]\nType=0\nHeaderFile=PotentialDialog.h\nImplementationFile=PotentialDialog.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=IDC_LOAD_POTENTIAL_BUTTON\nVirtualFilter=dWC\n\n[CLS:CColorStatic]\nType=0\nHeaderFile=ColorStatic.h\nImplementationFile=ColorStatic.cpp\nBaseClass=CStatic\nFilter=W\nVirtualFilter=WC\nLastObject=IDC_EDIT1\n\n[DLG:IDD_MODELING_OPTIONS_DIALOG]\nType=1\nClass=ModelingOptionsDialog\nControlCount=28\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,static,1342308352\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552\nControl13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552\nControl14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552\nControl15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552\nControl16=IDC_EDIT_START_TIME_DELTA,edit,1350631552\nControl17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552\nControl18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552\nControl19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552\nControl20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819\nControl21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819\nControl22=IDC_STATIC,static,1342308352\nControl23=IDC_STATIC,static,1342308352\nControl24=IDC_EDIT_BULK_MODULUS,edit,1350631552\nControl25=IDC_STATIC,static,1342308352\nControl26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552\nControl27=IDC_CHECK_DAMPING_ENABLED,button,1342242819\nControl28=IDC_STATIC,static,1342308352\n\n[CLS:ModelingOptionsDialog]\nType=0\nHeaderFile=ModelingOptionsDialog.h\nImplementationFile=ModelingOptionsDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_3DVIEW\n\n[DLG:IDD_MIGRATE_ATOM_DIALOG]\nType=1\nClass=MigrateAtomDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_X,edit,1350631552\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_EDIT_Y,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_Z,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552\n\n[CLS:MigrateAtomDialog]\nType=0\nHeaderFile=MigrateAtomDialog.h\nImplementationFile=MigrateAtomDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_3DVIEW\n\n[DLG:IDD_MIGRATION_RESULTS_DIALOG]\nType=1\nClass=MigrationResultsDialog\nControlCount=7\nControl1=IDOK,button,1342242817\nControl2=IDC_STATIC,static,1342308352\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600\nControl5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600\nControl6=IDC_STATIC,button,1342177287\nControl7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429\n\n[CLS:MigrationResultsDialog]\nType=0\nHeaderFile=MigrationResultsDialog.h\nImplementationFile=MigrationResultsDialog.cpp\nBaseClass=CDialog\nFilter=D\nVirtualFilter=dWC\nLastObject=ID_3DVIEW\n\n[DLG:IDD_ABOUTBOX (English (U.S.))]\nType=1\nClass=CAboutDlg\nControlCount=4\nControl1=IDC_STATIC,static,1350565891\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n[DLG:IDD_ATOM_DIALOG (English (U.S.))]\nType=1\nClass=AtomDialog\nControlCount=20\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_POSITION_X,edit,1350631552\nControl6=IDC_EDIT_FORCE_X,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_POSITION_Y,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_POSITION_Z,edit,1350631552\nControl12=IDC_STATIC,static,1342308352\nControl13=IDC_STATIC,static,1342308352\nControl14=IDC_EDIT_FORCE_Y,edit,1350631552\nControl15=IDC_STATIC,static,1342308352\nControl16=IDC_EDIT_FORCE_Z,edit,1350631552\nControl17=IDC_CHECK_MOVEABLE,button,1342242819\nControl18=IDC_CHECK_VISIBLE,button,1342242819\nControl19=IDC_ATOMTYPE_COMBO,combobox,1344339971\nControl20=IDC_STATIC,static,1342308352\n\n[DLG:IDD_MODELING_OPTIONS_DIALOG (English (U.S.))]\nType=1\nClass=ModelingOptionsDialog\nControlCount=28\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_STATIC,static,1342308352\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_STATIC,static,1342308352\nControl12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552\nControl13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552\nControl14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552\nControl15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552\nControl16=IDC_EDIT_START_TIME_DELTA,edit,1350631552\nControl17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552\nControl18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552\nControl19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552\nControl20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819\nControl21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819\nControl22=IDC_STATIC,static,1342308352\nControl23=IDC_STATIC,static,1342308352\nControl24=IDC_EDIT_BULK_MODULUS,edit,1350631552\nControl25=IDC_STATIC,static,1342308352\nControl26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552\nControl27=IDC_CHECK_DAMPING_ENABLED,button,1342242819\nControl28=IDC_STATIC,static,1342308352\n\n[DLG:IDD_MIGRATE_ATOM_DIALOG (English (U.S.))]\nType=1\nClass=MigrateAtomDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_EDIT_X,edit,1350631552\nControl6=IDC_STATIC,static,1342308352\nControl7=IDC_EDIT_Y,edit,1350631552\nControl8=IDC_STATIC,static,1342308352\nControl9=IDC_EDIT_Z,edit,1350631552\nControl10=IDC_STATIC,static,1342308352\nControl11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552\n\n[DLG:IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))]\nType=1\nClass=MigrationResultsDialog\nControlCount=7\nControl1=IDOK,button,1342242817\nControl2=IDC_STATIC,static,1342308352\nControl3=IDC_STATIC,static,1342308352\nControl4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600\nControl5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600\nControl6=IDC_STATIC,button,1342177287\nControl7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429\n\n[MNU:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_SAVE_AS\nCommand5=ID_EXPORT_RESULTS\nCommand6=ID_FILE_PRINT\nCommand7=ID_FILE_PRINT_PREVIEW\nCommand8=ID_FILE_PRINT_SETUP\nCommand9=ID_FILE_MRU_FILE1\nCommand10=ID_APP_EXIT\nCommand11=ID_VIEW_TOOLBAR\nCommand12=ID_VIEW_STATUS_BAR\nCommand13=ID_3DVIEW\nCommand14=ID_TABLEVIEW\nCommand15=ID_SELECT_POTENTIAL\nCommand16=ID_ATOM_TYPES\nCommand17=ID_ADD_ATOM_BUTTON\nCommand18=ID_DELETE_ATOM_BUTTON\nCommand19=ID_EDIT_BUTTON_ATOM\nCommand20=ID_START_RELAXATION\nCommand21=ID_PAUSE_RELAXATION\nCommand22=ID_STOP_RELAXATION\nCommand23=ID_CALCULATE_FORCES\nCommand24=ID_MODELING_OPTIONS\nCommand25=ID_MODELING_RESULTS\nCommand26=ID_APP_ABOUT\nCommandCount=26\n\n[DLG:IDD_ATOMTYPES_DIALOG (English (U.S.))]\nType=1\nClass=AtomTypesDialog\nControlCount=11\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_LIST1,listbox,1352728833\nControl4=IDC_STATIC,static,1342308352\nControl5=IDC_STATIC,static,1342308352\nControl6=IDC_EDIT1,edit,1350631552\nControl7=IDC_EDIT2,edit,1484849280\nControl8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816\nControl9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352\nControl10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816\nControl11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816\n\n[DLG:IDD_POTENTIAL_DIALOG (English (U.S.))]\nType=1\nClass=PotentialDialog\nControlCount=5\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_POTENTIAL_LIST,SysListView32,1350631437\nControl4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816\nControl5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816\n\n[TB:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_APP_ABOUT\nCommand6=ID_REFRESH\nCommand7=ID_TABLEVIEW\nCommand8=ID_3DVIEW\nCommand9=ID_START_RELAXATION\nCommand10=ID_PAUSE_RELAXATION\nCommand11=ID_STOP_RELAXATION\nCommand12=ID_ADD_ATOM_BUTTON\nCommand13=ID_DELETE_ATOM_BUTTON\nCommand14=ID_EDIT_BUTTON_ATOM\nCommand15=ID_MIGRATE_ATOM_BUTTON\nCommandCount=15\n\n[ACL:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_OPEN\nCommand3=ID_FILE_SAVE\nCommand4=ID_FILE_PRINT\nCommand5=ID_EDIT_UNDO\nCommand6=ID_EDIT_CUT\nCommand7=ID_EDIT_COPY\nCommand8=ID_EDIT_PASTE\nCommand9=ID_EDIT_UNDO\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_COPY\nCommand12=ID_EDIT_PASTE\nCommand13=ID_NEXT_PANE\nCommand14=ID_PREV_PANE\nCommandCount=14\n\n[DLG:IDD_NEW_LATTICE_DIALOG (English (U.K.))]\nType=1\nClass=CNewLatticeDialog\nControlCount=8\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_RADIO_BCC,button,1342177289\nControl4=IDC_RADIO_FCC,button,1342177289\nControl5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744\nControl6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\n\n[CLS:CNewLatticeDialog]\nType=0\nHeaderFile=NewLatticeDialog.h\nImplementationFile=NewLatticeDialog.cpp\nBaseClass=CDialog\nFilter=D\nLastObject=IDC_EDIT_MOVEABLE_RADIUS\nVirtualFilter=dWC\n\n[DLG:IDD_NEW_LATTICE_DIALOG]\nType=1\nClass=CNewLatticeDialog\nControlCount=8\nControl1=IDOK,button,1342242817\nControl2=IDCANCEL,button,1342242816\nControl3=IDC_RADIO_BCC,button,1342177289\nControl4=IDC_RADIO_FCC,button,1342177289\nControl5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744\nControl6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552\nControl7=IDC_STATIC,static,1342308352\nControl8=IDC_STATIC,static,1342308352\n\n","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Clarion"} {"commit":"94f33f2af1c8aa4446cd65f5d314a0d714590a15","subject":"Fixed StripPrefix; refactored ColumnClass instantiation so it happens inside new StripedList local method; changed to make base class dispose of objects; improved column width measurement; removed redundant PROPLIST assignments; and removed old dead COMPILE\/OMIT statements need for pre-C6.","message":"Fixed StripPrefix; refactored ColumnClass instantiation so it happens inside new StripedList local method; changed to make base class dispose of objects; improved column width measurement; removed redundant PROPLIST assignments; and removed old dead COMPILE\/OMIT statements need for pre-C6.\n","repos":"ClarionLive\/UltimateUtilities","old_file":"UltimateDebug\/Libsrc\/UltimateDebug.clw","new_file":"UltimateDebug\/Libsrc\/UltimateDebug.clw","new_contents":" MEMBER()\n!==============================================================================\n!If all fields begin with the same prefix, then you can have that auto-stripped\n!by uncommenting the following line.\nE_StripPrefix EQUATE(1)\n!==============================================================================\n!This controls the max number of characters used to auto-size column width. You can still resize width manually.\nE_EnoughCharacters EQUATE(25)\n!==============================================================================\nWidthMultiplier:Narrow EQUATE(5) !normal columns (numbers, lowercase, etc.)\nWidthMultiplier:Wide EQUATE(7) !uppercase columns\nDebugQueueCallingItself BOOL(FALSE)\n!==============================================================================\n INCLUDE('Equates.clw')\n INCLUDE('Errors.clw')\n INCLUDE('UltimateDebug.inc'),ONCE \n INCLUDE('UltimateVLB.inc'),ONCE\n! ToDo _wsldebug$setlogfile\n\n MAP\n module('kernel') \n!see http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/debug\/base\/debugging_functions.asp\n debugbreak(),PASCAL !,RAW,NAME('debugbreak')\n OutputDebugString(*CSTRING),PASCAL,RAW,NAME('OutputDebugStringA')\n end \n MODULE('C%V%RUN%X%')\n debugerNameMessage (*CSTRING, UNSIGNED EventNum ),RAW,NAME('WslDebug$NameMessage') !Note: use Event() + EVENT:FIRST else will get WM_*\n COMPILE('** C55+ **',_C55_)\n debugerGetFieldName(SIGNED FEQ ),*CSTRING,RAW,NAME('Cla$FIELDNAME')\n !END-COMPILE('** C55+ **',_C55_)\n OMIT('** C55+ **',_C55_)\n debugerGetFieldName(SIGNED FEQ ),LONG,RAW,NAME('Cla$FIELDNAME')\n !END-OMIT('** C55+ **',_C55_)\n END\n !INCLUDE('STDebug.inc')\n END\n\n!OMIT('_ifdef_',EVENT:APP=08000h)\n COMPILE('_ifdef_',EVENT:APP=0)\nEVENT:APP EQUATE(08000h)\nEVENT:APP_LAST EQUATE(0BFFFh)\n !END_COMPILE('_ifdef_',EVENT:APP=0)\n!==============================================================================\n\n!-----------------------------------\nUltimateDebug.Init PROCEDURE()\n!-----------------------------------\n\n CODE\n \n RETURN\n\n!-----------------------------------\nUltimateDebug.Kill PROCEDURE()\n!-----------------------------------\n\n CODE\n\n RETURN\n\t\n!-----------------------------------------\nUltimateDebug.AddCategoryToDebug PROCEDURE(STRING pCategory)\n!-----------------------------------------\n\n CODE\n\t\n SELF.CategoryQueue.Category = pCategory\n GET(SELF.CategoryQueue,SELF.CategoryQueue.Category)\n IF ERROR()\n ADD(SELF.CategoryQueue,SELF.CategoryQueue.Category)\n END\n\t\n\t\t\n!!!-----------------------------------------\n!!UltimateDebug.Debug PROCEDURE(STRING pCategory,STRING pDebugString)\n!!!-----------------------------------------\n!!\n!!\tCODE\n!!\t\n!!\tSELF.CategoryQueue.Category = pCategory\n!!\tGET(SELF.CategoryQueue,SELF.CategoryQueue.Category)\n!!\tIF ERRORCODE() = NoError\n!!\t\tSELF.Debug('[' & CLIP(pCategory) & ']' & pDebugString)\n!!\tEND\n!!\t\n!!\tRETURN\n!-----------------------------------------\nUltimateDebug.Debug PROCEDURE(STRING pDebugString,,BYTE pNoClip = 0)\n!-----------------------------------------\nASC1:ASCIIFile FILE,PRE(ASC1),DRIVER('ASCII'),NAME(GlobalASCIIFileName),CREATE\nRECORD RECORD,PRE()\nSTRING STRING(512)\n END\n END\n\nlc_CDebugString STRING(10000)\nlc_COutDebugString STRING(10000)\nlc_Temp STRING(10000)\nll_Count LONG\nll_End LONG\nlb_Flag BYTE(FALSE)\nlb_FirstTime BYTE(TRUE)\nlb_FirstLoop BYTE(0)\nll_StringPosition LONG\n\n\n CODE \n IF SELF.DebugOff AND ~SELF.SaveToFile;RETURN.\n\t \n GlobalASCIIFileName = SELF.ASCIIFileName\n IF SELF.SaveToFile\n IF ~EXISTS(ASC1:ASCIIFile{PROP:Name})\n CREATE(ASC1:ASCIIFile)\n END\n OPEN(ASC1:ASCIIFile)\n END\t\n ll_Count = 1 \n IF SELF.DebugNoCR \n lc_CDebugString = CLIP(pDebugString) \n IF ~SELF.DebugOff \n SELF.SendOutputToDebug(lc_CDebugString,pCustomPrefix,pNoClip)\n END \n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']- ' & lc_CDebugString\n ADD(ASC1:ASCIIFile)\n END\n ELSE\n IF LEN(CLIP(pDebugString)) = 0\n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']'\n ADD(ASC1:ASCIIFile)\n END\n IF ~SELF.DebugOff\n lc_COutDebugString = ''\n SELF.SendOutputToDebug(lc_COutDebugString,pCustomPrefix,pNoClip)\n END\n ELSE\n\t\t\t\n Loop Until lb_Flag\n If Len(Clip(pDebugString)) - ll_Count < 9999 Then\n ll_end = Len(Clip(pDebugString))\n lb_Flag = True\n Else\n ll_end = ll_Count + 9998\n End \n lc_CDebugString = CLIP(pDebugString[ll_Count : ll_end])\n \n ll_Count = ll_end + 1\n LOOP\n ll_StringPosition = INSTRING('<13>',lc_CDebugString,1,1)\n\n IF ll_StringPosition \n lc_COutDebugString = SUB(lc_CDebugString,1,ll_StringPosition - 1)\n lc_CDebugString = SUB(lc_CDebugString,ll_StringPosition + 2,10000)\n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']- ' & lc_COutDebugString\n ADD(ASC1:ASCIIFile)\n END\n IF ~SELF.DebugOff\n SELF.SendOutputToDebug(lc_COutDebugString,pCustomPrefix,pNoClip)\n END\n\n lb_FirstLoop = TRUE\n CYCLE\n END\n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']- ' & lc_CDebugString\n ADD(ASC1:ASCIIFile)\n END\n IF ~SELF.DebugOff\n SELF.SendOutputToDebug(lc_CDebugString,pCustomPrefix,pNoClip)\n END\n BREAK\n END \n END\n END\n END\n IF SELF.SaveToFile\n CLOSE(ASC1:ASCIIFile)\n END\n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.SendOutputToDebug PROCEDURE(STRING pOutput,,BYTE pNoClip = 0)\n!-----------------------------------------------------------------------------------------!\n\nlc_CDebugString CSTRING(10000)\nlc_COutDebugString CSTRING(10000)\nlc_Temp CSTRING(10000)\nCount LONG(0)\n\n CODE\n\n IF pNoClip\n lc_COutDebugString = CLIP(SELF.DebugPrefix) & pOutput\n OutputDebugString(lc_COutDebugString)\n ELSE\n lc_CDebugString = CLIP(pOutput)\n \n LOOP\n Count += 1\n IF LEN(CLIP(lc_CDebugString)) > 160\n IF Count > 1\n lc_COutDebugString = ' ' & lc_CDebugString[1:160] \n ELSE\n lc_COutDebugString = lc_CDebugString[1:160] \n END\n lc_CDebugString = SUB(lc_CDebugString,161,10000)\n \n ELSE\n lc_COutDebugString = lc_CDebugString\n lc_CDebugString = '' \n END\n \n \n lc_COutDebugString = CLIP(SELF.DebugPrefix) & ' ' & CLIP(pCustomPrefix) & ' ' & CLIP(lc_COutDebugString)\n OutputDebugString(lc_COutDebugString)\n \n IF LEN(CLIP(lc_CDebugString)) = 0\n BREAK\n END\n \n END\n \n END\n \n \n \n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.ClearDebugView PROCEDURE() !Requires Debugview 4.3 or greater\n!-----------------------------------------------------------------------------------------!\n!From: http:\/\/www.sysinternals.com\/ntw2k\/freeware\/debugview.shtml\n! Clear-output string: When DebugView sees the special debug output string \"DBGVIEWCLEAR\" it clears the output.\n\n!Note: If this doesn't appear to work, then you are either:\n! a) using an older version of debugview\n! OR b) you are filtering the message\n\n CODE\n\n SELF.Debug('DBGVIEWCLEAR')\n\t\n\t\t\n\t\n!==============================================================================\nUltimateDebug.DebugRecord PROCEDURE(*FILE pFile,STRING pMsg)\n!--------------------------------------\nG &GROUP\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n G &= pFile{PROP:Record}\n SELF.DebugGroup(G,, pMsg, 'Record')\n !ENDCOMPILE\n RETURN\n!==============================================================================\nUltimateDebug.DebugRecord PROCEDURE(*FILE pFile,*FILE pFile2,STRING pMsg)\n!--------------------------------------\nG1 &GROUP\nG2 &GROUP\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n G1 &= pFile{PROP:Record}\n G2 &= pFile2{PROP:Record}\n SELF.DebugGroup(G1, G2, pMsg, 'Record')\n !ENDCOMPILE\n RETURN\n!==============================================================================\nUltimateDebug.DebugGroup PROCEDURE(*GROUP pGroup,STRING pMsg,)\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n SELF.DebugGroup(pGroup,, pMsg)\n !ENDCOMPILE\n RETURN\n!==============================================================================\nUltimateDebug.DebugGroup PROCEDURE(*GROUP pGroup,<*GROUP pGroup2>,STRING pMsg,)\n!--------------------------------------\nepGroup2 EQUATE(2)\nSavePointer LONG,AUTO\nNumFields SHORT(0)\nNumFields2 SHORT(0)\nFieldQ QUEUE\nName CSTRING(100)\nValue CSTRING(1000)\nValue2 CSTRING(1000)\n END\nMsgLineQ QUEUE\nText STRING(100)\n END\n!--------------------------------------\nWindow WINDOW('Debug'),AT(,,676,416),FONT('Tahoma',8,,),CENTER,SYSTEM,GRAY,DOUBLE\n LIST,AT(4,4,668,356),USE(?DebugList),VSCROLL,FORMAT('125L(2)|M~Field Name~S(1)@S100@180L(2)|M~Value~S(1)@S255@1000L(2)|M~Value2~S(1)@' &|\n 'S255@'),FROM(FieldQ)\n LIST,AT(4,364,668,48),USE(?MessageList),VSCROLL,FROM(MsgLineQ)\n END\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n DO LoadFieldQ\n !--- Prepare window\n OPEN(Window)\n IF OMITTED(epGroup2)\n ?DebugList{PROPLIST:Width, 2} = 1000\n END\n 0{PROP:Text} = 0{PROP:Text} &' '& CHOOSE(pStructureType='', 'Group', pStructureType) &' ('& NumFields &' Fields)'\n IF pMsg\n SELF.FormatMessageList(pMsg, MsgLineQ)\n ELSE\n HIDE(?MessageList)\n ?DebugList{PROP:Height} = ?DebugList{PROP:Height} + ?MessageList{PROP:Height} + 4\n END\n !--- Display window\n ACCEPT\n END\n !ENDCOMPILE\n RETURN\n!======================================\nLoadFieldQ ROUTINE\n!--------------------------------------\n DATA\nF ANY !Field reference for value assignment\nX SHORT,AUTO\nM SHORT(0)\n!--------------------------------------\n CODE\n OMIT('!+++!!!+++!')\n LOOP X = 10000 TO 1 BY -1\n IF NumFields = 0 AND WHO(pGroup, X) <> ''\n NumFields = X\n IF M = 0\n M = NumFields\n END\n END\n IF NOT OMITTED(epGroup2) |\n AND NumFields2 = 0 AND WHO(pGroup2, X) <> ''\n NumFields2 = X\n IF M = 0\n M = NumFields2\n END\n END\n IF M = 0 AND (NumFields OR NumFields2)\n M = X\n END\n IF NumFields AND (OMITTED(epGroup2) OR NumFields2)\n BREAK\n END\n END\n LOOP X = 1 TO M\n CLEAR(FieldQ)\n IF NumFields >= X\n FieldQ.Name = WHO(pGroup, X)\n F &= WHAT(pGroup, X, 1)\n FieldQ.Value = F\n IF NumFields2 >= X\n DO AssignValue2\n END\n ELSE\n FieldQ.Name = WHO(pGroup2, X)\n DO AssignValue2\n END\n ADD(FieldQ)\n ASSERT(ERRORCODE()=0)\n END\n !+++!!!+++!\n EXIT\n!======================================\nAssignValue2 ROUTINE\n!--------------------------------------\n OMIT('!+++!!!+++!')\n F &= WHAT(pGroup2, X, 1)\n FieldQ.Value2 = F\n !+++!!!+++!\n EXIT\n!==============================================================================\nUltimateDebug.DebugQueue PROCEDURE(*QUEUE pQueue,,)\n MAP\nLoadFieldQ PROCEDURE\nCalculateColumnWidths PROCEDURE\n END\n!--------------------------------------\nSavePointer LONG,AUTO\nNumFields SHORT,AUTO\n COMPILE('***---***', E_StripPrefix)\nStripPrefixLength BYTE(0)\n ***---***\nStripedList CLASS(UltimateVLB)\nAddColumn PROCEDURE(*? FieldRef,STRING Header,STRING Picture,SHORT Width,STRING Justification),*UltVLB:ColumnClass,PROC\n END\nDummyColumn STRING(1)\nFieldQ QUEUE\nColumnObject &UltVLB:ColumnClass\nWidth LONG\nIsDataUpper BOOL\nIsDataNumeric BOOL\nIsGroup BOOL\nHeaderLength LONG\nDataLength LONG\nHeader CSTRING(100)\n END\nMsgLineQ QUEUE\nText STRING(1000)\n END \n!--------------------------------------\nWindow WINDOW('Debug Queue'),SYSTEM,AT(,,676,416),CENTER,FONT('Tahoma', 8),GRAY,DOUBLE\n LIST, AT(4,4,668,356), USE(?DebugList), HVSCROLL\n LIST, AT(4,364,668,48), USE(?MessageList), VSCROLL, FROM(MsgLineQ)\n END\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n !ST::Debug('ST::DebugQueue\/IN')\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n IF pQueue &= NULL\n MESSAGE('Queue passed to ST::DebugQueue was a NULL pointer!', 'Debug Queue')\n ELSE\n !--- Save current queue pointer\n SavePointer = CHOOSE(RECORDS(pQueue)=0, 0, POINTER(pQueue))\n !--- Scan passed queue\n DO FindLastField\n IF NumFields = 0\n MESSAGE('Queue passed to ST::DebugQueue has no fields!', 'Debug Queue')\n ELSE\n LoadFieldQ\n COMPILE('***---***', E_StripPrefix)\n DO CheckStripPrefix\n ***---***\n CalculateColumnWidths\n !--- Prepare window\n OPEN(Window)\n 0{PROP:Text} = 0{PROP:Text} &' ('& NumFields &' Fields, '& RECORDS(pQueue) &' Records)'\n DO FormatFieldList\n IF pMsg\n SELF.FormatMessageList(pMsg, MsgLineQ)\n ELSE\n HIDE(?MessageList)\n ?DebugList{PROP:Height} = ?DebugList{PROP:Height} + ?MessageList{PROP:Height} + 4\n END\n StripedList.Init(?DebugList, pQueue)\n SELF.Debug(?DebugList{PROP:Format})\n ?DebugList{PROP:Selected} = SavePointer\n IF NOT DebugQueueCallingItself\n DebugQueueCallingItself = TRUE\n !SELF.DebugQueue(FieldQ)\n DebugQueueCallingItself = FALSE\n END\n !--- Display window\n ACCEPT\n END\n !--- Restore queue pointer\n IF SavePointer <> 0 AND pNoTouch <> 1\n GET(pQueue, SavePointer)\n END\n END\n END\n FREE(FieldQ)\n !ENDCOMPILE\n !ST::Debug('ST::DebugQueue\/OUT')\n\n!======================================\nFindLastField ROUTINE\n!--------------------------------------\n NumFields = 5000\n LOOP WHILE NumFields > 0 |\n AND WHO(pQueue, NumFields) = ''\n NumFields -= 1\n END\n ASSERT(NumFields > 0)\n\n!**************************************\n COMPILE('***---***', E_StripPrefix)\n!======================================\nCheckStripPrefix ROUTINE\n!--------------------------------------\n DATA\nFieldNo LONG,AUTO\nPrefixFound CSTRING(20)\n!--------------------------------------\n CODE\n LOOP FieldNo = 1 TO NumFields\n FieldQ.Header = WHO(pQueue, FieldNo)\n \n StripPrefixLength = INSTRING(':', FieldQ.Header)\n IF StripPrefixLength > 0\n IF FieldNo = 1\n PrefixFound = FieldQ.Header[1:StripPrefixLength]\n ELSIF FieldQ.Header[1:StripPrefixLength] <> PrefixFound\n StripPrefixLength = 0\n BREAK\n END\n ELSIF PrefixFound\n StripPrefixLength = 0\n BREAK\n END\n END\n IF StripPrefixLength > 0\n LOOP FieldNo = 1 TO NumFields\n GET(FieldQ, FieldNo)\n FieldQ.Header = SUB(FieldQ.Header, StripPrefixLength+1, LEN(CLIP(FieldQ.Header))-StripPrefixLength)\n FieldQ.HeaderLength -= StripPrefixLength\n PUT(FieldQ)\n END\n END\n ***---***\n\n!======================================\nFormatFieldList ROUTINE\n!--------------------------------------\n DATA\nFieldNo LONG,AUTO\nColumnNo SHORT(0)\n!--------------------------------------\n CODE\n !?DebugList{PROP:From} = pQueue\n LOOP FieldNo = 1 TO NumFields\n GET(FieldQ, FieldNo)\n IF FieldQ.IsGroup\n CYCLE\n END\n ColumnNo += 1\n ?DebugList{PROPLIST:RightBorder+PROPLIST:Group, ColumnNo} = 1\n\n FieldQ.ColumnObject &= StripedList.AddColumn( |\n WHAT(pQueue, FieldNo), | \n FieldQ.Header, | \n '@S'& FieldQ.DataLength, | \n FieldQ.Width, | \n CHOOSE(~FieldQ.IsDataNumeric, UltVLB:Justify:Left, UltVLB:Justify:Right))\n PUT(FieldQ)\n END\n StripedList.AddColumn(DummyColumn, '', '@S1', 1, UltVLB:Justify:Left)\n !ST::DebugQueue(FieldQ, 'FormatFieldList')\n\n!======================================\nStripedList.AddColumn PROCEDURE(*? FieldRef,STRING Header,STRING Picture,SHORT Width,STRING Justification)!,*UltVLB:ColumnClass\n!--------------------------------------\nColumnObj &UltVLB:ColumnClass\n!--------------------------------------\n CODE\n ColumnObj &= NEW UltVLB:ColumnClass\n ColumnObj.FieldRef &= FieldRef\n ColumnObj.Header = Header\n ColumnObj.Picture = Picture\n ColumnObj.Width = Width\n ColumnObj.Justification = Justification\n IF ColumnObj.Justification = UltVLB:Justify:Right\n ColumnObj.HJustification = UltVLB:Justify:Center\n ColumnObj.HOffset = 0\n END\n SELF.AddColumn(ColumnObj, TRUE) !TRUE tells it to DISPOSE for us.\n RETURN ColumnObj\n\n!======================================\nLoadFieldQ PROCEDURE\n!--------------------------------------\nFieldNo LONG,AUTO\nFieldRef ANY\nRecNo LONG,AUTO\nSampleLength LONG,AUTO\nIsDataEmpty BOOL,AUTO\n!--------------------------------------\n CODE\n !ST::Debug('ST::DebugQueue\/LoadFieldQ\/IN: NumFields='& NumFields)\n LOOP FieldNo = 1 TO NumFields\n CLEAR(FieldQ)\n !ST::Debug('ST::DebugQueue\/LoadFieldQ: FieldNo='& FieldNo)\n FieldQ.Header = LOWER(WHO(pQueue, FieldNo))\n FieldQ.HeaderLength = LEN(FieldQ.Header)\n IF FieldQ.HeaderLength < 1\n FieldQ.HeaderLength = 1\n END\n FieldRef &= WHAT(pQueue, FieldNo, 1)\n IsDataEmpty = TRUE\n FieldQ.IsDataNumeric = TRUE\n FieldQ.IsDataUpper = FALSE\n FieldQ.IsGroup = ISGROUP(pQueue, FieldNo)\n !ST::Debug('ST::DebugQueue\/LoadFieldQ: RECORDS(pQueue)='& RECORDS(pQueue))\n IF RECORDS(pQueue) > 0 AND pNoTouch <> 1\n FieldQ.DataLength = 0\n LOOP RecNo = 1 TO RECORDS(pQueue)\n GET(pQueue, RecNo)\n !ST::Debug('ST::DebugQueue\/LoadFieldQ: RecNo='& RecNo &'; FieldRef='& FieldRef)\n IF FieldRef <> ''\n IF NOT NUMERIC(FieldRef)\n FieldQ.IsDataNumeric = FALSE\n END\n IF FieldRef <> ''\n IsDataEmpty = FALSE\n END\n SampleLength = LEN(CLIP(FieldRef))\n IF NOT FieldQ.IsDataNumeric AND UPPER(FieldRef) = FieldRef\n FieldQ.IsDataUpper = TRUE\n END\n IF SampleLength > E_EnoughCharacters\n SampleLength = E_EnoughCharacters\n END\n IF SampleLength > FieldQ.DataLength\n FieldQ.DataLength = SampleLength\n END\n END\n END\n IF IsDataEmpty\n FieldQ.IsDataNumeric = FALSE\n END\n ELSE\n FieldQ.IsDataNumeric = FALSE\n FieldQ.IsDataUpper = TRUE\n FieldQ.DataLength = LEN(FieldRef)\n END\n ADD(FieldQ)\n END \n !ST::DebugQueue(FieldQ, 'LoadFieldQ')\n !ST::Debug('ST::DebugQueue\/LoadFieldQ\/OUT')\n\n!======================================\nCalculateColumnWidths PROCEDURE\n!--------------------------------------\nFieldNo LONG,AUTO\nHeaderWidth SHORT,AUTO\nDataWidth SHORT,AUTO\n!--------------------------------------\n CODE\n !ST::Debug('ST::DebugQueue\/LoadFieldQ\/IN: NumFields='& NumFields)\n LOOP FieldNo = 1 TO NumFields\n GET(FieldQ, FieldNo)\n DataWidth = FieldQ.DataLength * CHOOSE(~FieldQ.IsDataUpper, WidthMultiplier:Narrow, WidthMultiplier:Wide) + 2*UltVLB:Offset:Data\n HeaderWidth = FieldQ.HeaderLength * WidthMultiplier:Narrow + 2*UltVLB:Offset:Header\n FieldQ.Width = CHOOSE(DataWidth > HeaderWidth, DataWidth, HeaderWidth)\n IF FieldQ.Width < 8 THEN FieldQ.Width = 8.\n !SELF.Debug(FieldQ.Header &' - '& FieldQ.HeaderLength &' - '& FieldQ.DataLength &' - '& HeaderWidth &' - '& DataWidth &' - '& FieldQ.Width) \n PUT(FieldQ)\n END \n !ST::DebugQueue(FieldQ, 'CalculateColumnWidths')\n\n!============================================================================== \nUltimateDebug.Message PROCEDURE(STRING pDebugString) \n\n CODE\n SELF.Debug(pDebugString)\n \n!============================================================================== \n \nUltimateDebug.SetApplicationName PROCEDURE(STRING pApplicationName,STRING pProgramExtension) !,STRING\n\nApplicationName STRING(50)\n\n CODE\n CASE (pProgramExtension)\n OF ('EXE')\n ApplicationName = 'Application <9>' & pApplicationName & '.EXE'\n OF ('DLL')\n ApplicationName = 'DLL <9>' & pApplicationName & '.DLL'\n OF ('LIB')\n ApplicationName = 'Library <9>' & pApplicationName & '.LIB'\n END \n \n RETURN ApplicationName \n \n!============================================================================== \n \nUltimateDebug.SetShortApplicationName PROCEDURE(STRING pApplicationName,STRING pProgramExtension) !,STRING\n\nApplicationName STRING(50)\n\n CODE\n CASE (pProgramExtension)\n OF ('EXE')\n ApplicationName = pApplicationName & '.EXE'\n OF ('DLL')\n ApplicationName = pApplicationName & '.DLL'\n OF ('LIB')\n ApplicationName = pApplicationName & '.LIB'\n END \n \n RETURN ApplicationName \n!============================================================================== \nUltimateDebug.ShowProcedureInfo PROCEDURE(STRING pProcedure,STRING pApplication,STRING pHelpID,STRING pCreated,STRING pModified,STRING pCompiled)\n\nTheStats STRING(500)\n\nWindow WINDOW('Procedure Information'),AT(,,275,121),CENTER,GRAY\n GROUP('Procedure Information'),AT(3,8,190,102),USE(?GROUP1),BOXED\n END\n TEXT,AT(11,20,176,84),USE(TheStats),SKIP,TRN\n BUTTON('Send To Clipboard'),AT(198,61,72),USE(?BUTTONToClipboard)\n BUTTON('Send To Debug'),AT(198,78,72),USE(?BUTTONToDebug)\n BUTTON('Close'),AT(198,96,72),USE(?BUTTONClose)\n END\n\n\n CODE\n LOOP WHILE KEYBOARD() !Empty the keyboard buffer\n ASK !without processing keystrokes\n END\n SETKEYCODE(0)\n TheStats = ('Procedure:<9>' & CLIP(pProcedure) & '<13,10>' & |\n CLIP(pApplication) & '<13,10><13,10>' & |\n 'Help ID <9>' & CLIP(pHelpID) & '<13,10>' & |\n 'Created On<9>' & CLIP(pCreated) & '<13,10>' & |\n 'Modified On<9>' & CLIP(pModified) & '<13,10>' & |\n 'Compiled On<9>' & CLIP(pCompiled)) \n OPEN(Window)\n ACCEPT\n CASE FIELD()\n OF ?BUTTONClose\n CASE EVENT()\n OF EVENT:Accepted\n BREAK\n END \n OF ?BUTTONToClipboard\n CASE EVENT()\n OF EVENT:Accepted\n SETCLIPBOARD(TheStats)\n END\n OF ?BUTTONToDebug\n CASE EVENT()\n OF EVENT:Accepted\n Self.Debug(TheStats)\n END \n END\n \n END\n \n LOOP WHILE KEYBOARD() !Empty the keyboard buffer\n ASK !without processing keystrokes\n END\n SETKEYCODE(0)\n!============================================================================== \nUltimateDebug.FormatMessageList PROCEDURE(STRING pMsg,*QUEUE pMsgQueue) \n\n!--------------------------------------\nStartPos LONG(1)\nPos LONG,AUTO\n!--------------------------------------\n CODE\n IF pMsg\n LOOP WHILE StartPos\n Pos = INSTRING('|', pMsg, 1, StartPos)\n pMsgQueue = CHOOSE(Pos=0, pMsg[StartPos : LEN(pMsg)], pMsg[StartPos : Pos-1])\n ADD(pMsgQueue)\n ASSERT(ERRORCODE()=0)\n StartPos = Pos+1\n UNTIL Pos = 0\n END\n RETURN\n!==============================================================================\n!==============================================================================\nUltimateDebug.Construct PROCEDURE \n\n CODE\n \n SELF.EventQ &= NEW ST::DebugEventQueue\n SELF.IgnoreEventQ &= NEW ST::DebugEventQueue\n SELF.CategoryQueue &= NEW DebugCategoryQueue\n\t\n\t\n SELF.SetPurgeTime(5*60*100) !5 minutes \n SELF.SetEventOffset \n \n SELF.ShowAll = TRUE\n SELF.ShowField = FALSE\n SELF.ShowFocus = FALSE\n SELF.ShowSelected = FALSE\n SELF.ShowSelStart = FALSE\n SELF.ShowSelEnd = FALSE\n SELF.ShowKeyCode = FALSE\n SELF.ShowError = FALSE\n SELF.ShowThread = FALSE\n SELF.ShowContents = FALSE\n SELF.ShowScreenText = FALSE\n SELF.ShowAcceptAll = FALSE\n \n! REGISTER(EVENT:AlertKey,ADDRESS(SELF.ShowProcedureInfo),ADDRESS(SELF))\n\n\n \nUltimateDebug.SetEventOffSet PROCEDURE\n \n code\n SELF.EventOffset = 0A000h\n IF UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) <> 'EVENT:ACCEPTED' \n self.HuntForOffSet \n end\n \n\nUltimateDebug.HuntForOffset procedure\nEventNum LONG\nPass BYTE\nLo LONG\nHi LONG\n code\n \n SELF.Debug('SELF.EventOffset is not correct, trying to find a correct value')\n\n SELF.EventOffset = CHOOSE(SELF.EventOffset = 01400h, 0A000h, 01400h)\n if UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) = 'EVENT:ACCEPTED' THEN RETURN END\n\n SELF.EventOffset = GETINI('Debuger','EventOffset', -1)\n CASE SELF.EventOffset\n OF -2; SELF.Debug('Stored value for EventOffset indicates no valid offset to be found, not searching')\n OF -1; SELF.Debug('SELF.EventOffset is not correct, searching for correct value')\n ELSE ; IF UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) = 'EVENT:ACCEPTED'\n SELF.Debug('Using stored value for SELF.EventOffset')\n RETURN\n END\n END\n\n !The loops are split out to search more likely ranges first\n !for efficiency it makes more sense to check offsets incrementing by 100, searching for a result that starts with 'EVENT'\n LOOP Pass = 1 TO 4\n EXECUTE Pass\n BEGIN; Lo = 0A000h; Hi = 0AFFFh END\n BEGIN; Lo = 01000h; Hi = 01FFFh END\n BEGIN; Lo = 00000h; Hi = 00FFFh END\n BEGIN; Lo = 0B000h; Hi = 0FFFFh END\n END\n LOOP EventNum = Lo TO Hi\n SELF.EventOffset = EventNum\n IF UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) = 'EVENT:ACCEPTED'\n PUTINI('Debuger','EventOffset',SELF.EventOffset)\n RETURN\n END\n END\n END\n\n SELF.Debug('Could not find a working offset for .EventOffset')\n SELF.EventOffset = -2\n PUTINI('Debuger','EventOffset',SELF.EventOffset)\n\n\nUltimateDebug.Destruct PROCEDURE\n CODE\n!\tFREE(SELF.ControlQ)\n!\tDISPOSE(SELF.ControlQ)\n\n FREE(SELF.EventQ)\n DISPOSE(SELF.EventQ)\n\n FREE(SELF.IgnoreEventQ)\n DISPOSE(SELF.IgnoreEventQ)\n\n FREE(SELF.CategoryQueue)\n DISPOSE(SELF.CategoryQueue)\n\nUltimateDebug.SetDebugEvent PROCEDURE(SIGNED Event)\n CODE\n SELF.DebugEvent = Event\n\n\nUltimateDebug.SetHotKey PROCEDURE(UNSIGNED HotKey)\n CODE\n 0{PROP:Alrt, 255} = HotKey\n SELF.HotKey = HotKey\n SELF.SetDebugEvent(EVENT:AlertKey)\n\n\nUltimateDebug.SetPurgeTime PROCEDURE(LONG PurgeTime)\n CODE\n IF PurgeTime <= 0\n SELF.PurgeStarTime = 0\n ELSE\n SELF.PurgeStarTime = SELF.CalcStarDate(0, PurgeTime)\n END\n\n\nUltimateDebug.IgnoreEvent PROCEDURE(SIGNED Event)\nX LONG,AUTO\n CODE\n CLEAR(SELF.IgnoreEventQ)\n SELF.IgnoreEventQ.EventNo = Event\n ADD(SELF.IgnoreEventQ, SELF.IgnoreEventQ.EventNo)\n\n ! Purge existing logged events\n LOOP X = RECORDS(SELF.EventQ) TO 1 BY -1\n GET(SELF.EventQ, X)\n IF SELF.EventQ.EventNo = Event\n DELETE(SELF.EventQ)\n END\n END\n\n\n\nUltimateDebug.TakeEvent PROCEDURE\n CODE\n!\t? !UltimateDebug.Debug('UltimateDebug.TakeEvent: DebugEvent='& SELF.DebugEvent &'; Event='& EVENT() &'-'& SELF.GetEventName(EVENT()) &'; Keycode='& KEYCODE())\n CASE EVENT()\n OF 0\n OROF EVENT:Suspend\n OROF EVENT:Resume\n!\t\t? !Self.Debug('...Ignore It')\n !Ignore it\n OF SELF.DebugEvent\n!\t\t? !Self.Debug('...Debug Event '& SELF.DebugEvent &'\/'& EVENT:AlertKey &' ' & KEYCODE() &'\/'& SELF.HotKey)\n IF SELF.DebugEvent <> EVENT:AlertKey |\n OR KEYCODE() = SELF.HotKey\n SELF.Debug('')\n ELSE\n SELF.LogEvent\n END\n ELSE\n!\t\t? !SELF.Debug('...Logger')\n IF SELF.DebugEvent <> EVENT:AlertKey |\n OR EVENT() <> EVENT:PreAlertKey |\n OR KEYCODE() <> SELF.HotKey\n SELF.LogEvent\n END\n END\n\nUltimateDebug.LogEvent PROCEDURE\n CODE\n SELF.IgnoreEventQ.EventNo = EVENT()\n GET(SELF.IgnoreEventQ, SELF.IgnoreEventQ.EventNo)\n IF ERRORCODE() <> 0\n CLEAR(SELF.EventQ)\n SELF.EventQ.Date = FORMAT(TODAY(), @D10)\n SELF.EventQ.Time = FORMAT(CLOCK(), @T6)\n SELF.EventQ.StarDate = SELF.CalcStarDate()\n SELF.EventQ.EventNo = EVENT()\n SELF.EventQ.EventName = SELF.GetEventName(EVENT())\n SELF.EventQ.FieldFeq = FIELD()\n!\t\tSELF.EventQ.FieldName = SELF.GetControlName(FIELD()) TODO\n SELF.EventQ.Keycode = KEYCODE()\n ADD(SELF.EventQ, SELF.EventQ.StarDate)\n END\n ! Purge old events\n LOOP WHILE SELF.PurgeStarTime <> 0 AND RECORDS(SELF.EventQ)\n GET(SELF.EventQ, 1)\n IF SELF.EventQ.StarDate > SELF.CalcStarDate() - SELF.PurgeStarTime THEN BREAK.\n DELETE(SELF.EventQ)\n END\n\n\nUltimateDebug.CalcStarDate PROCEDURE(,)!,REAL\n CODE\n IF OMITTED(D) THEN D = TODAY().\n IF OMITTED(T) THEN T = CLOCK().\n RETURN D + (T-1)\/8640000\n\n\nUltimateDebug.GetEventName PROCEDURE(SIGNED Event)!,STRING\n CODE\n CASE Event\n\n ! Field-dependent events\n\n OF 01H; RETURN 'Accepted'\n OF 02H; RETURN 'NewSelection'\n OF 02H; RETURN 'ScrollUp'\n OF 04H; RETURN 'ScrollDown'\n OF 05H; RETURN 'PageUp'\n OF 06H; RETURN 'PageDown'\n OF 07H; RETURN 'ScrollTop'\n OF 08H; RETURN 'ScrollBottom'\n OF 09H; RETURN 'Locate'\n\n OF 01H; RETURN 'MouseDown'\n OF 0aH; RETURN 'MouseUp'\n OF 0bH; RETURN 'MouseIn'\n OF 0cH; RETURN 'MouseOut'\n OF 0dH; RETURN 'MouseMove'\n OF 0eH; RETURN 'VBXevent'\n OF 0fH; RETURN 'AlertKey'\n OF 10H; RETURN 'PreAlertKey'\n OF 11H; RETURN 'Dragging'\n OF 12H; RETURN 'Drag'\n OF 13H; RETURN 'Drop'\n OF 14H; RETURN 'ScrollDrag'\n OF 15H; RETURN 'TabChanging'\n OF 16H; RETURN 'Expanding'\n OF 17H; RETURN 'Contracting'\n OF 18H; RETURN 'Expanded'\n OF 19H; RETURN 'Contracted'\n OF 1AH; RETURN 'Rejected'\n OF 1BH; RETURN 'DroppingDown'\n OF 1CH; RETURN 'DroppedDown'\n OF 1DH; RETURN 'ScrollTrack'\n OF 1EH; RETURN 'ColumnResize'\n\n OF 101H; RETURN 'Selected'\n OF 102H; RETURN 'Selecting'\n\n ! Field-independent events (FIELD() returns 0)\n\n OF 201H; RETURN 'CloseWindow'\n OF 202H; RETURN 'CloseDown'\n OF 203H; RETURN 'OpenWindow'\n OF 204H; RETURN 'OpenFailed'\n OF 205H; RETURN 'LoseFocus'\n OF 206H; RETURN 'GainFocus'\n\n OF 208H; RETURN 'Suspend'\n OF 209H; RETURN 'Resume'\n OF 20AH; RETURN 'Notify'\n\n OF 20BH; RETURN 'Timer'\n OF 20CH; RETURN 'DDErequest'\n OF 20DH; RETURN 'DDEadvise'\n OF 20EH; RETURN 'DDEdata'\n OF 20FH; RETURN 'DDEexecute'\n OF 210H; RETURN 'DDEpoke'\n OF 211H; RETURN 'DDEclosed'\n\n OF 220H; RETURN 'Move'\n OF 221H; RETURN 'Size'\n OF 222H; RETURN 'Restore'\n OF 223H; RETURN 'Maximize'\n OF 224H; RETURN 'Iconize'\n OF 225H; RETURN 'Completed'\n OF 230H; RETURN 'Moved'\n OF 231H; RETURN 'Sized'\n OF 232H; RETURN 'Restored'\n OF 233H; RETURN 'Maximized'\n OF 234H; RETURN 'Iconized'\n OF 235H; RETURN 'Docked'\n OF 236H; RETURN 'Undocked'\n\n OF 240H; RETURN 'BuildFile'\n OF 241H; RETURN 'BuildKey'\n OF 242H; RETURN 'BuildDone'\n\n ! User-definable events\n\n OF 3FFH; RETURN 'DoResize'\n OF 400H; RETURN 'User'\n END\n RETURN '???'\n!==============================================================================\t\n!----------------------------------------------------------------------- \n! NOTES:\n! Construct procedure executes automatically at the beginning of each procedure \n! Destruct procedure executes automatically at the end of each procedure\n! Construct\/Destruct Procedures are implicit under the hood but don't have to be declared in the class as such if there is no need. \n! It's ok to have them there for good measure, although some programmers only include them as needed.\n! Normally some prefer Init() and Kill(), but Destruct() can be handy to DISPOSE of stuff (to avoid mem leak)\n!----------------------------------------------------------------------- \nUltimateDebug.AddUserEvent PROCEDURE(STRING argEventName,LONG argEventEquate)\n CODE\n IF ~SELF.UserEventNameQ &= NULL\n IF SELF.GetUserEvent(argEventEquate)\n SELF.UserEventNameQ.EventName = argEventName\n PUT(SELF.UserEventNameQ)\n ELSE\n SELF.UserEventNameQ.EventEquate = argEventEquate\n SELF.UserEventNameQ.EventName = argEventName\n ADD(SELF.UserEventNameQ)\n END\n END\n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.GetUserEvent PROCEDURE(LONG argEventEquate)!string\n CODE\n IF ~SELF.UserEventNameQ &= NULL\n SELF.UserEventNameQ.EventEquate = argEventEquate\n GET(SELF.UserEventNameQ, SELF.UserEventNameQ.EventEquate)\n RETURN CHOOSE( ERRORCODE()=0, SELF.UserEventNameQ.EventName, '')\n ELSE\n RETURN ''\n END \n!-----------------------------------------------------------------------------------------!\nUltimateDebug.GetEventDescr PROCEDURE(LONG argEvent)!,string !prototype set to default to -1\nlcl:Retval LIKE(qtUserEventName.EventName)\nlcl:EventNum UNSIGNED \nlcl:Position LONG\n\n CODE\n IF argEvent = -1\n argEvent = EVENT()\n END\n lcl:RetVal = SELF.GetUserEvent( argEvent )\n IF ~lcl:RetVal\n CASE argEvent\n OF Event:User ; lcl:RetVal = 'EVENT:User'\n OF Event:User + 1 TO Event:Last ; lcl:RetVal = 'EVENT:User + '& argEvent - Event:User\n OF Event:APP ; lcl:RetVal = 'EVENT:App'\n OF Event:APP + 1 TO Event:APP_LAST; lcl:RetVal = 'EVENT:App + ' & argEvent - Event:APP\n\n ELSE \n IF SELF.EventOffset = -2 !indicates could not find a valid offset\n lcl:RetVal = 'EVENT['& argEvent &']'\n ELSE\n lcl:EventNum = argEvent + SELF.EventOffset ! 1400h (pre c6) or A000h (c6) !EVENT:FIRST equate(01400h)\/(0A000h)\n debugerNameMessage(lcl:RetVal, lcl:EventNum)\n END\n END\n END \n \n RETURN lcl:RetVal ![7:LEN(CLIP(lcl:RetVal))]\n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.GetFEQDescr PROCEDURE(SIGNED argFEQ)!,string !prototype set to default to -1\n\nlcl:Retval CSTRING(40) !<--- some arbitrary length\nlcl:FEQ SIGNED\nszRef &CSTRING\n\n CODE\n lcl:FEQ = CHOOSE(argFEQ = -1, FIELD(), argFEQ)\n COMPILE('** C55+ **',_C55_)\n lcl:RetVal = debugerGetFieldName(lcl:FEQ)\n !END-COMPILE('** C55+ **',_C55_)\n OMIT('** C55+ **',_C55_)\n szRef &= debugerGetFieldName(lcl:FEQ)\n lcl:RetVal = szRef\n !END-OMIT('** C55+ **',_C55_)\n\n RETURN lcl:RetVal !CLIP(lcl:RetVal) \n \n!-----------------------------------------------------------------------------------------! \n!UltimateDebug.DebugEvent \n!Used to show Events as they are processed.\n!Code by Mark Goldbert\n!-----------------------------------------------------------------------------------------!\n \nUltimateDebug.DebugEvent PROCEDURE()\n\ncs_DebugString string(600)\ncl_Offset LONG\ncb_DebugNoCR BYTE(0)\ncs_Event STRING(4)\ncs_Procedure STRING(20)\ncl_ProcedureOffset LONG\n\n\n CODE\n \n cl_Offset = 24\n cs_Procedure = pDebugProcedure\n! cs_DebugString = FORMAT(SELF.GetEventDescr(),@s30) & EVENT() \n cs_Event = EVENT()\n cs_DebugString = cs_Event & ' ' & SUB(SELF.GetEventDescr(),7,100)\n IF cs_Procedure\n\t\t\n cl_ProcedureOffset = LEN(CLIP(cs_DebugString)) + 2\n cl_Offset = 24 + cl_ProcedureOffset\n cs_DebugString = cs_Procedure[1:cl_ProcedureOffset] & cs_DebugString\n\t\t\n END\n\t\n if self.ShowField or self.ShowAll\n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Field(' & SELF.GetFEQDescr() & ' = ' & FIELD() &')' \n cl_Offset += 34\n end\n \n if self.ShowFocus or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Focus(' & SELF.GetFEQDescr(FOCUS()) & ' =' & FOCUS() & ')' \n cl_Offset += 34\n end\n \n if self.ShowSelected or self.ShowAll\n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Selected(' & SELF.GetFEQDescr(SELECTED()) & ' =' & SELECTED() & ')'\n cl_Offset += 34\n end\n \n if self.ShowSelStart or self.ShowAll\n cs_DebugString = cs_DebugString[1:cl_Offset] & 'SelStart(' & FOCUS(){prop:SelStart} & ')'\n cl_Offset += 14\n end\n \n if self.ShowSelEnd or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'SelEnd(' & FOCUS(){prop:SelEnd} & ')' \n cl_Offset += 14\n end\n \n if self.ShowKeyCode or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'KeyCode(' & KEYCODE() & ')' \n cl_Offset += 14\n end\n \n if self.ShowError or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Error('& ERRORCODE() & ': ' & CLIP(ERROR()) & ')' \n cl_Offset += 24\n end\n \n if self.ShowThread or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Thread('& THREAD() & ')' \n cl_Offset += 14\n end\n \n if self.ShowAcceptAll or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'AcceptAll('& 0{prop:AcceptAll} & ')' \n cl_Offset += 14\n end \n \n if self.ShowContents or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Contents('& CONTENTS(FOCUS()) & ')'\n cl_Offset += 24\n end\n \n if self.ShowScreenText or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'ScreenText('& FOCUS(){prop:ScreenText} & ')' \n cl_Offset += 50\n end \n cs_DebugString = cs_DebugString[1:cl_Offset]\n cb_DebugNoCR = SELF.DebugNoCR\n SELF.DebugNoCR = TRUE\n SELF.DEBUG(clip(cs_DebugString),'',TRUE) \n SELF.DebugNoCR = cb_DebugNoCR\n\t\n\t\nUltimateDebug.GPF PROCEDURE()\n\n CODE\n DebugBreak()\n ","old_contents":" MEMBER()\n omit('***',_c55_)\n_ABCDllMode_ EQUATE(0)\n_ABCLinkMode_ EQUATE(1)\n ***\n!\n!--------------------------\n!ClarionLive Skeleton Class\n!--------------------------\n!==============================================================================\n!If all fields begin with the same prefix, then you can have that auto-stripped\n!by uncommenting the following line.\n!E_StripPrefix EQUATE(1)\n!==============================================================================\nWidthMultiplier:Narrow EQUATE(5) !normal columns (numbers, lowercase, etc.)\nWidthMultiplier:Wide EQUATE(7) !uppercase columns\nDebugQueueCallingItself BOOL(FALSE)\n!==============================================================================\n INCLUDE('Equates.clw')\n INCLUDE('Errors.clw')\n INCLUDE('UltimateDebug.inc'),ONCE \n INCLUDE('UltimateVLB.inc'),ONCE\n! ToDo _wsldebug$setlogfile\n\n MAP\n module('kernel') \n!see http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/debug\/base\/debugging_functions.asp\n debugbreak(),PASCAL !,RAW,NAME('debugbreak')\n OutputDebugString(*CSTRING),PASCAL,RAW,NAME('OutputDebugStringA')\n end \n MODULE('C%V%RUN%X%')\n debugerNameMessage (*CSTRING, UNSIGNED EventNum ),RAW,NAME('WslDebug$NameMessage') !Note: use Event() + EVENT:FIRST else will get WM_*\n COMPILE('** C55+ **',_C55_)\n debugerGetFieldName(SIGNED FEQ ),*CSTRING,RAW,NAME('Cla$FIELDNAME')\n !END-COMPILE('** C55+ **',_C55_)\n OMIT('** C55+ **',_C55_)\n debugerGetFieldName(SIGNED FEQ ),LONG,RAW,NAME('Cla$FIELDNAME')\n !END-OMIT('** C55+ **',_C55_)\n END\n END\n\n!OMIT('_ifdef_',EVENT:APP=08000h)\n COMPILE('_ifdef_',EVENT:APP=0)\nEVENT:APP EQUATE(08000h)\nEVENT:APP_LAST EQUATE(0BFFFh)\n !END_COMPILE('_ifdef_',EVENT:APP=0)\n!==============================================================================\n\n!-----------------------------------\nUltimateDebug.Init PROCEDURE()\n!-----------------------------------\n\n CODE\n \n RETURN\n\n!-----------------------------------\nUltimateDebug.Kill PROCEDURE()\n!-----------------------------------\n\n CODE\n\n RETURN\n\t\n!-----------------------------------------\nUltimateDebug.AddCategoryToDebug PROCEDURE(STRING pCategory)\n!-----------------------------------------\n\n CODE\n\t\n SELF.CategoryQueue.Category = pCategory\n GET(SELF.CategoryQueue,SELF.CategoryQueue.Category)\n IF ERROR()\n ADD(SELF.CategoryQueue,SELF.CategoryQueue.Category)\n END\n\t\n\t\t\n!!!-----------------------------------------\n!!UltimateDebug.Debug PROCEDURE(STRING pCategory,STRING pDebugString)\n!!!-----------------------------------------\n!!\n!!\tCODE\n!!\t\n!!\tSELF.CategoryQueue.Category = pCategory\n!!\tGET(SELF.CategoryQueue,SELF.CategoryQueue.Category)\n!!\tIF ERRORCODE() = NoError\n!!\t\tSELF.Debug('[' & CLIP(pCategory) & ']' & pDebugString)\n!!\tEND\n!!\t\n!!\tRETURN\n!-----------------------------------------\nUltimateDebug.Debug PROCEDURE(STRING pDebugString,,BYTE pNoClip = 0)\n!-----------------------------------------\nASC1:ASCIIFile FILE,PRE(ASC1),DRIVER('ASCII'),NAME(GlobalASCIIFileName),CREATE\nRECORD RECORD,PRE()\nSTRING STRING(512)\n END\n END\n\nlc_CDebugString STRING(10000)\nlc_COutDebugString STRING(10000)\nlc_Temp STRING(10000)\nll_Count LONG\nll_End LONG\nlb_Flag BYTE(FALSE)\nlb_FirstTime BYTE(TRUE)\nlb_FirstLoop BYTE(0)\nll_StringPosition LONG\n\n\n CODE \n IF SELF.DebugOff AND ~SELF.SaveToFile;RETURN.\n\t \n GlobalASCIIFileName = SELF.ASCIIFileName\n IF SELF.SaveToFile\n IF ~EXISTS(ASC1:ASCIIFile{PROP:Name})\n CREATE(ASC1:ASCIIFile)\n END\n OPEN(ASC1:ASCIIFile)\n END\t\n ll_Count = 1 \n IF SELF.DebugNoCR \n lc_CDebugString = CLIP(pDebugString) \n IF ~SELF.DebugOff \n SELF.SendOutputToDebug(lc_CDebugString,pCustomPrefix,pNoClip)\n END \n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']- ' & lc_CDebugString\n ADD(ASC1:ASCIIFile)\n END\n ELSE\n IF LEN(CLIP(pDebugString)) = 0\n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']'\n ADD(ASC1:ASCIIFile)\n END\n IF ~SELF.DebugOff\n lc_COutDebugString = ''\n SELF.SendOutputToDebug(lc_COutDebugString,pCustomPrefix,pNoClip)\n END\n ELSE\n\t\t\t\n Loop Until lb_Flag\n If Len(Clip(pDebugString)) - ll_Count < 9999 Then\n ll_end = Len(Clip(pDebugString))\n lb_Flag = True\n Else\n ll_end = ll_Count + 9998\n End \n lc_CDebugString = CLIP(pDebugString[ll_Count : ll_end])\n \n ll_Count = ll_end + 1\n LOOP\n ll_StringPosition = INSTRING('<13>',lc_CDebugString,1,1)\n\n IF ll_StringPosition \n lc_COutDebugString = SUB(lc_CDebugString,1,ll_StringPosition - 1)\n lc_CDebugString = SUB(lc_CDebugString,ll_StringPosition + 2,10000)\n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']- ' & lc_COutDebugString\n ADD(ASC1:ASCIIFile)\n END\n IF ~SELF.DebugOff\n SELF.SendOutputToDebug(lc_COutDebugString,pCustomPrefix,pNoClip)\n END\n\n lb_FirstLoop = TRUE\n CYCLE\n END\n IF SELF.SaveToFile\n ASC1:String = '[' & FORMAT(TODAY(),@D17) & '-' & FORMAT(CLOCK(),@T7) & ']- ' & lc_CDebugString\n ADD(ASC1:ASCIIFile)\n END\n IF ~SELF.DebugOff\n SELF.SendOutputToDebug(lc_CDebugString,pCustomPrefix,pNoClip)\n END\n BREAK\n END \n END\n END\n END\n IF SELF.SaveToFile\n CLOSE(ASC1:ASCIIFile)\n END\n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.SendOutputToDebug PROCEDURE(STRING pOutput,,BYTE pNoClip = 0)\n!-----------------------------------------------------------------------------------------!\n\nlc_CDebugString CSTRING(10000)\nlc_COutDebugString CSTRING(10000)\nlc_Temp CSTRING(10000)\nCount LONG(0)\n\n CODE\n\n IF pNoClip\n lc_COutDebugString = CLIP(SELF.DebugPrefix) & pOutput\n OutputDebugString(lc_COutDebugString)\n ELSE\n lc_CDebugString = CLIP(pOutput)\n \n LOOP\n Count += 1\n IF LEN(CLIP(lc_CDebugString)) > 160\n IF Count > 1\n lc_COutDebugString = ' ' & lc_CDebugString[1:160] \n ELSE\n lc_COutDebugString = lc_CDebugString[1:160] \n END\n lc_CDebugString = SUB(lc_CDebugString,161,10000)\n \n ELSE\n lc_COutDebugString = lc_CDebugString\n lc_CDebugString = '' \n END\n \n \n lc_COutDebugString = CLIP(SELF.DebugPrefix) & ' ' & CLIP(pCustomPrefix) & ' ' & CLIP(lc_COutDebugString)\n OutputDebugString(lc_COutDebugString)\n \n IF LEN(CLIP(lc_CDebugString)) = 0\n BREAK\n END\n \n END\n \n END\n \n \n \n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.ClearDebugView PROCEDURE() !Requires Debugview 4.3 or greater\n!-----------------------------------------------------------------------------------------!\n!From: http:\/\/www.sysinternals.com\/ntw2k\/freeware\/debugview.shtml\n! Clear-output string: When DebugView sees the special debug output string \"DBGVIEWCLEAR\" it clears the output.\n\n!Note: If this doesn't appear to work, then you are either:\n! a) using an older version of debugview\n! OR b) you are filtering the message\n\n CODE\n\n SELF.Debug('DBGVIEWCLEAR')\n\t\n\t\t\n\t\n!==============================================================================\nUltimateDebug.DebugRecord PROCEDURE(*FILE pFile,STRING pMsg)\n!--------------------------------------\nG &GROUP\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n G &= pFile{PROP:Record}\n SELF.DebugGroup(G,, pMsg, 'Record')\n !ENDCOMPILE\n RETURN\n!==============================================================================\nUltimateDebug.DebugRecord PROCEDURE(*FILE pFile,*FILE pFile2,STRING pMsg)\n!--------------------------------------\nG1 &GROUP\nG2 &GROUP\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n G1 &= pFile{PROP:Record}\n G2 &= pFile2{PROP:Record}\n SELF.DebugGroup(G1, G2, pMsg, 'Record')\n !ENDCOMPILE\n RETURN\n!==============================================================================\nUltimateDebug.DebugGroup PROCEDURE(*GROUP pGroup,STRING pMsg,)\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n SELF.DebugGroup(pGroup,, pMsg)\n !ENDCOMPILE\n RETURN\n!==============================================================================\nUltimateDebug.DebugGroup PROCEDURE(*GROUP pGroup,<*GROUP pGroup2>,STRING pMsg,)\n!--------------------------------------\nepGroup2 EQUATE(2)\nSavePointer LONG,AUTO\nNumFields SHORT(0)\nNumFields2 SHORT(0)\nFieldQ QUEUE\nName CSTRING(100)\nValue CSTRING(1000)\nValue2 CSTRING(1000)\n END\nMsgLineQ QUEUE\nText STRING(100)\n END\n!--------------------------------------\nWindow WINDOW('Debug'),AT(,,676,416),FONT('Tahoma',8,,),CENTER,SYSTEM,GRAY,DOUBLE\n LIST,AT(4,4,668,356),USE(?DebugList),VSCROLL,FORMAT('125L(2)|M~Field Name~S(1)@S100@180L(2)|M~Value~S(1)@S255@1000L(2)|M~Value2~S(1)@' &|\n 'S255@'),FROM(FieldQ)\n LIST,AT(4,364,668,48),USE(?MessageList),VSCROLL,FROM(MsgLineQ)\n END\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n DO LoadFieldQ\n !--- Prepare window\n OPEN(Window)\n IF OMITTED(epGroup2)\n ?DebugList{PROPLIST:Width, 2} = 1000\n END\n 0{PROP:Text} = 0{PROP:Text} &' '& CHOOSE(pStructureType='', 'Group', pStructureType) &' ('& NumFields &' Fields)'\n IF pMsg\n SELF.FormatMessageList(pMsg, MsgLineQ)\n ELSE\n HIDE(?MessageList)\n ?DebugList{PROP:Height} = ?DebugList{PROP:Height} + ?MessageList{PROP:Height} + 4\n END\n !--- Display window\n ACCEPT\n END\n !ENDCOMPILE\n RETURN\n!======================================\nLoadFieldQ ROUTINE\n!--------------------------------------\n DATA\nF ANY !Field reference for value assignment\nX SHORT,AUTO\nM SHORT(0)\n!--------------------------------------\n CODE\n OMIT('!+++!!!+++!')\n LOOP X = 10000 TO 1 BY -1\n IF NumFields = 0 AND WHO(pGroup, X) <> ''\n NumFields = X\n IF M = 0\n M = NumFields\n END\n END\n IF NOT OMITTED(epGroup2) |\n AND NumFields2 = 0 AND WHO(pGroup2, X) <> ''\n NumFields2 = X\n IF M = 0\n M = NumFields2\n END\n END\n IF M = 0 AND (NumFields OR NumFields2)\n M = X\n END\n IF NumFields AND (OMITTED(epGroup2) OR NumFields2)\n BREAK\n END\n END\n LOOP X = 1 TO M\n CLEAR(FieldQ)\n IF NumFields >= X\n FieldQ.Name = WHO(pGroup, X)\n F &= WHAT(pGroup, X, 1)\n FieldQ.Value = F\n IF NumFields2 >= X\n DO AssignValue2\n END\n ELSE\n FieldQ.Name = WHO(pGroup2, X)\n DO AssignValue2\n END\n ADD(FieldQ)\n ASSERT(ERRORCODE()=0)\n END\n !+++!!!+++!\n EXIT\n!======================================\nAssignValue2 ROUTINE\n!--------------------------------------\n OMIT('!+++!!!+++!')\n F &= WHAT(pGroup2, X, 1)\n FieldQ.Value2 = F\n !+++!!!+++!\n EXIT\n!==============================================================================\nUltimateDebug.DebugQueue PROCEDURE(*QUEUE pQueue,,)\n MAP\nLoadFieldQ PROCEDURE\n END\n!--------------------------------------\nSavePointer LONG,AUTO\nNumFields SHORT,AUTO\n COMPILE('***---***', E_StripPrefix)\nStripPrefixLength BYTE,AUTO\n ***---***\nStripedList UltimateVLB\nStripedList_ColumnClass CLASS(UltVLB:ColumnClass),TYPE\nInit PROCEDURE(LONG FieldNo,*? FieldRef,STRING Header,STRING Picture,SHORT Width,STRING Justification)\n END\nDummyColumn STRING(1)\nColumnObj &StripedList_ColumnClass\nFieldQ QUEUE\nHeader CSTRING(100)\nWidth LONG\nIsNumeric BOOL\nIsGroup BOOL\nColumnObject &UltVLB:ColumnClass\n END\nMsgLineQ QUEUE\nText STRING(1000)\n END \n!NumberColumn CLASS(UltVLB:ColumnClass)\n!Init PROCEDURE(LONG FieldNo,*? FieldRef,STRING Header,STRING Picture),*UltVLB:ColumnClass\n! END\n!--------------------------------------\nWindow WINDOW('Debug Queue'),SYSTEM,AT(,,676,416),CENTER,FONT('Tahoma', 8),GRAY,DOUBLE\n LIST, AT(4,4,668,356), USE(?DebugList), HVSCROLL\n LIST, AT(4,364,668,48), USE(?MessageList), VSCROLL, FROM(MsgLineQ)\n END\n!--------------------------------------\n CODE\n IF SELF.DebugOff;RETURN.\n !ST::Debug('ST::DebugQueue\/IN')\n COMPILE('!ENDCOMPILE', ST::DEBUG:Debugging=1)\n IF pQueue &= NULL\n MESSAGE('Queue passed to ST::DebugQueue was a NULL pointer!', 'Debug Queue')\n ELSE\n !--- Save current queue pointer\n SavePointer = CHOOSE(RECORDS(pQueue)=0, 0, POINTER(pQueue))\n !--- Scan passed queue\n DO FindLastField\n IF NumFields = 0\n MESSAGE('Queue passed to ST::DebugQueue has no fields!', 'Debug Queue')\n ELSE\n LoadFieldQ\n COMPILE('***---***', E_StripPrefix)\n DO CheckStripPrefix\n ***---***\n !--- Prepare window\n OPEN(Window)\n 0{PROP:Text} = 0{PROP:Text} &' ('& NumFields &' Fields, '& RECORDS(pQueue) &' Records)'\n DO FormatFieldList\n IF pMsg\n SELF.FormatMessageList(pMsg, MsgLineQ)\n ELSE\n HIDE(?MessageList)\n ?DebugList{PROP:Height} = ?DebugList{PROP:Height} + ?MessageList{PROP:Height} + 4\n END\n StripedList.Init(?DebugList, pQueue)\n SELF.Debug(?DebugList{PROP:Format})\n ?DebugList{PROP:Selected} = SavePointer\n IF NOT DebugQueueCallingItself\n DebugQueueCallingItself = TRUE\n !SELF.DebugQueue(FieldQ)\n DebugQueueCallingItself = FALSE\n END\n !--- Display window\n ACCEPT\n END\n !--- Restore queue pointer\n IF SavePointer <> 0 AND pNoTouch <> 1\n GET(pQueue, SavePointer)\n END\n END\n END\n DO FreeFieldQ\n !ENDCOMPILE\n !ST::Debug('ST::DebugQueue\/OUT')\n RETURN\n!======================================\nFreeFieldQ ROUTINE\n!--------------------------------------\n DATA\nX LONG\n CODE\n!--------------------------------------\n LOOP X = 1 TO RECORDS(FieldQ)\n GET(FieldQ, X)\n DISPOSE(FieldQ.ColumnObject)\n END\n FREE(FieldQ)\n DISPOSE(ColumnObj)\n\n!======================================\nFindLastField ROUTINE\n!--------------------------------------\n NumFields = 5000\n LOOP WHILE NumFields > 0 |\n AND WHO(pQueue, NumFields) = ''\n NumFields -= 1\n END\n\n!**************************************\n COMPILE('***---***', E_StripPrefix)\n!======================================\nCheckStripPrefix ROUTINE\n!--------------------------------------\n DATA\nFieldNo SHORT,AUTO\nPrefixFound CSTRING(20)\n!--------------------------------------\n CODE\n LOOP FieldNo = 1 TO NumFields\n FieldQ.Header = WHO(pQueue, FieldNo)\n \n StripPrefixLength = INSTRING(':', FieldQ.Header)\n IF StripPrefixLength\n IF FieldNo = 1\n PrefixFound = FieldQ.Header[1:StripPrefixLength]\n ELSIF FieldQ.Header[1:StripPrefixLength] <> PrefixFound\n StripPrefixLength = 0\n BREAK\n END\n ELSIF PrefixFound\n StripPrefixLength = 0\n BREAK\n END\n END\n EXIT\n ***---***\n!======================================\nFormatFieldList ROUTINE\n!--------------------------------------\n DATA\nFieldNo SHORT,AUTO\nColumnNo SHORT(0)\nPicture CSTRING(5)\n!--------------------------------------\n CODE\n !?DebugList{PROP:From} = pQueue\n LOOP FieldNo = 1 TO NumFields\n GET(FieldQ, FieldNo)\n IF FieldQ.IsGroup\n CYCLE\n END\n ColumnNo += 1\n Picture = '@S'& FieldQ.Width\n ?DebugList{PROPLIST:Header , ColumnNo} = FieldQ.Header\n ?DebugList{PROPLIST:Picture , ColumnNo} = Picture\n! ?DebugList{PROPLIST:Width , ColumnNo} = FieldQ.Width\n! ?DebugList{PROPLIST:HeaderCenter , ColumnNo} = True\n! ?DebugList{PROPLIST:HeaderLeft , ColumnNo} = True\n! ?DebugList{PROPLIST:HeaderLeftOffset , ColumnNo} = 1\n! IF FieldQ.IsNumeric\n! ?DebugList{PROPLIST:Right , ColumnNo} = True\n! ?DebugList{PROPLIST:RightOffset , ColumnNo} = 1\n! ELSE\n! ?DebugList{PROPLIST:Left , ColumnNo} = True\n! ?DebugList{PROPLIST:LeftOffset , ColumnNo} = 1\n! END\n ?DebugList{PROPLIST:FieldNo , ColumnNo} = FieldNo\n! ?DebugList{PROPLIST:RightBorder , ColumnNo} = 1\n ?DebugList{PROPLIST:RightBorder+PROPLIST:Group, ColumnNo} = 1\n! ?DebugList{PROPLIST:Resize , ColumnNo} = 1\n\n ColumnObj &= NEW StripedList_ColumnClass\n ColumnObj.Init(FieldNo, WHAT(pQueue, FieldNo), FieldQ.Header, Picture, FieldQ.Width, CHOOSE(~FieldQ.IsNumeric, 'L', 'R'))\n FieldQ.ColumnObject &= ColumnObj\n PUT(FieldQ)\n StripedList.AddColumn(FieldQ.ColumnObject)\n END\n ColumnObj &= NEW StripedList_ColumnClass\n ColumnObj.Init(NumFields+1, DummyColumn, '', '@S1', 1, 'L')\n StripedList.AddColumn(ColumnObj)\n\n!**************************************\n!======================================\nStripedList_ColumnClass.Init PROCEDURE(LONG FieldNo,*? FieldRef,STRING Header,STRING Picture,SHORT Width,STRING Justification)\n CODE\n SELF.FieldNo = FieldNo\n SELF.FieldRef &= FieldRef\n SELF.Header = Header\n SELF.Picture = Picture\n SELF.Width = Width\n SELF.Justification = Justification\n IF SELF.Justification = 'R'\n SELF.HJustification = 'C'\n SELF.HOffset = 0\n END\n\n!======================================\nLoadFieldQ PROCEDURE\n!--------------------------------------\nFieldNo SHORT,AUTO\nFieldRef ANY\nRecNo LONG,AUTO\nSampleLength LONG,AUTO\nHeaderLength LONG,AUTO\nDataLength LONG,AUTO\nIsDataUpper BOOL,AUTO\n!--------------------------------------\n CODE\n !ST::Debug('ST::DebugQueue\/LoadFieldQ\/IN: NumFields='& NumFields)\n LOOP FieldNo = 1 TO NumFields\n CLEAR(FieldQ)\n !ST::Debug('ST::DebugQueue\/LoadFieldQ: FieldNo='& FieldNo)\n FieldQ.Header = LOWER(WHO(pQueue, FieldNo))\n COMPILE('***---***', E_StripPrefix)\n IF StripPrefixLength\n HeaderLength = LEN(FieldQ.Header) - StripPrefixLength\n FieldQ.Header = SUB(FieldQ.Header, StripPrefixLength+1, HeaderLength)\n ELSE\n ***---***\n HeaderLength = LEN(FieldQ.Header)\n COMPILE('***---***', E_StripPrefix)\n END\n ***---***\n IF HeaderLength < 1\n HeaderLength = 1\n END\n COMPILE('***---***', _C60_)\n FieldRef &= WHAT(pQueue, FieldNo, 1)\n ***---***\n OMIT('***---***', _C60_)\n FieldRef &= WHAT(pQueue, FieldNo)\n ***---***\n FieldQ.IsGroup = ISGROUP(pQueue, FieldNo)\n FieldQ.IsNumeric = TRUE\n IsDataUpper = FALSE\n !ST::Debug('ST::DebugQueue\/LoadFieldQ: RECORDS(pQueue)='& RECORDS(pQueue))\n IF RECORDS(pQueue) > 0 AND pNoTouch <> 1\n DataLength = 0\n LOOP RecNo = 1 TO RECORDS(pQueue)\n GET(pQueue, RecNo)\n !ST::Debug('ST::DebugQueue\/LoadFieldQ: RecNo='& RecNo &'; FieldRef='& FieldRef)\n IF FieldRef <> ''\n IF NOT NUMERIC(FieldRef)\n FieldQ.IsNumeric = FALSE\n END\n SampleLength = LEN(CLIP(FieldRef))\n IF NOT FieldQ.IsNumeric AND UPPER(FieldRef) = FieldRef\n IsDataUpper = TRUE\n END\n IF SampleLength > 25\n DataLength = 25\n ELSIF DataLength < SampleLength\n DataLength = SampleLength\n END\n END\n END\n ELSE\n IsDataUpper = TRUE\n FieldQ.IsNumeric = FALSE\n DataLength = LEN(FieldRef)\n END\n DO CalculateColumnWidth\n ADD(FieldQ)\n END \n !ST::Debug('ST::DebugQueue\/LoadFieldQ\/OUT')\n\nCalculateColumnWidth ROUTINE\n DATA\nHeaderWidth SHORT,AUTO\nDataWidth SHORT,AUTO\n CODE\n HeaderWidth = HeaderLength * WidthMultiplier:Narrow + UltVLB:HeaderOffset\n DataWidth = DataLength * CHOOSE(~IsDataUpper, WidthMultiplier:Narrow, WidthMultiplier:Wide) + UltVLB:DataOffset\n FieldQ.Width = CHOOSE(DataWidth > HeaderWidth, DataWidth, HeaderWidth)\n SELF.Debug(FieldQ.Header &' - '& HeaderLength &' - '& DataLength &' - '& HeaderWidth &' - '& DataWidth &' - '& FieldQ.Width) \n\n!============================================================================== \nUltimateDebug.Message PROCEDURE(STRING pDebugString) \n\n CODE\n SELF.Debug(pDebugString)\n \n!============================================================================== \n \nUltimateDebug.SetApplicationName PROCEDURE(STRING pApplicationName,STRING pProgramExtension) !,STRING\n\nApplicationName STRING(50)\n\n CODE\n CASE (pProgramExtension)\n OF ('EXE')\n ApplicationName = 'Application <9>' & pApplicationName & '.EXE'\n OF ('DLL')\n ApplicationName = 'DLL <9>' & pApplicationName & '.DLL'\n OF ('LIB')\n ApplicationName = 'Library <9>' & pApplicationName & '.LIB'\n END \n \n RETURN ApplicationName \n \n!============================================================================== \n \nUltimateDebug.SetShortApplicationName PROCEDURE(STRING pApplicationName,STRING pProgramExtension) !,STRING\n\nApplicationName STRING(50)\n\n CODE\n CASE (pProgramExtension)\n OF ('EXE')\n ApplicationName = pApplicationName & '.EXE'\n OF ('DLL')\n ApplicationName = pApplicationName & '.DLL'\n OF ('LIB')\n ApplicationName = pApplicationName & '.LIB'\n END \n \n RETURN ApplicationName \n!============================================================================== \nUltimateDebug.ShowProcedureInfo PROCEDURE(STRING pProcedure,STRING pApplication,STRING pHelpID,STRING pCreated,STRING pModified,STRING pCompiled)\n\nTheStats STRING(500)\n\nWindow WINDOW('Procedure Information'),AT(,,275,121),CENTER,GRAY\n GROUP('Procedure Information'),AT(3,8,190,102),USE(?GROUP1),BOXED\n END\n TEXT,AT(11,20,176,84),USE(TheStats),SKIP,TRN\n BUTTON('Send To Clipboard'),AT(198,61,72),USE(?BUTTONToClipboard)\n BUTTON('Send To Debug'),AT(198,78,72),USE(?BUTTONToDebug)\n BUTTON('Close'),AT(198,96,72),USE(?BUTTONClose)\n END\n\n\n CODE\n LOOP WHILE KEYBOARD() !Empty the keyboard buffer\n ASK !without processing keystrokes\n END\n SETKEYCODE(0)\n TheStats = ('Procedure:<9>' & CLIP(pProcedure) & '<13,10>' & |\n CLIP(pApplication) & '<13,10><13,10>' & |\n 'Help ID <9>' & CLIP(pHelpID) & '<13,10>' & |\n 'Created On<9>' & CLIP(pCreated) & '<13,10>' & |\n 'Modified On<9>' & CLIP(pModified) & '<13,10>' & |\n 'Compiled On<9>' & CLIP(pCompiled)) \n OPEN(Window)\n ACCEPT\n CASE FIELD()\n OF ?BUTTONClose\n CASE EVENT()\n OF EVENT:Accepted\n BREAK\n END \n OF ?BUTTONToClipboard\n CASE EVENT()\n OF EVENT:Accepted\n SETCLIPBOARD(TheStats)\n END\n OF ?BUTTONToDebug\n CASE EVENT()\n OF EVENT:Accepted\n Self.Debug(TheStats)\n END \n END\n \n END\n \n LOOP WHILE KEYBOARD() !Empty the keyboard buffer\n ASK !without processing keystrokes\n END\n SETKEYCODE(0)\n!============================================================================== \nUltimateDebug.FormatMessageList PROCEDURE(STRING pMsg,*QUEUE pMsgQueue) \n\n!--------------------------------------\nStartPos LONG(1)\nPos LONG,AUTO\n!--------------------------------------\n CODE\n IF pMsg\n LOOP WHILE StartPos\n Pos = INSTRING('|', pMsg, 1, StartPos)\n pMsgQueue = CHOOSE(Pos=0, pMsg[StartPos : LEN(pMsg)], pMsg[StartPos : Pos-1])\n ADD(pMsgQueue)\n ASSERT(ERRORCODE()=0)\n StartPos = Pos+1\n UNTIL Pos = 0\n END\n RETURN\n!==============================================================================\n!==============================================================================\nUltimateDebug.Construct PROCEDURE \n\n CODE\n \n SELF.EventQ &= NEW ST::DebugEventQueue\n SELF.IgnoreEventQ &= NEW ST::DebugEventQueue\n SELF.CategoryQueue &= NEW DebugCategoryQueue\n\t\n\t\n SELF.SetPurgeTime(5*60*100) !5 minutes \n SELF.SetEventOffset \n \n SELF.ShowAll = TRUE\n SELF.ShowField = FALSE\n SELF.ShowFocus = FALSE\n SELF.ShowSelected = FALSE\n SELF.ShowSelStart = FALSE\n SELF.ShowSelEnd = FALSE\n SELF.ShowKeyCode = FALSE\n SELF.ShowError = FALSE\n SELF.ShowThread = FALSE\n SELF.ShowContents = FALSE\n SELF.ShowScreenText = FALSE\n SELF.ShowAcceptAll = FALSE\n \n! REGISTER(EVENT:AlertKey,ADDRESS(SELF.ShowProcedureInfo),ADDRESS(SELF))\n\n\n \nUltimateDebug.SetEventOffSet PROCEDURE\n \n code\n \n COMPILE('**++** _C60_Plus_',_C60_)\n SELF.EventOffset = 0A000h\n ! **++** _C60_Plus_\n OMIT ('**--** _PRE_C6_',_C60_)\n SELF.EventOffset = 01400h\n ! **--** _PRE_C6_\n\n IF UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) <> 'EVENT:ACCEPTED' \n self.HuntForOffSet \n end\n \n\nUltimateDebug.HuntForOffset procedure\nEventNum LONG\nPass BYTE\nLo LONG\nHi LONG\n code\n \n SELF.Debug('SELF.EventOffset is not correct, trying to find a correct value')\n\n SELF.EventOffset = CHOOSE(SELF.EventOffset = 01400h, 0A000h, 01400h)\n if UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) = 'EVENT:ACCEPTED' THEN RETURN END\n\n SELF.EventOffset = GETINI('Debuger','EventOffset', -1)\n CASE SELF.EventOffset\n OF -2; SELF.Debug('Stored value for EventOffset indicates no valid offset to be found, not searching')\n OF -1; SELF.Debug('SELF.EventOffset is not correct, searching for correct value')\n ELSE ; IF UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) = 'EVENT:ACCEPTED'\n SELF.Debug('Using stored value for SELF.EventOffset')\n RETURN\n END\n END\n\n !The loops are split out to search more likely ranges first\n !for efficiency it makes more sense to check offsets incrementing by 100, searching for a result that starts with 'EVENT'\n LOOP Pass = 1 TO 4\n EXECUTE Pass\n BEGIN; Lo = 0A000h; Hi = 0AFFFh END\n BEGIN; Lo = 01000h; Hi = 01FFFh END\n BEGIN; Lo = 00000h; Hi = 00FFFh END\n BEGIN; Lo = 0B000h; Hi = 0FFFFh END\n END\n LOOP EventNum = Lo TO Hi\n SELF.EventOffset = EventNum\n IF UPPER(SELF.GetEventDescr(EVENT:ACCEPTED)) = 'EVENT:ACCEPTED'\n PUTINI('Debuger','EventOffset',SELF.EventOffset)\n RETURN\n END\n END\n END\n\n SELF.Debug('Could not find a working offset for .EventOffset')\n SELF.EventOffset = -2\n PUTINI('Debuger','EventOffset',SELF.EventOffset)\n\n\nUltimateDebug.Destruct PROCEDURE\n CODE\n!\tFREE(SELF.ControlQ)\n!\tDISPOSE(SELF.ControlQ)\n\n FREE(SELF.EventQ)\n DISPOSE(SELF.EventQ)\n\n FREE(SELF.IgnoreEventQ)\n DISPOSE(SELF.IgnoreEventQ)\n\n FREE(SELF.CategoryQueue)\n DISPOSE(SELF.CategoryQueue)\n\nUltimateDebug.SetDebugEvent PROCEDURE(SIGNED Event)\n CODE\n SELF.DebugEvent = Event\n\n\nUltimateDebug.SetHotKey PROCEDURE(UNSIGNED HotKey)\n CODE\n 0{PROP:Alrt, 255} = HotKey\n SELF.HotKey = HotKey\n SELF.SetDebugEvent(EVENT:AlertKey)\n\n\nUltimateDebug.SetPurgeTime PROCEDURE(LONG PurgeTime)\n CODE\n IF PurgeTime <= 0\n SELF.PurgeStarTime = 0\n ELSE\n SELF.PurgeStarTime = SELF.CalcStarDate(0, PurgeTime)\n END\n\n\nUltimateDebug.IgnoreEvent PROCEDURE(SIGNED Event)\nX LONG,AUTO\n CODE\n CLEAR(SELF.IgnoreEventQ)\n SELF.IgnoreEventQ.EventNo = Event\n ADD(SELF.IgnoreEventQ, SELF.IgnoreEventQ.EventNo)\n\n ! Purge existing logged events\n LOOP X = RECORDS(SELF.EventQ) TO 1 BY -1\n GET(SELF.EventQ, X)\n IF SELF.EventQ.EventNo = Event\n DELETE(SELF.EventQ)\n END\n END\n\n\n\nUltimateDebug.TakeEvent PROCEDURE\n CODE\n!\t? !UltimateDebug.Debug('UltimateDebug.TakeEvent: DebugEvent='& SELF.DebugEvent &'; Event='& EVENT() &'-'& SELF.GetEventName(EVENT()) &'; Keycode='& KEYCODE())\n CASE EVENT()\n OF 0\n OROF EVENT:Suspend\n OROF EVENT:Resume\n!\t\t? !Self.Debug('...Ignore It')\n !Ignore it\n OF SELF.DebugEvent\n!\t\t? !Self.Debug('...Debug Event '& SELF.DebugEvent &'\/'& EVENT:AlertKey &' ' & KEYCODE() &'\/'& SELF.HotKey)\n IF SELF.DebugEvent <> EVENT:AlertKey |\n OR KEYCODE() = SELF.HotKey\n SELF.Debug('')\n ELSE\n SELF.LogEvent\n END\n ELSE\n!\t\t? !SELF.Debug('...Logger')\n IF SELF.DebugEvent <> EVENT:AlertKey |\n OR EVENT() <> EVENT:PreAlertKey |\n OR KEYCODE() <> SELF.HotKey\n SELF.LogEvent\n END\n END\n\nUltimateDebug.LogEvent PROCEDURE\n CODE\n SELF.IgnoreEventQ.EventNo = EVENT()\n GET(SELF.IgnoreEventQ, SELF.IgnoreEventQ.EventNo)\n IF ERRORCODE() <> 0\n CLEAR(SELF.EventQ)\n SELF.EventQ.Date = FORMAT(TODAY(), @D10)\n SELF.EventQ.Time = FORMAT(CLOCK(), @T6)\n SELF.EventQ.StarDate = SELF.CalcStarDate()\n SELF.EventQ.EventNo = EVENT()\n SELF.EventQ.EventName = SELF.GetEventName(EVENT())\n SELF.EventQ.FieldFeq = FIELD()\n!\t\tSELF.EventQ.FieldName = SELF.GetControlName(FIELD()) TODO\n SELF.EventQ.Keycode = KEYCODE()\n ADD(SELF.EventQ, SELF.EventQ.StarDate)\n END\n ! Purge old events\n LOOP WHILE SELF.PurgeStarTime <> 0 AND RECORDS(SELF.EventQ)\n GET(SELF.EventQ, 1)\n IF SELF.EventQ.StarDate > SELF.CalcStarDate() - SELF.PurgeStarTime THEN BREAK.\n DELETE(SELF.EventQ)\n END\n\n\nUltimateDebug.CalcStarDate PROCEDURE(,)!,REAL\n CODE\n IF OMITTED(D) THEN D = TODAY().\n IF OMITTED(T) THEN T = CLOCK().\n RETURN D + (T-1)\/8640000\n\n\nUltimateDebug.GetEventName PROCEDURE(SIGNED Event)!,STRING\n CODE\n CASE Event\n\n ! Field-dependent events\n\n OF 01H; RETURN 'Accepted'\n OF 02H; RETURN 'NewSelection'\n OF 02H; RETURN 'ScrollUp'\n OF 04H; RETURN 'ScrollDown'\n OF 05H; RETURN 'PageUp'\n OF 06H; RETURN 'PageDown'\n OF 07H; RETURN 'ScrollTop'\n OF 08H; RETURN 'ScrollBottom'\n OF 09H; RETURN 'Locate'\n\n OF 01H; RETURN 'MouseDown'\n OF 0aH; RETURN 'MouseUp'\n OF 0bH; RETURN 'MouseIn'\n OF 0cH; RETURN 'MouseOut'\n OF 0dH; RETURN 'MouseMove'\n OF 0eH; RETURN 'VBXevent'\n OF 0fH; RETURN 'AlertKey'\n OF 10H; RETURN 'PreAlertKey'\n OF 11H; RETURN 'Dragging'\n OF 12H; RETURN 'Drag'\n OF 13H; RETURN 'Drop'\n OF 14H; RETURN 'ScrollDrag'\n OF 15H; RETURN 'TabChanging'\n OF 16H; RETURN 'Expanding'\n OF 17H; RETURN 'Contracting'\n OF 18H; RETURN 'Expanded'\n OF 19H; RETURN 'Contracted'\n OF 1AH; RETURN 'Rejected'\n OF 1BH; RETURN 'DroppingDown'\n OF 1CH; RETURN 'DroppedDown'\n OF 1DH; RETURN 'ScrollTrack'\n OF 1EH; RETURN 'ColumnResize'\n\n OF 101H; RETURN 'Selected'\n OF 102H; RETURN 'Selecting'\n\n ! Field-independent events (FIELD() returns 0)\n\n OF 201H; RETURN 'CloseWindow'\n OF 202H; RETURN 'CloseDown'\n OF 203H; RETURN 'OpenWindow'\n OF 204H; RETURN 'OpenFailed'\n OF 205H; RETURN 'LoseFocus'\n OF 206H; RETURN 'GainFocus'\n\n OF 208H; RETURN 'Suspend'\n OF 209H; RETURN 'Resume'\n OF 20AH; RETURN 'Notify'\n\n OF 20BH; RETURN 'Timer'\n OF 20CH; RETURN 'DDErequest'\n OF 20DH; RETURN 'DDEadvise'\n OF 20EH; RETURN 'DDEdata'\n OF 20FH; RETURN 'DDEexecute'\n OF 210H; RETURN 'DDEpoke'\n OF 211H; RETURN 'DDEclosed'\n\n OF 220H; RETURN 'Move'\n OF 221H; RETURN 'Size'\n OF 222H; RETURN 'Restore'\n OF 223H; RETURN 'Maximize'\n OF 224H; RETURN 'Iconize'\n OF 225H; RETURN 'Completed'\n OF 230H; RETURN 'Moved'\n OF 231H; RETURN 'Sized'\n OF 232H; RETURN 'Restored'\n OF 233H; RETURN 'Maximized'\n OF 234H; RETURN 'Iconized'\n OF 235H; RETURN 'Docked'\n OF 236H; RETURN 'Undocked'\n\n OF 240H; RETURN 'BuildFile'\n OF 241H; RETURN 'BuildKey'\n OF 242H; RETURN 'BuildDone'\n\n ! User-definable events\n\n OF 3FFH; RETURN 'DoResize'\n OF 400H; RETURN 'User'\n END\n RETURN '???'\n!==============================================================================\t\n!----------------------------------------------------------------------- \n! NOTES:\n! Construct procedure executes automatically at the beginning of each procedure \n! Destruct procedure executes automatically at the end of each procedure\n! Construct\/Destruct Procedures are implicit under the hood but don't have to be declared in the class as such if there is no need. \n! It's ok to have them there for good measure, although some programmers only include them as needed.\n! Normally some prefer Init() and Kill(), but Destruct() can be handy to DISPOSE of stuff (to avoid mem leak)\n!----------------------------------------------------------------------- \nUltimateDebug.AddUserEvent PROCEDURE(STRING argEventName,LONG argEventEquate)\n CODE\n IF ~SELF.UserEventNameQ &= NULL\n IF SELF.GetUserEvent(argEventEquate)\n SELF.UserEventNameQ.EventName = argEventName\n PUT(SELF.UserEventNameQ)\n ELSE\n SELF.UserEventNameQ.EventEquate = argEventEquate\n SELF.UserEventNameQ.EventName = argEventName\n ADD(SELF.UserEventNameQ)\n END\n END\n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.GetUserEvent PROCEDURE(LONG argEventEquate)!string\n CODE\n IF ~SELF.UserEventNameQ &= NULL\n SELF.UserEventNameQ.EventEquate = argEventEquate\n GET(SELF.UserEventNameQ, SELF.UserEventNameQ.EventEquate)\n RETURN CHOOSE( ERRORCODE()=0, SELF.UserEventNameQ.EventName, '')\n ELSE\n RETURN ''\n END \n!-----------------------------------------------------------------------------------------!\nUltimateDebug.GetEventDescr PROCEDURE(LONG argEvent)!,string !prototype set to default to -1\nlcl:Retval LIKE(qtUserEventName.EventName)\nlcl:EventNum UNSIGNED \nlcl:Position LONG\n\n CODE\n IF argEvent = -1\n argEvent = EVENT()\n END\n lcl:RetVal = SELF.GetUserEvent( argEvent )\n IF ~lcl:RetVal\n CASE argEvent\n OF Event:User ; lcl:RetVal = 'EVENT:User'\n OF Event:User + 1 TO Event:Last ; lcl:RetVal = 'EVENT:User + '& argEvent - Event:User\n OF Event:APP ; lcl:RetVal = 'EVENT:App'\n OF Event:APP + 1 TO Event:APP_LAST; lcl:RetVal = 'EVENT:App + ' & argEvent - Event:APP\n\n ELSE \n IF SELF.EventOffset = -2 !indicates could not find a valid offset\n lcl:RetVal = 'EVENT['& argEvent &']'\n ELSE\n lcl:EventNum = argEvent + SELF.EventOffset ! 1400h (pre c6) or A000h (c6) !EVENT:FIRST equate(01400h)\/(0A000h)\n debugerNameMessage(lcl:RetVal, lcl:EventNum)\n END\n END\n END \n \n RETURN lcl:RetVal ![7:LEN(CLIP(lcl:RetVal))]\n\n!-----------------------------------------------------------------------------------------!\nUltimateDebug.GetFEQDescr PROCEDURE(SIGNED argFEQ)!,string !prototype set to default to -1\n\nlcl:Retval CSTRING(40) !<--- some arbitrary length\nlcl:FEQ SIGNED\nszRef &CSTRING\n\n CODE\n lcl:FEQ = CHOOSE(argFEQ = -1, FIELD(), argFEQ)\n COMPILE('** C55+ **',_C55_)\n lcl:RetVal = debugerGetFieldName(lcl:FEQ)\n !END-COMPILE('** C55+ **',_C55_)\n OMIT('** C55+ **',_C55_)\n szRef &= debugerGetFieldName(lcl:FEQ)\n lcl:RetVal = szRef\n !END-OMIT('** C55+ **',_C55_)\n\n RETURN lcl:RetVal !CLIP(lcl:RetVal) \n \n!-----------------------------------------------------------------------------------------! \n!UltimateDebug.DebugEvent \n!Used to show Events as they are processed.\n!Code by Mark Goldbert\n!-----------------------------------------------------------------------------------------!\n \nUltimateDebug.DebugEvent PROCEDURE()\n\ncs_DebugString string(600)\ncl_Offset LONG\ncb_DebugNoCR BYTE(0)\ncs_Event STRING(4)\ncs_Procedure STRING(20)\ncl_ProcedureOffset LONG\n\n\n CODE\n \n cl_Offset = 24\n cs_Procedure = pDebugProcedure\n! cs_DebugString = FORMAT(SELF.GetEventDescr(),@s30) & EVENT() \n cs_Event = EVENT()\n cs_DebugString = cs_Event & ' ' & SUB(SELF.GetEventDescr(),7,100)\n IF cs_Procedure\n\t\t\n cl_ProcedureOffset = LEN(CLIP(cs_DebugString)) + 2\n cl_Offset = 24 + cl_ProcedureOffset\n cs_DebugString = cs_Procedure[1:cl_ProcedureOffset] & cs_DebugString\n\t\t\n END\n\t\n if self.ShowField or self.ShowAll\n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Field(' & SELF.GetFEQDescr() & ' = ' & FIELD() &')' \n cl_Offset += 34\n end\n \n if self.ShowFocus or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Focus(' & SELF.GetFEQDescr(FOCUS()) & ' =' & FOCUS() & ')' \n cl_Offset += 34\n end\n \n if self.ShowSelected or self.ShowAll\n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Selected(' & SELF.GetFEQDescr(SELECTED()) & ' =' & SELECTED() & ')'\n cl_Offset += 34\n end\n \n if self.ShowSelStart or self.ShowAll\n cs_DebugString = cs_DebugString[1:cl_Offset] & 'SelStart(' & FOCUS(){prop:SelStart} & ')'\n cl_Offset += 14\n end\n \n if self.ShowSelEnd or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'SelEnd(' & FOCUS(){prop:SelEnd} & ')' \n cl_Offset += 14\n end\n \n if self.ShowKeyCode or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'KeyCode(' & KEYCODE() & ')' \n cl_Offset += 14\n end\n \n if self.ShowError or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Error('& ERRORCODE() & ': ' & CLIP(ERROR()) & ')' \n cl_Offset += 24\n end\n \n if self.ShowThread or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Thread('& THREAD() & ')' \n cl_Offset += 14\n end\n \n if self.ShowAcceptAll or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'AcceptAll('& 0{prop:AcceptAll} & ')' \n cl_Offset += 14\n end \n \n if self.ShowContents or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'Contents('& CONTENTS(FOCUS()) & ')'\n cl_Offset += 24\n end\n \n if self.ShowScreenText or self.ShowAll \n cs_DebugString = cs_DebugString[1:cl_Offset] & 'ScreenText('& FOCUS(){prop:ScreenText} & ')' \n cl_Offset += 50\n end \n cs_DebugString = cs_DebugString[1:cl_Offset]\n cb_DebugNoCR = SELF.DebugNoCR\n SELF.DebugNoCR = TRUE\n SELF.DEBUG(clip(cs_DebugString),'',TRUE) \n SELF.DebugNoCR = cb_DebugNoCR\n\t\n\t\nUltimateDebug.GPF PROCEDURE()\n\n CODE\n DebugBreak()\n ","returncode":0,"stderr":"","license":"mit","lang":"Clarion"} {"commit":"ba3a3047da28f652578d736eb5c5da52f15635b9","subject":"no message","message":"no message\n\n\ngit-svn-id: 41bd7e47c31e4d43f97241d7529f6785d233c6d8@1090 23f926e6-80f1-49ca-85a0-60d4a27bb3ac\n","repos":"aurusov\/rdo_studio,bogachev-pa\/rdo_studio,dluschan\/rdo_studio,aurusov\/rdo_studio,AlexChernov\/rdo_studio,AlexChernov\/rdo_studio,bogachev-pa\/rdo_studio,aurusov\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,dluschan\/rdo_studio,AlexChernov\/rdo_studio,AlexChernov\/rdo_studio,bogachev-pa\/rdo_studio,dluschan\/rdo_studio,dluschan\/rdo_studio,AlexChernov\/rdo_studio,AlexChernov\/rdo_studio,aurusov\/rdo_studio,aurusov\/rdo_studio,dluschan\/rdo_studio,bogachev-pa\/rdo_studio,aurusov\/rdo_studio,bogachev-pa\/rdo_studio,AlexChernov\/rdo_studio","old_file":"trunk\/rdo_process.clw","new_file":"trunk\/rdo_process.clw","new_contents":"; CLW file contains information for the MFC ClassWizard\n\n[General Info]\nVersion=1\nLastClass=RPChildFrame\nLastTemplate=CDialog\nNewFileInclude1=#include \"stdafx.h\"\nNewFileInclude2=#include \"rdo_process.h\"\nLastPage=0\n\nClassCount=13\nClass1=RPDockWnd\nClass2=RPPageCtrl\nClass3=RPPageCtrlItemLabel\nClass4=RPPageCtrlItem\nClass5=RPProjectBar\nClass6=CSizingControlBarG\nClass7=CSizingControlBar\nClass8=CSCBMiniDockFrameWnd\nClass9=RPApp\nClass10=RPAboutDlg\nClass11=RPChildFrame\nClass12=RPFlowChart\nClass13=RPMainFrame\n\nResourceCount=3\nResource1=IDR_MAINFRAME (English (U.S.))\nResource2=IDR_RDO_PRTYPE (English (U.S.))\nResource3=IDD_ABOUTBOX (English (U.S.))\n\n[CLS:RPDockWnd]\nType=0\nBaseClass=CSizingControlBarG\nHeaderFile=ctrl\\rdoprocess_dockwnd.h\nImplementationFile=ctrl\\rdoprocess_dockwnd.cpp\n\n[CLS:RPPageCtrl]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItemLabel]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPPageCtrlItem]\nType=0\nBaseClass=CWnd\nHeaderFile=ctrl\\rdoprocess_pagectrl.h\nImplementationFile=ctrl\\rdoprocess_pagectrl.cpp\n\n[CLS:RPProjectBar]\nType=0\nBaseClass=RPDockWnd\nHeaderFile=ctrl\\rdoprocess_projectbar.h\nImplementationFile=ctrl\\rdoprocess_projectbar.cpp\n\n[CLS:CSizingControlBarG]\nType=0\nBaseClass=baseCSizingControlBarG\nHeaderFile=ctrl\\sizecbar\\scbarg.h\nImplementationFile=ctrl\\sizecbar\\scbarg.cpp\n\n[CLS:CSizingControlBar]\nType=0\nBaseClass=baseCSizingControlBar\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\n\n[CLS:CSCBMiniDockFrameWnd]\nType=0\nBaseClass=baseCSCBMiniDockFrameWnd\nHeaderFile=ctrl\\sizecbar\\sizecbar.h\nImplementationFile=ctrl\\sizecbar\\sizecbar.cpp\nFilter=N\nLastObject=CSCBMiniDockFrameWnd\n\n[CLS:RPApp]\nType=0\nBaseClass=CWinApp\nHeaderFile=rdoprocess_app.h\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPAboutDlg]\nType=0\nBaseClass=CDialog\nHeaderFile=rdoprocess_app.cpp\nImplementationFile=rdoprocess_app.cpp\n\n[CLS:RPChildFrame]\nType=0\nBaseClass=CMDIChildWnd\nHeaderFile=rdoprocess_childfrm.h\nImplementationFile=rdoprocess_childfrm.cpp\nFilter=M\nLastObject=ID_APP_ABOUT\n\n[CLS:RPFlowChart]\nType=0\nBaseClass=CWnd\nHeaderFile=rdoprocess_flowchart.h\nImplementationFile=rdoprocess_flowchart.cpp\n\n[CLS:RPMainFrame]\nType=0\nBaseClass=CMDIFrameWnd\nHeaderFile=rdoprocess_mainfrm.h\nImplementationFile=rdoprocess_mainfrm.cpp\n\n[DLG:IDD_ABOUTBOX]\nType=1\nClass=RPAboutDlg\n\n[TB:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_EDIT_CUT\nCommand3=ID_EDIT_COPY\nCommand4=ID_EDIT_PASTE\nCommand5=ID_FLOW_SELECT\nCommand6=ID_FLOW_CONNECTOR\nCommand7=ID_FLOW_ROTATE\nCommandCount=7\n\n[MNU:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_APP_EXIT\nCommand3=ID_VIEW_TOOLBAR\nCommand4=ID_VIEW_STATUS_BAR\nCommand5=ID_APP_ABOUT\nCommandCount=5\n\n[MNU:IDR_RDO_PRTYPE (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_FILE_NEW\nCommand2=ID_FILE_CLOSE\nCommand3=ID_APP_EXIT\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_EDIT_COPY\nCommand7=ID_EDIT_PASTE\nCommand8=ID_VIEW_TOOLBAR\nCommand9=ID_VIEW_STATUS_BAR\nCommand10=ID_WINDOW_CASCADE\nCommand11=ID_WINDOW_TILE_HORZ\nCommand12=ID_WINDOW_ARRANGE\nCommand13=ID_APP_ABOUT\nCommandCount=13\n\n[ACL:IDR_MAINFRAME (English (U.S.))]\nType=1\nClass=?\nCommand1=ID_EDIT_COPY\nCommand2=ID_FILE_NEW\nCommand3=ID_EDIT_PASTE\nCommand4=ID_EDIT_UNDO\nCommand5=ID_EDIT_CUT\nCommand6=ID_NEXT_PANE\nCommand7=ID_PREV_PANE\nCommand8=ID_EDIT_COPY\nCommand9=ID_EDIT_PASTE\nCommand10=ID_EDIT_CUT\nCommand11=ID_EDIT_UNDO\nCommandCount=11\n\n[DLG:IDD_ABOUTBOX (English (U.S.))]\nType=1\nClass=?\nControlCount=4\nControl1=IDC_STATIC,static,1342177283\nControl2=IDC_STATIC,static,1342308480\nControl3=IDC_STATIC,static,1342308352\nControl4=IDOK,button,1342373889\n\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'trunk\/rdo_process.clw' did not match any file(s) known to git\n","license":"mit","lang":"Clarion"} {"commit":"1735eb7ec5997bb7585fcc3f4c32111158ec5528","subject":"Added missing MSVC class wizard file","message":"Added missing MSVC class wizard file\n","repos":"diogomg\/olsrd-binary-heap,zioproto\/olsrd-gsoc2012,sauloqueiroz\/incremental-spf,zioproto\/olsrd,tdz\/olsrd,duydb2\/olsr,acinonyx\/olsrd,diogomg\/olsrd,nolith\/olsrd,diogomg\/olsrd-binary-heap,duydb2\/olsr,ninuxorg\/olsrd,servalproject\/olsr,ninuxorg\/olsrd,sebkur\/olsrd,duydb2\/olsr,cl4u2\/olsrd-wot-pgp,cl4u2\/olsrd-wot-pgp,zioproto\/olsrd-gsoc2012,cholin\/olsrd,zioproto\/olsrd,diogomg\/olsrd-binary-heap,diogomg\/olsrd,sebkur\/olsrd,servalproject\/olsr,diogomg\/olsrd-binary-heap,cl4u2\/olsrd-wot-pgp,zioproto\/olsrd-gsoc2012,duydb2\/olsr,zioproto\/olsrd-gsoc2012,tdz\/olsrd,acinonyx\/olsrd,cl4u2\/olsrd-wot-pgp,zioproto\/olsrd-gsoc2012,cl4u2\/olsrd-wot-pgp,cholin\/olsrd,tdz\/olsrd,acinonyx\/olsrd,ninuxorg\/olsrd,duydb2\/olsr,servalproject\/olsr,diogomg\/olsrd,servalproject\/olsr,diogomg\/olsrd-binary-heap,duydb2\/olsr,zioproto\/olsrd,zioproto\/olsrd,diogomg\/olsrd,nolith\/olsrd,nolith\/olsrd,zioproto\/olsrd,cholin\/olsrd,cholin\/olsrd,diogomg\/olsrd-binary-heap,cholin\/olsrd,ninuxorg\/olsrd,tdz\/olsrd,servalproject\/olsr,diogomg\/olsrd-binary-heap,sauloqueiroz\/incremental-spf,servalproject\/olsr,nolith\/olsrd,sauloqueiroz\/incremental-spf,acinonyx\/olsrd,acinonyx\/olsrd,ninuxorg\/olsrd,duydb2\/olsr,zioproto\/olsrd-gsoc2012,nolith\/olsrd,diogomg\/olsrd,sebkur\/olsrd,diogomg\/olsrd,sebkur\/olsrd,sauloqueiroz\/incremental-spf,sebkur\/olsrd,sebkur\/olsrd,duydb2\/olsr,diogomg\/olsrd,tdz\/olsrd","old_file":"gui\/win32\/Main\/Frontend.clw","new_file":"gui\/win32\/Main\/Frontend.clw","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/nolith\/olsrd.git\/': The requested URL returned error: 403\n","license":"bsd-3-clause","lang":"Clarion"} {"commit":"cb8ead2fb31ef24f6dc376460a304a0e1071aa28","subject":"Added missing MSVC class wizard file","message":"Added missing MSVC class wizard file\n","repos":"duydb2\/olsr,ninuxorg\/olsrd,zioproto\/olsrd,brabander\/olsr,ninuxorg\/olsrd,sebkur\/olsrd,zioproto\/olsrd,diogomg\/olsrd-binary-heap,ralisi\/olsrd_cl_roam,sebkur\/olsrd,diogomg\/olsrd-binary-heap,ralisi\/olsrd_cl_roam,ninuxorg\/olsrd,duydb2\/olsr,ninuxorg\/olsrd,cholin\/olsrd,ninuxorg\/olsrd,nolith\/olsrd,nolith\/olsrd,diogomg\/olsrd,brabander\/olsr,diogomg\/olsrd-binary-heap,acinonyx\/olsrd,diogomg\/olsrd,diogomg\/olsrd,nolith\/olsrd,servalproject\/olsr,duydb2\/olsr,duydb2\/olsr,diogomg\/olsrd,acinonyx\/olsrd,tdz\/olsrd,diogomg\/olsrd-binary-heap,sebkur\/olsrd,duydb2\/olsr,servalproject\/olsr,diogomg\/olsrd,zioproto\/olsrd,cholin\/olsrd,sebkur\/olsrd,acinonyx\/olsrd,acinonyx\/olsrd,diogomg\/olsrd,zioproto\/olsrd,diogomg\/olsrd-binary-heap,duydb2\/olsr,brabander\/olsr,diogomg\/olsrd-binary-heap,ralisi\/olsrd_cl_roam,cholin\/olsrd,sebkur\/olsrd,ralisi\/olsrd_cl_roam,zioproto\/olsrd,servalproject\/olsr,tdz\/olsrd,diogomg\/olsrd,diogomg\/olsrd-binary-heap,acinonyx\/olsrd,servalproject\/olsr,cholin\/olsrd,tdz\/olsrd,sebkur\/olsrd,duydb2\/olsr,duydb2\/olsr,servalproject\/olsr,nolith\/olsrd,tdz\/olsrd,nolith\/olsrd,brabander\/olsr,servalproject\/olsr,cholin\/olsrd,tdz\/olsrd","old_file":"gui\/win32\/Main\/Frontend.clw","new_file":"gui\/win32\/Main\/Frontend.clw","new_contents":"; CLW file contains information for the MFC ClassWizard\r\n\r\n[General Info]\r\nVersion=1\r\nLastClass=MyDialog2\r\nLastTemplate=CDialog\r\nNewFileInclude1=#include \"stdafx.h\"\r\nNewFileInclude2=#include \"frontend.h\"\r\nLastPage=0\r\n\r\nClassCount=8\r\nClass1=CFrontendApp\r\nClass2=CFrontendDlg\r\nClass3=MyDialog1\r\nClass4=MyDialog2\r\nClass5=MyDialog3\r\nClass6=MyDialog4\r\nClass7=MyEdit\r\nClass8=MyTabCtrl\r\n\r\nResourceCount=6\r\nResource1=IDD_DIALOG1 (Englisch (USA))\r\nResource2=IDD_DIALOG3 (Englisch (USA))\r\nResource3=IDD_DIALOG4 (Englisch (USA))\r\nResource4=IDD_DIALOG2 (Englisch (USA))\r\nResource5=IDD_FRONTEND_DIALOG (Englisch (USA))\r\nResource6=IDR_TRAYMENU (Englisch (USA))\r\n\r\n[CLS:CFrontendApp]\r\nType=0\r\nBaseClass=CWinApp\r\nHeaderFile=Frontend.h\r\nImplementationFile=Frontend.cpp\r\nLastObject=CFrontendApp\r\n\r\n[CLS:CFrontendDlg]\r\nType=0\r\nBaseClass=CDialog\r\nHeaderFile=FrontendDlg.h\r\nImplementationFile=FrontendDlg.cpp\r\nLastObject=IDC_TAB1\r\n\r\n[CLS:MyDialog1]\r\nType=0\r\nBaseClass=CDialog\r\nHeaderFile=MyDialog1.h\r\nImplementationFile=MyDialog1.cpp\r\nLastObject=IDC_BUTTON1\r\n\r\n[CLS:MyDialog2]\r\nType=0\r\nBaseClass=CDialog\r\nHeaderFile=MyDialog2.h\r\nImplementationFile=MyDialog2.cpp\r\nLastObject=IDC_COMBO3\r\nFilter=D\r\nVirtualFilter=dWC\r\n\r\n[CLS:MyDialog3]\r\nType=0\r\nBaseClass=CDialog\r\nHeaderFile=MyDialog3.h\r\nImplementationFile=MyDialog3.cpp\r\nLastObject=IDC_LIST1\r\n\r\n[CLS:MyDialog4]\r\nType=0\r\nBaseClass=CDialog\r\nHeaderFile=MyDialog4.h\r\nImplementationFile=MyDialog4.cpp\r\nLastObject=IDC_LIST1\r\n\r\n[CLS:MyEdit]\r\nType=0\r\nBaseClass=CEdit\r\nHeaderFile=MyEdit.h\r\nImplementationFile=MyEdit.cpp\r\n\r\n[CLS:MyTabCtrl]\r\nType=0\r\nBaseClass=CTabCtrl\r\nHeaderFile=MyTabCtrl.h\r\nImplementationFile=MyTabCtrl.cpp\r\n\r\n[DLG:IDD_FRONTEND_DIALOG]\r\nType=1\r\nClass=CFrontendDlg\r\n\r\n[DLG:IDD_DIALOG1]\r\nType=1\r\nClass=MyDialog1\r\n\r\n[DLG:IDD_DIALOG2]\r\nType=1\r\nClass=MyDialog2\r\n\r\n[DLG:IDD_DIALOG3]\r\nType=1\r\nClass=MyDialog3\r\n\r\n[DLG:IDD_DIALOG4]\r\nType=1\r\nClass=MyDialog4\r\n\r\n[DLG:IDD_FRONTEND_DIALOG (Englisch (USA))]\r\nType=1\r\nClass=CFrontendDlg\r\nControlCount=4\r\nControl1=IDC_TAB1,SysTabControl32,1342177280\r\nControl2=IDC_BUTTON1,button,1342242816\r\nControl3=IDC_BUTTON2,button,1342242816\r\nControl4=IDC_BUTTON3,button,1342242816\r\n\r\n[DLG:IDD_DIALOG4 (Englisch (USA))]\r\nType=1\r\nClass=MyDialog4\r\nControlCount=2\r\nControl1=IDC_LIST1,SysListView32,1350631425\r\nControl2=IDC_STATIC,static,1342308352\r\n\r\n[DLG:IDD_DIALOG3 (Englisch (USA))]\r\nType=1\r\nClass=MyDialog3\r\nControlCount=6\r\nControl1=IDC_LIST1,SysListView32,1350631429\r\nControl2=IDC_LIST4,SysListView32,1350631429\r\nControl3=IDC_LIST5,SysListView32,1350631429\r\nControl4=IDC_LIST6,SysListView32,1350631429\r\nControl5=IDC_STATIC,static,1342308352\r\nControl6=IDC_STATIC,static,1342308352\r\n\r\n[DLG:IDD_DIALOG2 (Englisch (USA))]\r\nType=1\r\nClass=MyDialog2\r\nControlCount=54\r\nControl1=IDC_LIST1,SysListView32,1350631427\r\nControl2=IDC_SLIDER2,msctls_trackbar32,1342242825\r\nControl3=IDC_EDIT7,edit,1350631426\r\nControl4=IDC_CHECK3,button,1476460547\r\nControl5=IDC_CHECK2,button,1342242819\r\nControl6=IDC_EDIT1,edit,1350631426\r\nControl7=IDC_EDIT2,edit,1350631426\r\nControl8=IDC_EDIT3,edit,1350631426\r\nControl9=IDC_EDIT9,edit,1350631426\r\nControl10=IDC_EDIT4,edit,1350631426\r\nControl11=IDC_EDIT10,edit,1350631426\r\nControl12=IDC_EDIT5,edit,1350631426\r\nControl13=IDC_EDIT6,edit,1350631426\r\nControl14=IDC_COMBO1,combobox,1344340227\r\nControl15=IDC_EDIT15,edit,1350639618\r\nControl16=IDC_CHECK1,button,1342242819\r\nControl17=IDC_EDIT12,edit,1350631426\r\nControl18=IDC_EDIT13,edit,1350631426\r\nControl19=IDC_EDIT11,edit,1350631426\r\nControl20=IDC_CHECK4,button,1342242819\r\nControl21=IDC_RADIO1,button,1342373897\r\nControl22=IDC_RADIO2,button,1342373897\r\nControl23=IDC_BUTTON4,button,1342242816\r\nControl24=IDC_BUTTON5,button,1342242816\r\nControl25=IDC_BUTTON1,button,1342242816\r\nControl26=IDC_STATIC,static,1342308352\r\nControl27=IDC_STATIC,static,1342308352\r\nControl28=IDC_STATIC,static,1342308354\r\nControl29=IDC_STATIC,static,1342308354\r\nControl30=IDC_STATIC,static,1342308354\r\nControl31=IDC_STATIC,static,1342308354\r\nControl32=IDC_STATIC,static,1342308354\r\nControl33=IDC_STATIC,static,1342308354\r\nControl34=IDC_STATIC,static,1342308354\r\nControl35=IDC_STATIC,static,1342308354\r\nControl36=IDC_STATIC,static,1342308354\r\nControl37=IDC_STATIC,static,1342308354\r\nControl38=IDC_STATIC,static,1342308352\r\nControl39=IDC_STATIC,static,1342308352\r\nControl40=IDC_STATIC,static,1342308352\r\nControl41=IDC_STATIC,static,1342308352\r\nControl42=IDC_STATIC,static,1342308352\r\nControl43=IDC_STATIC,static,1342308352\r\nControl44=IDC_STATIC,static,1342308352\r\nControl45=IDC_STATIC,static,1342308352\r\nControl46=IDC_STATIC,static,1342308354\r\nControl47=IDC_STATIC,static,1342308352\r\nControl48=IDC_TEXT1,static,1342308353\r\nControl49=IDC_STATIC,static,1342308354\r\nControl50=IDC_STATIC,static,1342308354\r\nControl51=IDC_STATIC,static,1342308354\r\nControl52=IDC_STATIC,static,1342308354\r\nControl53=IDC_CHECK5,button,1342242819\r\nControl54=IDC_COMBO3,combobox,1344340227\r\n\r\n[DLG:IDD_DIALOG1 (Englisch (USA))]\r\nType=1\r\nClass=MyDialog1\r\nControlCount=5\r\nControl1=IDC_EDIT1,edit,1353783300\r\nControl2=IDC_BUTTON3,button,1342242816\r\nControl3=IDC_BUTTON2,button,1342242816\r\nControl4=IDC_BUTTON4,button,1342242816\r\nControl5=IDC_BUTTON1,button,1342242816\r\n\r\n[MNU:IDR_TRAYMENU (Englisch (USA))]\r\nType=1\r\nClass=?\r\nCommand1=IDM_START\r\nCommand2=IDM_STOP\r\nCommand3=IDM_WINDOW\r\nCommand4=IDM_SETTINGS\r\nCommand5=IDM_OUTPUT\r\nCommand6=IDM_EXIT\r\nCommandCount=6\r\n\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'gui\/win32\/Main\/Frontend.clw' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Clarion"} {"commit":"036b9c4094066ced8019b89fe98b1018ee298651","subject":"Hello world sample","message":"Hello world sample\n","repos":"sebgod\/linguist,davidzchen\/linguist,erkyrath\/linguist,osorgin\/linguist,cokeboL\/linguist,sebgod\/linguist,MadcapJake\/linguist,mattn\/linguist,nburkley\/linguist,cybernet14\/linguist,scttnlsn\/linguist,jtbandes\/linguist,MostAwesomeDude\/linguist,seanders\/linguist,stanhu\/linguist,kr\/linguist,JJ\/linguist,MostAwesomeDude\/linguist,JJ\/linguist,c-lipka\/linguist,douglas-larocca\/linguist,steventhanna\/linguist,seanders\/linguist,jrnold\/linguist,ilyes14\/linguist,ya7lelkom\/linguist,R4PaSs\/linguist,pchaigno\/linguist,pchaigno\/linguist,pcantrell\/linguist,erkyrath\/linguist,pcantrell\/linguist,sebgod\/linguist,meunierfrederic\/octocatlinguist,FStarLang\/linguist,christop\/linguist,bluebear94\/linguist,georgesuperman\/linguist,hcutler\/linguist,stanhu\/linguist,kyoungrok0517\/linguist,ammaraskar\/linguist,CegepVictoriaville\/linguist,a0viedo\/linguist,iblech\/linguist,hcatlin\/linguist,SRI-CSL\/linguist,davidzchen\/linguist,cokeboL\/linguist,FStarLang\/linguist,ya7lelkom\/linguist,pchaigno\/linguist,a0viedo\/linguist,JJ\/linguist,MadcapJake\/linguist,martynbm\/linguist,stanhu\/linguist,kr\/linguist,mwpastore\/linguist,SRI-CSL\/linguist,ilyes14\/linguist,anhongyue\/test222,Mx7f\/linguist,whitj00\/linguist,mwpastore\/linguist,chiranjeevjain\/linguist,MahmoudFayed\/linguist,georgesuperman\/linguist,CegepVictoriaville\/linguist,thejameskyle\/linguist,assimovt\/ling-ist,matt40k\/linguist,bluebear94\/linguist,erkyrath\/linguist,hcutler\/linguist,jtbandes\/linguist,BerkeleyTrue\/linguist,alitalia\/linguist,pchaigno\/linguist,nburkley\/linguist,adamkaplan\/linguist,yyx990803\/linguist,jjatria\/linguist,anhongyue\/test222,CoderXpert\/linguist,scttnlsn\/linguist,matt40k\/linguist,JJ\/linguist,mattn\/linguist,c-lipka\/linguist,PsichiX\/linguist,manveru\/linguist,chiranjeevjain\/linguist,R4PaSs\/linguist,stanhu\/linguist,cybernet14\/linguist,yyx990803\/linguist,jrnold\/linguist,douglas-larocca\/linguist,thejameskyle\/linguist,meunierfrederic\/octocatlinguist,ppaulweber\/github-linguist,kyoungrok0517\/linguist,phpsgi\/linguist,yyx990803\/linguist,yscho\/linguist,tschf\/linguist,whitj00\/linguist,ammaraskar\/linguist,osorgin\/linguist,tschf\/linguist,adamkaplan\/linguist,yscho\/linguist,BerkeleyTrue\/linguist,mcandre\/linguist,sagar290\/linguist,christop\/linguist,manveru\/linguist,hcatlin\/linguist,alitalia\/linguist,github\/linguist,iblech\/linguist,phpsgi\/linguist,sagar290\/linguist,github\/linguist,steventhanna\/linguist,martynbm\/linguist,jjatria\/linguist,github\/linguist,github\/linguist,CoderXpert\/linguist,MahmoudFayed\/linguist,yyx990803\/linguist,meunierfrederic\/octocatlinguist,mcandre\/linguist,ppaulweber\/github-linguist,sebgod\/linguist,erkyrath\/linguist,Mx7f\/linguist,PsichiX\/linguist,assimovt\/ling-ist","old_file":"samples\/Clarion\/hello.clw","new_file":"samples\/Clarion\/hello.clw","new_contents":" PROGRAM\r\n\r\n MAP\r\n END\r\n\r\n CODE\r\n\r\n MESSAGE('Hello World!')\r\n\r\n RETURN","old_contents":"","returncode":1,"stderr":"error: pathspec 'samples\/Clarion\/hello.clw' did not match any file(s) known to git\n","license":"mit","lang":"Clarion"}