Changeset 988 for trunk/MagicSoft/Mars/macros/collarea.C
- Timestamp:
- 10/24/01 15:12:21 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/collarea.C
r971 r988 34 34 MTaskList tasklist; 35 35 36 //37 // Setup the parameter list.38 // - we need to create MCollArea only. The other containers39 // are created automatically without loss - we don't have to40 // access them-41 // - MCollArea must be created by us because we need the pointer42 // to it and if it would get created automatically it would also be43 // deleted automatically44 //45 36 parlist.AddToList(&tasklist); 46 47 MHMcCollectionArea *collArea = new MHMcCollectionArea;48 parlist.AddToList(collArea);49 37 50 38 // … … 64 52 MTask task; 65 53 tasklist.AddToList(&task); 66 67 54 68 55 // … … 84 71 // filled and can be displayd 85 72 // 86 collArea->Draw();73 parlist.FindObject("MHMcCollectionArea")->DrawClone(); 87 74 }
Note:
See TracChangeset
for help on using the changeset viewer.