ReactOS 0.4.15-dev-6656-gbbb33a6
|
Go to the source code of this file.
Typedefs | |
typedef ULONG(WINAPI * | FN_MAPISendMail) (LHANDLE, ULONG_PTR, lpMapiMessage, FLAGS, ULONG) |
typedef ULONG(WINAPI * | FN_MAPISendMailW) (LHANDLE, ULONG_PTR, lpMapiMessageW, FLAGS, ULONG) |
Functions | |
static BOOL | FileExtFromFilter (LPTSTR pExt, OPENFILENAME *pOFN) |
static UINT_PTR APIENTRY | OFNHookProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
BOOL | OpenMailer (HWND hWnd, LPCWSTR pszPathName) |
INT WINAPI | _tWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, INT nCmdShow) |
Variables | |
POINT | g_ptStart |
POINT | g_ptEnd |
BOOL | g_askBeforeEnlarging = FALSE |
HINSTANCE | g_hinstExe = NULL |
TCHAR | g_szFileName [MAX_LONG_PATH] = { 0 } |
WCHAR | g_szMailTempFile [MAX_LONG_PATH] = { 0 } |
BOOL | g_isAFile = FALSE |
BOOL | g_imageSaved = FALSE |
BOOL | g_showGrid = FALSE |
CMainWindow | mainWindow |
INT WINAPI _tWinMain | ( | HINSTANCE | hInstance, |
HINSTANCE | hPrevInstance, | ||
LPTSTR | lpCmdLine, | ||
INT | nCmdShow | ||
) |
Definition at line 300 of file main.cpp.
|
static |
Definition at line 54 of file main.cpp.
Referenced by CMainWindow::GetSaveFileName().
Definition at line 79 of file main.cpp.
Referenced by CMainWindow::OnCommand().
Definition at line 14 of file main.cpp.
Referenced by CMainWindow::InsertSelectionFromHBITMAP().
Definition at line 15 of file main.cpp.
Referenced by _tWinMain(), CTextEditWindow::Create(), CMainWindow::DoCreate(), CMiniatureWindow::DoCreate(), CPaintToolBar::DoCreate(), CMainWindow::GetOpenFileName(), CMainWindow::GetSaveFileName(), CFontsDialog::InitToolbar(), CMainWindow::InsertSelectionFromHBITMAP(), CMainWindow::OnCommand(), CFullscreenWindow::OnCreate(), CToolSettingsWindow::OnCreate(), CMainWindow::OnCreate(), CFontsDialog::OnNotify(), CStretchSkewDialog::OnOk(), CCanvasWindow::OnSetCursor(), SetFileInfo(), and CMainWindow::TrackPopupMenu().
Definition at line 19 of file main.cpp.
Referenced by ImageModel::ImageModel(), ImageModel::IsImageSaved(), CCanvasWindow::OnLRButtonUp(), ImageModel::PushImageForUndo(), SaveDIBToFile(), SetBitmapAndInfo(), and SetFileInfo().
Definition at line 18 of file main.cpp.
Referenced by CAttributesDialog::OnInitDialog(), CMainWindow::ProcessFileMenu(), CMainWindow::saveImage(), and SetFileInfo().
POINT g_ptStart |
Definition at line 13 of file main.cpp.
Referenced by TwoPointDrawTool::OnButtonDown(), SmoothDrawTool::OnButtonDown(), RectSelTool::OnButtonUp(), TextTool::OnButtonUp(), LineTool::OnDrawOverlayOnImage(), RectTool::OnDrawOverlayOnImage(), EllipseTool::OnDrawOverlayOnImage(), RRectTool::OnDrawOverlayOnImage(), RectSelTool::OnMouseMove(), CCanvasWindow::OnMouseMove(), ToolBase::reset(), TextTool::UpdatePoint(), and updateStartAndLast().
Definition at line 20 of file main.cpp.
Referenced by CCanvasWindow::DoDraw(), CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().
TCHAR g_szFileName[MAX_LONG_PATH] = { 0 } |
Definition at line 16 of file main.cpp.
Referenced by CMainWindow::ConfirmSave(), CMainWindow::DoCreate(), CMainWindow::OnCommand(), OpenMailer(), CMainWindow::ProcessFileMenu(), CMainWindow::saveImage(), and SetFileInfo().
WCHAR g_szMailTempFile[MAX_LONG_PATH] = { 0 } |
Definition at line 17 of file main.cpp.
Referenced by _tWinMain(), and OpenMailer().
CMainWindow mainWindow |
Definition at line 22 of file main.cpp.
Referenced by _tWinMain(), FreeSelTool::OnButtonUp(), RectSelTool::OnButtonUp(), TextTool::OnButtonUp(), CFullscreenWindow::OnCloseOrKeyDownOrLButtonDown(), CMainWindow::OnCommand(), CFullscreenWindow::OnGetText(), CPaletteWindow::OnLButtonDblClk(), CCanvasWindow::OnLRButtonDown(), CPaletteWindow::OnMouseMove(), CToolBox::OnMouseMove(), CPaletteWindow::OnRButtonDblClk(), SetFileInfo(), and ShowError().