#include "stdafx.h"
#include "DlgCamera.h"
#include "DlgEvent.h"
#include "NameDlg.h"
#include "splines/splines.h"
#include "CameraTargetDlg.h"
Include dependency graph for dlgcamera.cpp:

Go to the source code of this file.
Functions | |
| BEGIN_MESSAGE_MAP (CDlgCamera, CDialog) ON_BN_CLICKED(IDC_BTN_ADDEVENT | |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines OnDblclkListEvents OnApply OnFileNew OnFileSave OnBtnDeletepoints OnRadioEditpoints | ON_BN_CLICKED (IDC_RADIO_EDITPOINTS2, OnRadioAddPoints) END_MESSAGE_MAP() void CDlgCamera |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines OnDblclkListEvents OnApply OnFileNew OnFileSave OnBtnDeletepoints | ON_BN_CLICKED (IDC_BTN_SELECTALL, OnBtnSelectall) ON_BN_CLICKED(IDC_RADIO_EDITPOINTS |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines OnDblclkListEvents OnApply OnFileNew OnFileSave | ON_BN_CLICKED (ID_TESTCAMERA, OnTestcamera) ON_BN_CLICKED(IDC_BTN_DELETEPOINTS |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines OnDblclkListEvents OnApply OnFileNew | ON_BN_CLICKED (ID_FILE_OPEN, OnFileOpen) ON_BN_CLICKED(ID_FILE_SAVE |
| OnBtnAddevent | ON_BN_CLICKED (IDC_BTN_ADDTARGET, OnBtnAddtarget) ON_BN_CLICKED(IDC_BTN_DELEVENT |
| OnBtnAddevent OnBtnDelevent | ON_CBN_DBLCLK (IDC_COMBO_SPLINES, OnDblclkComboSplines) ON_CBN_SELCHANGE(IDC_COMBO_SPLINES |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines | ON_LBN_SELCHANGE (IDC_LIST_EVENTS, OnSelchangeListEvents) ON_LBN_DBLCLK(IDC_LIST_EVENTS |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines OnDblclkListEvents | ON_WM_DESTROY () ON_BN_CLICKED(IDAPPLY |
| OnBtnAddevent OnBtnDelevent OnSelchangeComboSplines OnDblclkListEvents OnApply | ON_WM_HSCROLL () ON_BN_CLICKED(ID_FILE_NEW |
| void | showCameraInspector () |
| char * | va (char *format,...) |
Variables | |
| CDlgCamera | g_dlgCamera |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 135 of file dlgcamera.cpp. References idCameraDef::addEvent(), g_splineList, CDlgEvent::m_event, CDlgEvent::m_strParm, and n. 00143 {
00144 CDlgEvent dlg;
00145 if (dlg.DoModal() == IDOK) {
00146 long n = m_wndSegments.GetScrollPos() / 4 * 1000;
00147 g_splineList->addEvent(static_cast<idCameraEvent::eventType>(dlg.m_event+1), dlg.m_strParm, n);
00148 setupFromCamera();
00149 }
00150 }
|
Here is the call graph for this function:

|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Definition at line 66 of file dlgcamera.cpp. References g_dlgCamera, IDD_DLG_CAMERA, LoadRegistryInfo(), LONG, NULL, CDlgCamera::setupFromCamera(), Sys_UpdateWindows(), and W_ALL. Referenced by CMainFrame::OnSplinesEdit(), and CMainFrame::OnSplinesMode(). 00066 {
00067 if (g_dlgCamera.GetSafeHwnd() == NULL) {
00068 g_dlgCamera.Create(IDD_DLG_CAMERA);
00069 CRect rct;
00070 LONG lSize = sizeof(rct);
00071 if (LoadRegistryInfo("Radiant::CameraInspector", &rct, &lSize)) {
00072 g_dlgCamera.SetWindowPos(NULL, rct.left, rct.top, 0,0, SWP_NOSIZE | SWP_SHOWWINDOW);
00073 }
00074 Sys_UpdateWindows(W_ALL);
00075 }
00076 g_dlgCamera.ShowWindow(SW_SHOW);
00077 g_dlgCamera.setupFromCamera();
00078 }
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 49 of file dlgcamera.cpp. References format, string(), va_end, va_list, va_start, and vsprintf(). 00049 {
00050 va_list argptr;
00051 static char string[2][32000]; // in case va is called by nested functions
00052 static int index = 0;
00053 char *buf;
00054
00055 buf = string[index & 1];
00056 index++;
00057
00058 va_start (argptr, format);
00059 vsprintf (buf, format,argptr);
00060 va_end (argptr);
00061
00062 return buf;
00063 }
|
Here is the call graph for this function:

|
|
Definition at line 38 of file dlgcamera.cpp. Referenced by CDlgCamera::OnOK(), and showCameraInspector(). |
1.3.9.1