| 51 | int TCx, TCy; |
| 52 | |
| 53 | CBriefEdit::CBriefEdit(CWnd *pParent /*=NULL*/) : CDialog(CBriefEdit::IDD, pParent) { |
| 54 | //{{AFX_DATA_INIT(CBriefEdit) |
| 55 | m_fGlitch = 0.0f; |
| 56 | m_fStatic = 0.0f; |
| 57 | m_sTitle = _T(""); |
| 58 | //}}AFX_DATA_INIT |
| 59 | layouts = NULL; |
| 60 | num_layouts = 0; |
| 61 | ParseLayoutScreenFile("BriefingLayouts.txt"); |
| 62 | PBlayouts = layouts; |
| 63 | PBnum_layouts = &num_layouts; |
| 64 | layout_bmp = -1; |
| 65 | TCx = TCy = 0; |
| 66 | |
| 67 | int bm_handle = bm_AllocLoadFileBitmap("TelCom.ogf", 0); |
| 68 | if (bm_handle > BAD_BITMAP_HANDLE) { |
| 69 | |
| 70 | menutga_LoadHotSpotMap(bm_handle, HOTSPOT_DISPLAY, &hotspotmap, &windowmap); |
| 71 | |
| 72 | TCx = windowmap.wm[MONITOR_MAIN].x; |
| 73 | TCy = windowmap.wm[MONITOR_MAIN].y; |
| 74 | |
| 75 | FreeHotSpotMapInternals(&hotspotmap); |
| 76 | FreeViewports(); |
| 77 | if (windowmap.wm) |
| 78 | mem_free(windowmap.wm); |
| 79 | bm_FreeBitmap(bm_handle); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | void CBriefEdit::DoDataExchange(CDataExchange *pDX) { |
| 84 | CDialog::DoDataExchange(pDX); |
nothing calls this directly
no test coverage detected