Changeset 613 in dev
- Timestamp:
- May 19, 2008, 2:38:58 AM (17 years ago)
- Location:
- trunk/ab5.0/abdev/abdev
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/ClassTree.cpp
r475 r613 198 198 199 199 void CClassTreeView::InsertRootFolder(void){ 200 extern PROJECTINFO ProjectInfo;201 200 char temporary[VN_SIZE]; 202 201 sprintf(temporary,"%s クラス",ProjectInfo.name); … … 550 549 LockWindowUpdate(hProcedureTreeView); 551 550 552 extern PROJECTINFO ProjectInfo;553 551 if(ProjectInfo.name[0]){ 554 552 // プロジェクトが開かれているとき -
trunk/ab5.0/abdev/abdev/Common.h
r612 r613 577 577 #define PJ_OP_RC_MANIFEST 0x00020000 578 578 #define PJ_OP_UNICODE 0x00040000 579 struct PROJECTINFO{ 580 DWORD dwModuleType; 581 582 char name[MAX_PATH]; 583 char dir[MAX_PATH]; 584 585 DWORD dwVersion; 586 587 CDBFileInfo *pobj_DBFileInfo; 588 589 char ResourceFileName[MAX_PATH]; 590 591 int NumberOfMenu; 592 MENU_INFO *pMenuInfo; 593 HTREEITEM hMenuTreeItem; 594 595 std::vector<WINDOW_INFO> windowInfos; 596 HTREEITEM hWindowTreeItem; 597 598 RESOURCEINFO res; 599 600 DWORD dwOption; 601 char lpszOutput_Release[MAX_PATH]; 602 char lpszOutput_Debug[MAX_PATH]; 603 604 //マニフェスト 605 char szManifestPath[MAX_PATH]; 606 607 //デバッグ情報 608 char szCmdLine[8192]; 609 char szExePath[MAX_PATH]; 610 611 //ブレークポイント情報 612 CDBBreakPoint *pobj_DBBreakPoint; 613 614 _int8 ModifyOfMaterial; 615 _int8 ModifuOfResource; 616 _int8 modify; 617 }; 618 extern PROJECTINFO ProjectInfo; 619 620 extern ActiveBasic::IDE::ProjectManager projectManager; 579 621 580 622 581 -
trunk/ab5.0/abdev/abdev/DialogBoxes.cpp
r608 r613 585 585 #ifndef THETEXT 586 586 BOOL CALLBACK DlgNewFile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 587 extern PROJECTINFO ProjectInfo;588 587 extern char NewFileName[MAX_PATH]; 589 588 … … 801 800 } 802 801 BOOL CALLBACK DlgProjectOption_Whole(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 803 extern PROJECTINFO ProjectInfo;804 802 NMHDR *nmhdr; 805 803 … … 837 835 } 838 836 BOOL CALLBACK DlgProjectOption_Win32API(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 839 extern PROJECTINFO ProjectInfo;840 837 NMHDR *nmhdr; 841 838 … … 924 921 } 925 922 BOOL CALLBACK DlgProjectOption_Debug(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 926 extern PROJECTINFO ProjectInfo;927 923 NMHDR *nmhdr; 928 924 char temporary[MAX_PATH]; … … 1000 996 hpsp[i]=CreatePropertySheetPage(&psp[i]); 1001 997 1002 extern PROJECTINFO ProjectInfo;1003 998 temp_dwPjOption=ProjectInfo.dwOption; 1004 999 -
trunk/ab5.0/abdev/abdev/DocumentAdvice.cpp
r523 r613 256 256 //参照ディレクトリ 257 257 char *pDefaultDir; 258 extern PROJECTINFO ProjectInfo;259 258 if(ProjectInfo.name[0]) 260 259 pDefaultDir=ProjectInfo.dir; -
trunk/ab5.0/abdev/abdev/DrawWindow.cpp
r612 r613 172 172 } 173 173 void DrawScrollBar(int WndNum,DWORD style,BOOL bSwitch,POINT *pPos,SIZE *pSize){ 174 extern PROJECTINFO ProjectInfo;175 174 extern MDIINFO MdiInfo[MAX_WNDNUM]; 176 175 int i,i2; … … 488 487 } 489 488 void DrawUpDownControl(int WndNum,DWORD style,BOOL bSwitch,POINT *pPos,SIZE *pSize){ 490 extern PROJECTINFO ProjectInfo;491 489 extern MDIINFO MdiInfo[MAX_WNDNUM]; 492 490 int i,i2; … … 691 689 void DesigningWindow(int WndNum,HDC hdc,POINT *pBasePos,const WINDOW_INFO *pWindowInfo){ 692 690 extern MDIINFO MdiInfo[MAX_WNDNUM]; 693 extern PROJECTINFO ProjectInfo;694 691 int i,i2,i3,i4; 695 692 double red,green,blue,d_red,d_green,d_blue; -
trunk/ab5.0/abdev/abdev/FileOperation.cpp
r609 r613 347 347 //////////////////////////////////// 348 348 349 extern PROJECTINFO ProjectInfo;350 349 if(ProjectInfo.ModifyOfMaterial){ 351 350 sprintf(temporary,"%s%s.wnd",ProjectInfo.dir,ProjectInfo.name); -
trunk/ab5.0/abdev/abdev/FileTree.cpp
r475 r613 8 8 9 9 BOOL CALLBACK DlgProject_FileProperty(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 10 extern PROJECTINFO ProjectInfo;11 10 HTREEITEM hTreeItem; 12 11 int i; -
trunk/ab5.0/abdev/abdev/IconEditor.cpp
r475 r613 535 535 extern HWND hDocCombo; 536 536 extern MDIINFO MdiInfo[MAX_WNDNUM]; 537 extern PROJECTINFO ProjectInfo;538 537 int i,WndNum; 539 538 -
trunk/ab5.0/abdev/abdev/IconEditor_Tool.cpp
r475 r613 33 33 BOOL CALLBACK DlgIconButtons(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 34 34 extern MDIINFO MdiInfo[MAX_WNDNUM]; 35 extern PROJECTINFO ProjectInfo;36 35 int WndNum; 37 36 RECT rect; -
trunk/ab5.0/abdev/abdev/MenuProc.cpp
r475 r613 12 12 13 13 int GetMenuInfoNum(char *name){ 14 extern PROJECTINFO ProjectInfo;15 14 int i; 16 15 for(i=0;i<ProjectInfo.NumberOfMenu;i++){ … … 69 68 void Project_Menu_Insert(void){ 70 69 extern HANDLE hHeap; 71 extern PROJECTINFO ProjectInfo;72 70 extern MDIINFO MdiInfo[MAX_WNDNUM]; 73 71 extern char NewIdName[MAX_PATH]; … … 135 133 extern HANDLE hHeap; 136 134 extern MDIINFO MdiInfo[MAX_WNDNUM]; 137 extern PROJECTINFO ProjectInfo;138 135 int i; 139 136 … … 396 393 BOOL CALLBACK MenuEditDlg(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 397 394 extern HANDLE hHeap; 398 extern PROJECTINFO ProjectInfo;399 395 int i,i2,i3,i4,WndNum,MenuInfoNum; 400 396 char temporary[MAX_PATH]; … … 749 745 extern HINSTANCE hInst; 750 746 extern MDIINFO MdiInfo[MAX_WNDNUM]; 751 extern PROJECTINFO ProjectInfo;752 747 int i; 753 748 RECT rect; … … 803 798 extern HWND hDocCombo; 804 799 extern MDIINFO MdiInfo[MAX_WNDNUM]; 805 extern PROJECTINFO ProjectInfo;806 800 int i,i2,i3,WndNum,MenuInfoNum; 807 801 MENU_INFO *pMenuInfo; -
trunk/ab5.0/abdev/abdev/MessageCallOperation.cpp
r609 r613 10 10 11 11 int GetItemMessageInfo(int WndInfoNum,char *buffer,char *EventName){ 12 extern PROJECTINFO ProjectInfo;13 12 int i; 14 13 … … 31 30 char **GetProcedureNamesOfMessageCall(int WndInfoNum,ITEMEVENTINFO **ppItemEventInfo,int *num,BOOL *pbAlways){ 32 31 extern HANDLE hHeap; 33 extern PROJECTINFO ProjectInfo;34 32 int i,i2,i3,i4,i5,i6,NameLen,CallBackNameLen; 35 33 char *buffer,**ppNames,temporary[MAX_PATH],temp2[MAX_PATH]; … … 130 128 void SelectProcedureOfMessageCall(int WndInfoNum,char *ProcedureName,char *Parameter){ 131 129 extern MDIINFO MdiInfo[MAX_WNDNUM]; 132 extern PROJECTINFO ProjectInfo;133 130 int i,i2,i3,WndNum; 134 131 char temporary[MAX_PATH],*pBuf; … … 218 215 } 219 216 BOOL GetEventProcedureNameFromListView(HWND hList,int WndNum,int WndInfoNum,char *EventName,char *Parameter,DWORD dwEventType){ 220 extern PROJECTINFO ProjectInfo;221 217 extern MDIINFO MdiInfo[MAX_WNDNUM]; 222 218 int i,MaxCount; … … 398 394 void SetEventToList(HWND hDlg,DWORD dwEventType){ 399 395 extern MDIINFO MdiInfo[MAX_WNDNUM]; 400 extern PROJECTINFO ProjectInfo;401 396 int i,i2,WndNum; 402 397 HWND hList; … … 549 544 } 550 545 void Popup_SelectMenu(HWND hDlg){ 551 extern PROJECTINFO ProjectInfo;552 546 int i; 553 547 POINT pos; … … 591 585 BOOL CALLBACK DlgEventCode(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 592 586 extern MDIINFO MdiInfo[MAX_WNDNUM]; 593 extern PROJECTINFO ProjectInfo;594 587 int WndNum,WndInfoNum,i,i2; 595 588 char temporary[MAX_PATH],temp2[MAX_PATH]; -
trunk/ab5.0/abdev/abdev/ParameterHint.cpp
r475 r613 30 30 //単体ファイルのときはそのファイルを、プロジェクトのときはpjname.abの内容を取得 31 31 extern HANDLE hHeap; 32 extern PROJECTINFO ProjectInfo;33 32 int i; 34 33 char temporary[MAX_PATH],*pBuf; -
trunk/ab5.0/abdev/abdev/ProjectControl.cpp
r612 r613 44 44 extern MDIINFO MdiInfo[MAX_WNDNUM]; 45 45 extern LPSTR DefFileFilter; 46 extern PROJECTINFO ProjectInfo;47 46 int i,i2,WndNum; 48 47 char str[MAX_PATH],temporary[MAX_PATH]; … … 422 421 LRESULT CALLBACK ProjectViewProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 423 422 extern HINSTANCE hInst,hResInst; 424 extern PROJECTINFO ProjectInfo;425 423 extern HWND hTabOfProjectView; 426 424 extern HFONT hStatusFont; … … 649 647 void Project_File_Insert(char *path){ 650 648 extern HANDLE hHeap; 651 extern PROJECTINFO ProjectInfo;652 649 char temporary[MAX_PATH],temp2[MAX_PATH]; 653 650 … … 682 679 void Project_File_Delete(HTREEITEM hTreeItem){ 683 680 extern HANDLE hHeap; 684 extern PROJECTINFO ProjectInfo;685 681 686 682 if(ProjectInfo.pobj_DBFileInfo->IsMainFile(hTreeItem)){ … … 711 707 712 708 //既にプロジェクトが開かれている場合は閉じる 713 extern PROJECTINFO ProjectInfo;714 709 if(ProjectInfo.name[0]){ 715 710 if(!CloseProject()) return; … … 1119 1114 extern HANDLE hHeap; 1120 1115 extern HWND hProjectView; 1121 extern PROJECTINFO ProjectInfo;1122 1116 int i; 1123 1117 char temporary[MAX_PATH]; … … 1220 1214 void OpenProject(char *path){ 1221 1215 extern HANDLE hHeap; 1222 extern PROJECTINFO ProjectInfo;1223 1216 int i,i2,i3; 1224 1217 char *buffer,temporary[MAX_PATH],temp2[MAX_PATH]; … … 1816 1809 BOOL ProjectModifyCheck(BOOL bRun){ 1817 1810 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1818 extern PROJECTINFO ProjectInfo;1819 1811 int i,WndNum,sw; 1820 1812 HWND hChild; … … 1873 1865 extern HANDLE hHeap; 1874 1866 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1875 extern PROJECTINFO ProjectInfo;1876 1867 int i,i2,WndNum; 1877 1868 HWND hChild,hCloseChild; … … 2007 1998 void MakeWorkFile(void){ 2008 1999 extern MDIINFO MdiInfo[MAX_WNDNUM]; 2009 extern PROJECTINFO ProjectInfo;2010 2000 int i,i2,WndNum; 2011 2001 char temporary[MAX_PATH],buffer[32767]; … … 2128 2118 void SaveProject(void){ 2129 2119 extern MDIINFO MdiInfo[MAX_WNDNUM]; 2130 extern PROJECTINFO ProjectInfo;2131 2120 int i,i2,i3,WndNum; 2132 2121 char temporary[MAX_PATH],buffer[32767]; … … 2393 2382 2394 2383 BOOL SetProjectToRun(void){ 2395 extern PROJECTINFO ProjectInfo;2396 2384 HANDLE hFind; 2397 2385 WIN32_FIND_DATA wfd; … … 2422 2410 } 2423 2411 BOOL IsNeedCompileForProject(BOOL bDebug){ 2424 extern PROJECTINFO ProjectInfo;2425 2412 int i2; 2426 2413 char temporary[MAX_PATH]; -
trunk/ab5.0/abdev/abdev/RadProc.cpp
r612 r613 8 8 extern HINSTANCE hInst,hResInst; 9 9 extern HWND hDocCombo; 10 extern PROJECTINFO ProjectInfo;11 10 extern MDIINFO MdiInfo[MAX_WNDNUM]; 12 11 int i,i2; … … 162 161 extern HANDLE hHeap; 163 162 extern MDIINFO MdiInfo[MAX_WNDNUM]; 164 extern PROJECTINFO ProjectInfo;165 163 int i,i2,NewItemNum; 166 164 char temporary[MAX_PATH]; … … 264 262 extern HANDLE hHeap; 265 263 extern MDIINFO MdiInfo[MAX_WNDNUM]; 266 extern PROJECTINFO ProjectInfo;267 264 int i; 268 265 … … 341 338 } 342 339 void DrawFrame(HWND hwnd,int WndNum,int WndInfoNum,RECT *NewRect,RECT *OldRect,BOOL bLA){ 343 extern PROJECTINFO ProjectInfo;344 340 extern MDIINFO MdiInfo[MAX_WNDNUM]; 345 341 static int swLineStop; … … 452 448 void GetSelectingRect(int WndNum,int WndInfoNum,int num,RECT *rect){ 453 449 extern MDIINFO MdiInfo[MAX_WNDNUM]; 454 extern PROJECTINFO ProjectInfo;455 450 456 451 WINDOW_INFO *pWindowInfo = &ProjectInfo.windowInfos[WndInfoNum]; … … 474 469 extern MDIINFO MdiInfo[MAX_WNDNUM]; 475 470 extern RADINFO RadInfo; 476 extern PROJECTINFO ProjectInfo;477 471 int i,i2,i3; 478 472 HDC hdc; … … 549 543 void ChangePropertyWindow(int WndNum,int WndInfoNum){ 550 544 extern MDIINFO MdiInfo[MAX_WNDNUM]; 551 extern PROJECTINFO ProjectInfo;552 545 RECT rect; 553 546 SCROLLINFO ScrollInfo; … … 612 605 int GetItemNumOnMouse(int WndNum,int WndInfoNum,int x,int y){ 613 606 extern MDIINFO MdiInfo[MAX_WNDNUM]; 614 extern PROJECTINFO ProjectInfo;615 607 int i; 616 608 … … 658 650 //マウス座標をもとにコントロールアイテムを選択 659 651 extern MDIINFO MdiInfo[MAX_WNDNUM]; 660 extern PROJECTINFO ProjectInfo;661 652 int i; 662 653 … … 681 672 } 682 673 void SetItemNumOnFrame(int WndNum,int WndInfoNum,RECT *pRect){ 683 extern PROJECTINFO ProjectInfo;684 674 extern MDIINFO MdiInfo[MAX_WNDNUM]; 685 675 int i,i2,sw; … … 707 697 } 708 698 int GetStateOfDraggingFrame(int WndNum,int WndInfoNum,int x,int y){ 709 extern PROJECTINFO ProjectInfo;710 699 extern MDIINFO MdiInfo[MAX_WNDNUM]; 711 700 int i; … … 769 758 } 770 759 void ResetScrollbarOfRadEditor(int WndNum,int weight,int height){ 771 extern PROJECTINFO ProjectInfo;772 760 extern MDIINFO MdiInfo[MAX_WNDNUM]; 773 761 SCROLLINFO ScrollInfo; … … 805 793 LRESULT CALLBACK RadWindow(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 806 794 extern MDIINFO MdiInfo[MAX_WNDNUM]; 807 extern PROJECTINFO ProjectInfo;808 795 extern RADINFO RadInfo; 809 796 int i,i2,i3,i4; … … 1785 1772 extern HWND hDocCombo; 1786 1773 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1787 extern PROJECTINFO ProjectInfo;1788 1774 int i,WndNum; 1789 1775 -
trunk/ab5.0/abdev/abdev/RadSupport.cpp
r612 r613 36 36 extern HINSTANCE hInst; 37 37 extern HANDLE hHeap; 38 extern PROJECTINFO ProjectInfo;39 38 static HWND hWnd; 40 39 HWND hChild; … … 177 176 // サポートダイアログの内容をセット 178 177 //////////////////////////////////// 179 extern PROJECTINFO ProjectInfo;180 178 extern MDIINFO MdiInfo[MAX_WNDNUM]; 181 179 extern RADINFO RadInfo; … … 257 255 258 256 BOOL CALLBACK DlgRadSupport(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 259 extern PROJECTINFO ProjectInfo;260 257 extern MDIINFO MdiInfo[MAX_WNDNUM]; 261 258 static BOOL bTimer; -
trunk/ab5.0/abdev/abdev/RadToolsAndPropertyProc.cpp
r609 r613 101 101 BOOL CALLBACK RadToolButtonsProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 102 102 extern MDIINFO MdiInfo[MAX_WNDNUM]; 103 extern PROJECTINFO ProjectInfo;104 103 int i,i2,WndNum; 105 104 HWND hParent; … … 200 199 LRESULT CALLBACK RadToolsWindow(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 201 200 extern MDIINFO MdiInfo[MAX_WNDNUM]; 202 extern PROJECTINFO ProjectInfo;203 201 extern HFONT hStatusFont; 204 202 int i; … … 355 353 extern HWND hClient,hOwner; 356 354 extern MDIINFO MdiInfo[MAX_WNDNUM]; 357 extern PROJECTINFO ProjectInfo;358 355 int i,i3; 359 356 char temporary[MAX_PATH],temp2[MAX_PATH]; … … 480 477 BOOL CALLBACK DlgRadProperty_Window_ExStyle(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 481 478 extern MDIINFO MdiInfo[MAX_WNDNUM]; 482 extern PROJECTINFO ProjectInfo;483 479 int i; 484 480 … … 552 548 extern HANDLE hHeap; 553 549 extern MDIINFO MdiInfo[MAX_WNDNUM]; 554 extern PROJECTINFO ProjectInfo;555 550 int i,i3,i4; 556 551 static BOOL bInitial; … … 1118 1113 extern HANDLE hHeap; 1119 1114 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1120 extern PROJECTINFO ProjectInfo;1121 1115 int i,i3; 1122 1116 char *temporary; … … 1251 1245 extern HWND hClient,hOwner; 1252 1246 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1253 extern PROJECTINFO ProjectInfo;1254 1247 int i,i3; 1255 1248 char *temporary; … … 1308 1301 extern HANDLE hHeap; 1309 1302 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1310 extern PROJECTINFO ProjectInfo;1311 1303 1312 1304 WINDOW_INFO *pWindowInfo = &ProjectInfo.windowInfos[WndInfoNum]; … … 1375 1367 BOOL CALLBACK DlgRadProperty_Item_ExStyle(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1376 1368 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1377 extern PROJECTINFO ProjectInfo;1378 1369 int i; 1379 1370 … … 1438 1429 BOOL CALLBACK RadProperty_ButtonProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1439 1430 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1440 extern PROJECTINFO ProjectInfo;1441 1431 int i,i2,i3; 1442 1432 static BOOL bInitial; … … 1661 1651 BOOL CALLBACK RadProperty_CheckBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1662 1652 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1663 extern PROJECTINFO ProjectInfo;1664 1653 int i,i2,i3; 1665 1654 static BOOL bInitial; … … 1953 1942 BOOL CALLBACK RadProperty_ComboBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1954 1943 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1955 extern PROJECTINFO ProjectInfo;1956 1944 int i,i2,i3; 1957 1945 static BOOL bInitial; … … 2218 2206 BOOL CALLBACK RadProperty_EditProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 2219 2207 extern MDIINFO MdiInfo[MAX_WNDNUM]; 2220 extern PROJECTINFO ProjectInfo;2221 2208 int i,i2,i3; 2222 2209 static BOOL bInitial; … … 2500 2487 BOOL CALLBACK RadProperty_GroupBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 2501 2488 extern MDIINFO MdiInfo[MAX_WNDNUM]; 2502 extern PROJECTINFO ProjectInfo;2503 2489 int i,i2,i3; 2504 2490 static BOOL bInitial; … … 2653 2639 extern HANDLE hHeap; 2654 2640 extern MDIINFO MdiInfo[MAX_WNDNUM]; 2655 extern PROJECTINFO ProjectInfo;2656 2641 int i,i2,i3; 2657 2642 char temporary[MAX_PATH]; … … 3036 3021 BOOL CALLBACK RadProperty_ListViewProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 3037 3022 extern MDIINFO MdiInfo[MAX_WNDNUM]; 3038 extern PROJECTINFO ProjectInfo;3039 3023 int i,i2,i3; 3040 3024 static BOOL bInitial; … … 3329 3313 BOOL CALLBACK RadProperty_ListBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 3330 3314 extern MDIINFO MdiInfo[MAX_WNDNUM]; 3331 extern PROJECTINFO ProjectInfo;3332 3315 int i,i2,i3; 3333 3316 static BOOL bInitial; … … 3584 3567 BOOL CALLBACK RadProperty_ProgressBarProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 3585 3568 extern MDIINFO MdiInfo[MAX_WNDNUM]; 3586 extern PROJECTINFO ProjectInfo;3587 3569 int i,i2; 3588 3570 static BOOL bInitial; … … 3670 3652 BOOL CALLBACK RadProperty_RadioButtonProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 3671 3653 extern MDIINFO MdiInfo[MAX_WNDNUM]; 3672 extern PROJECTINFO ProjectInfo;3673 3654 int i,i2,i3; 3674 3655 static BOOL bInitial; … … 3905 3886 BOOL CALLBACK RadProperty_ScrollBarProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 3906 3887 extern MDIINFO MdiInfo[MAX_WNDNUM]; 3907 extern PROJECTINFO ProjectInfo;3908 3888 int i,i2,i3; 3909 3889 static BOOL bInitial; … … 3991 3971 BOOL CALLBACK RadProperty_StaticProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 3992 3972 extern MDIINFO MdiInfo[MAX_WNDNUM]; 3993 extern PROJECTINFO ProjectInfo;3994 3973 int i,i2,i3; 3995 3974 static BOOL bInitial; … … 4123 4102 BOOL CALLBACK RadProperty_TrackBarProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 4124 4103 extern MDIINFO MdiInfo[MAX_WNDNUM]; 4125 extern PROJECTINFO ProjectInfo;4126 4104 int i,i2,i3; 4127 4105 static BOOL bInitial; … … 4277 4255 BOOL CALLBACK RadProperty_TreeViewProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 4278 4256 extern MDIINFO MdiInfo[MAX_WNDNUM]; 4279 extern PROJECTINFO ProjectInfo;4280 4257 int i,i2; 4281 4258 static BOOL bInitial; … … 4490 4467 BOOL CALLBACK RadProperty_UpDownProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 4491 4468 extern MDIINFO MdiInfo[MAX_WNDNUM]; 4492 extern PROJECTINFO ProjectInfo;4493 4469 int i,i2,i3; 4494 4470 static BOOL bInitial; … … 4664 4640 LRESULT CALLBACK RadPropertyWindow(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 4665 4641 extern MDIINFO MdiInfo[MAX_WNDNUM]; 4666 extern PROJECTINFO ProjectInfo;4667 4642 int i; 4668 4643 RECT rect; -
trunk/ab5.0/abdev/abdev/Rad_UndoRedo.cpp
r612 r613 6 6 extern HINSTANCE hInst; 7 7 extern MDIINFO MdiInfo[MAX_WNDNUM]; 8 extern PROJECTINFO ProjectInfo;9 8 int i; 10 9 DWORD dw; … … 195 194 extern HINSTANCE hInst; 196 195 extern MDIINFO MdiInfo[MAX_WNDNUM]; 197 extern PROJECTINFO ProjectInfo;198 196 DWORD dw; 199 197 char *temporary; … … 556 554 } 557 555 558 extern PROJECTINFO ProjectInfo;559 556 ProjectInfo.ModifyOfMaterial=1; 560 557 -
trunk/ab5.0/abdev/abdev/Resource.cpp
r475 r613 13 13 void GetResourceData(void){ 14 14 extern HANDLE hHeap; 15 extern PROJECTINFO ProjectInfo;16 15 int i2,i3; 17 16 char *buffer,temporary[MAX_PATH],temp2[MAX_PATH],temp3[MAX_PATH]; … … 136 135 extern HANDLE hHeap; 137 136 extern LPSTR CursorFileFilter; 138 extern PROJECTINFO ProjectInfo;139 137 int i2,i3; 140 138 char temporary[MAX_PATH]; … … 185 183 } 186 184 void Project_Cursor_Delete(int CursorInfoNum){ 187 extern PROJECTINFO ProjectInfo;188 185 int i; 189 186 … … 203 200 void Project_Cursor_RenameID(int CursorInfoNum){ 204 201 extern HANDLE hHeap; 205 extern PROJECTINFO ProjectInfo;206 202 extern char NewIdName[MAX_PATH]; 207 203 extern HWND hMaterialTreeView; … … 243 239 extern HANDLE hHeap; 244 240 extern LPSTR BitmapFileFilter; 245 extern PROJECTINFO ProjectInfo;246 241 int i2,i3; 247 242 char temporary[MAX_PATH]; … … 303 298 } 304 299 void Project_Bitmap_Delete(int BitmapInfoNum){ 305 extern PROJECTINFO ProjectInfo;306 300 int i; 307 301 … … 321 315 void Project_Bitmap_RenameID(int BitmapInfoNum){ 322 316 extern HANDLE hHeap; 323 extern PROJECTINFO ProjectInfo;324 317 extern char NewIdName[MAX_PATH]; 325 318 extern HWND hMaterialTreeView; … … 360 353 extern HANDLE hHeap; 361 354 extern LPSTR IconFileFilter; 362 extern PROJECTINFO ProjectInfo;363 355 int i2,i3; 364 356 char temporary[MAX_PATH]; … … 421 413 void Project_Icon_Delete(int IconInfoNum){ 422 414 extern HANDLE hHeap; 423 extern PROJECTINFO ProjectInfo;424 415 int i2; 425 416 char temporary[MAX_PATH]; … … 460 451 void Project_Icon_RenameID(int IconInfoNum){ 461 452 extern HANDLE hHeap; 462 extern PROJECTINFO ProjectInfo;463 453 extern char NewIdName[MAX_PATH]; 464 454 extern HWND hMaterialTreeView; -
trunk/ab5.0/abdev/abdev/TextEditor_EventProc.cpp
r475 r613 31 31 extern HWND hDocCombo; 32 32 extern MDIINFO MdiInfo[MAX_WNDNUM]; 33 extern PROJECTINFO ProjectInfo;34 33 static DWORD dwAutoScroll; 35 34 extern COMPLEMENT_WINDOW_INFO ComplementWndInfo; -
trunk/ab5.0/abdev/abdev/WindowControl.cpp
r612 r613 14 14 15 15 int GetWndInfoNum(char *name){ 16 extern PROJECTINFO ProjectInfo;17 16 for( int i=0;i<static_cast<int>(ProjectInfo.windowInfos.size());i++){ 18 17 if(lstrcmpi(name,ProjectInfo.windowInfos[i].name)==0) return i; … … 22 21 WINDOW_INFO *GetWndInfo( char *name ) 23 22 { 24 extern PROJECTINFO ProjectInfo;25 23 BOOST_FOREACH( WINDOW_INFO &windowInfo, ProjectInfo.windowInfos ) 26 24 { … … 68 66 HGLOBAL Rad_GetChildInfoClipboardData(int WndNum,int WndInfoNum){ 69 67 //CHILDINFO構造体をクリップボード用データ(pByteが示すバッファ)に変換する 70 extern PROJECTINFO ProjectInfo;71 68 extern MDIINFO MdiInfo[MAX_WNDNUM]; 72 69 HGLOBAL hGlobal; … … 523 520 } 524 521 long GetCommandByMessage(int WndInfoNum,const char *MessageName,BOOL bProcedureCall,char *Command,char *spaces){ 525 extern PROJECTINFO ProjectInfo;526 522 int i,i2,sw; 527 523 char temporary[MAX_PATH],*temp2; … … 980 976 void SaveWindowProgram(){ 981 977 extern HANDLE hHeap; 982 extern PROJECTINFO ProjectInfo;983 978 int i,i2,i3,i4,i5,i6,sw1,sw2,sw3,sw4,size; 984 979 char *buffer,**ppNames,temporary[MAX_PATH]; … … 1632 1627 extern HANDLE hHeap; 1633 1628 extern MDIINFO MdiInfo[MAX_WNDNUM]; 1634 extern PROJECTINFO ProjectInfo;1635 1629 int i,i2,i3,size; 1636 1630 char *buffer,*temporary; … … 1736 1730 HeapDefaultFree(buffer); 1737 1731 1738 extern PROJECTINFO ProjectInfo;1739 1732 ProjectInfo.ModifyOfMaterial=0; 1740 1733 } … … 1834 1827 _int8 OpenWindowFile(char *path){ 1835 1828 extern HANDLE hHeap; 1836 extern PROJECTINFO ProjectInfo;1837 1829 int i,i2,i3,i4,i5; 1838 1830 char *buffer,temporary[MAX_PATH],*temp2,temp3[MAX_PATH]; … … 2173 2165 void Project_Window_Insert(void){ 2174 2166 extern HANDLE hHeap; 2175 extern PROJECTINFO ProjectInfo;2176 2167 char temporary[MAX_PATH],temp2[1024],*pTemp; 2177 2168 … … 2334 2325 extern HANDLE hHeap; 2335 2326 extern MDIINFO MdiInfo[MAX_WNDNUM]; 2336 extern PROJECTINFO ProjectInfo;2337 2327 int i; 2338 2328 -
trunk/ab5.0/abdev/abdev/include/ProjectManager.h
r609 r613 1 1 #pragma once 2 3 struct PROJECTINFO{ 4 DWORD dwModuleType; 5 6 char name[MAX_PATH]; 7 char dir[MAX_PATH]; 8 9 DWORD dwVersion; 10 11 CDBFileInfo *pobj_DBFileInfo; 12 13 char ResourceFileName[MAX_PATH]; 14 15 int NumberOfMenu; 16 MENU_INFO *pMenuInfo; 17 HTREEITEM hMenuTreeItem; 18 19 std::vector<WINDOW_INFO> windowInfos; 20 HTREEITEM hWindowTreeItem; 21 22 RESOURCEINFO res; 23 24 DWORD dwOption; 25 char lpszOutput_Release[MAX_PATH]; 26 char lpszOutput_Debug[MAX_PATH]; 27 28 //マニフェスト 29 char szManifestPath[MAX_PATH]; 30 31 //デバッグ情報 32 char szCmdLine[8192]; 33 char szExePath[MAX_PATH]; 34 35 //ブレークポイント情報 36 CDBBreakPoint *pobj_DBBreakPoint; 37 38 _int8 ModifyOfMaterial; 39 _int8 ModifuOfResource; 40 _int8 modify; 41 }; 2 42 3 43 namespace ActiveBasic{ namespace IDE{ … … 51 91 52 92 }} 93 94 extern ActiveBasic::IDE::ProjectManager projectManager; 95 extern PROJECTINFO ProjectInfo; -
trunk/ab5.0/abdev/abdev/stdafx.h
r609 r613 52 52 #include <MainFrame.h> 53 53 #include <Program.h> 54 #include <ProjectManager.h>55 54 56 55 #include "Common.h" 56 57 #include <ProjectManager.h>
Note:
See TracChangeset
for help on using the changeset viewer.