ReactOS
0.4.15-dev-2144-g2282205
|
#include "precomp.h"
Go to the source code of this file.
Functions | |
static BOOL | FileExtFromFilter (LPTSTR pExt, LPCTSTR pTitle, OPENFILENAME *pOFN) |
static UINT_PTR APIENTRY | OFNHookProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
int WINAPI | _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument, int nFunsterStil) |
int WINAPI _tWinMain | ( | HINSTANCE | hThisInstance, |
HINSTANCE | hPrevInstance, | ||
LPTSTR | lpszArgument, | ||
int | nFunsterStil | ||
) |
Definition at line 146 of file main.cpp.
|
static |
Definition at line 111 of file main.cpp.
Referenced by _tWinMain().
Definition at line 33 of file main.cpp.
Referenced by CMainWindow::InsertSelectionFromHBITMAP().
CHOOSECOLOR choosecolor |
Definition at line 36 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnCommand(), CPaletteWindow::OnLButtonDblClk(), and CPaletteWindow::OnRButtonDblClk().
int fileHPPM = 2834 |
Definition at line 56 of file main.cpp.
Referenced by CAttributesDialog::OnEdit1(), CAttributesDialog::OnInitDialog(), CAttributesDialog::OnRadioButton1(), CAttributesDialog::OnRadioButton2(), and SetBitmapAndInfo().
TCHAR filepathname[1000] |
Definition at line 52 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::ConfirmSave(), FT_Attach_File(), FT_Stream_Open(), CMainWindow::OnCommand(), CMainWindow::saveImage(), and SetBitmapAndInfo().
int fileSize |
Definition at line 55 of file main.cpp.
Referenced by applyPatch(), ImageGetDigestStream(), IMAGEHLP_ReportCodeSections(), IMAGEHLP_ReportImportSection(), IMAGEHLP_ReportSection(), IMAGEHLP_ReportSectionFromOffset(), loadFile(), CAttributesDialog::OnInitDialog(), SaveDIBToFile(), saveFile(), SetBitmapAndInfo(), and SOFTPUB_GetFileSubject().
SYSTEMTIME fileTime |
Definition at line 58 of file main.cpp.
Referenced by add_date_string_to_control(), CertVerifyCRLTimeValidity(), CertVerifyTimeValidity(), DoLoadImageFile(), format_long_date(), getChain(), CAttributesDialog::OnInitDialog(), SaveDIBToFile(), SetBitmapAndInfo(), SHFormatDateTimeA(), SHFormatDateTimeW(), test_CERT_CHAIN_PARA_cbSize(), test_verifyTimeValidity(), and testGetCertChain().
int fileVPPM = 2834 |
Definition at line 57 of file main.cpp.
Referenced by CAttributesDialog::OnEdit2(), CAttributesDialog::OnInitDialog(), CAttributesDialog::OnRadioButton1(), CAttributesDialog::OnRadioButton2(), and SetBitmapAndInfo().
CFullscreenWindow fullscreenWindow |
Definition at line 64 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnCommand(), and CMainWindow::OnKeyDown().
HCURSOR hCurAirbrush |
Definition at line 46 of file main.cpp.
Referenced by _tWinMain(), and CImgAreaWindow::OnSetCursor().
HCURSOR hCurColor |
Definition at line 43 of file main.cpp.
Referenced by _tWinMain(), and CImgAreaWindow::OnSetCursor().
HCURSOR hCurFill |
Definition at line 42 of file main.cpp.
Referenced by _tWinMain(), and CImgAreaWindow::OnSetCursor().
HCURSOR hCurPen |
Definition at line 45 of file main.cpp.
Referenced by _tWinMain(), and CImgAreaWindow::OnSetCursor().
HCURSOR hCurZoom |
Definition at line 44 of file main.cpp.
Referenced by _tWinMain(), and CImgAreaWindow::OnSetCursor().
HFONT hfontTextFont |
Definition at line 23 of file main.cpp.
Referenced by _tWinMain(), and SelectionModel::DrawTextToolText().
HICON hNontranspIcon |
Definition at line 39 of file main.cpp.
Referenced by _tWinMain(), and CToolSettingsWindow::OnPaint().
HINSTANCE hProgInstance |
Definition at line 50 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::InsertSelectionFromHBITMAP(), CMainWindow::OnCommand(), CFullscreenWindow::OnCreate(), CToolBox::OnCreate(), CMainWindow::OnCreate(), CStretchSkewDialog::OnOk(), and SetBitmapAndInfo().
HWND hStatusBar |
Definition at line 35 of file main.cpp.
Referenced by _tWinMain().
HICON hTranspIcon |
Definition at line 40 of file main.cpp.
Referenced by _tWinMain(), and CToolSettingsWindow::OnPaint().
CImgAreaWindow imageArea |
Definition at line 72 of file main.cpp.
Referenced by _tWinMain(), ImageModel::NotifyDimensionsChanged(), ImageModel::NotifyImageChanged(), CMainWindow::OnCommand(), CMainWindow::OnKeyDown(), CSelectionWindow::OnLButtonDown(), CSelectionWindow::OnMouseMove(), placeSelWin(), updateCanvasAndScrollbars(), UpdateScrollbox(), and zoomTo().
ImageModel imageModel |
Definition at line 32 of file main.cpp.
Referenced by _tWinMain(), SelectionModel::CalculateBoundingBoxAndContents(), CImgAreaWindow::cancelDrawing(), CMainWindow::ConfirmSave(), endPaintingL(), endPaintingR(), CMainWindow::InsertSelectionFromHBITMAP(), CSelectionWindow::OnCaptureChanged(), CMainWindow::OnCommand(), CAttributesDialog::OnDefault(), CScrollboxWindow::OnHScroll(), CAttributesDialog::OnInitDialog(), CMainWindow::OnInitMenuPopup(), CImgAreaWindow::OnLButtonDown(), CSizeboxWindow::OnLButtonUp(), CImgAreaWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSelectionWindow::OnMouseMove(), CImgAreaWindow::OnMouseMove(), CMiniatureWindow::OnPaint(), CFullscreenWindow::OnPaint(), CImgAreaWindow::OnPaint(), CImgAreaWindow::OnRButtonDown(), CImgAreaWindow::OnRButtonUp(), CImgAreaWindow::OnSize(), CScrollboxWindow::OnVScroll(), CMainWindow::saveImage(), SetBitmapAndInfo(), startPaintingL(), startPaintingR(), updateCanvasAndScrollbars(), whilePaintingL(), whilePaintingR(), and zoomTo().
Definition at line 54 of file main.cpp.
Referenced by ImageModel::CopyPrevious(), ImageModel::ImageModel(), ImageModel::IsImageSaved(), SaveDIBToFile(), and SetBitmapAndInfo().
Definition at line 53 of file main.cpp.
Referenced by CAttributesDialog::OnInitDialog(), CMainWindow::OnInitMenuPopup(), SaveDIBToFile(), CMainWindow::saveImage(), and SetBitmapAndInfo().
LOGFONT lfTextFont |
Definition at line 22 of file main.cpp.
Referenced by _tWinMain().
CMainWindow mainWindow |
Definition at line 63 of file main.cpp.
Referenced by _tWinMain(), CFullscreenWindow::OnCloseOrKeyDownOrLButtonDown(), CMainWindow::OnCommand(), CFullscreenWindow::OnGetText(), SetBitmapAndInfo(), and ShowFileLoadError().
CMiniatureWindow miniature |
Definition at line 65 of file main.cpp.
Referenced by _tWinMain(), CMiniatureWindow::OnClose(), CMainWindow::OnCommand(), CMiniatureWindow::OnPaint(), and CImgAreaWindow::OnPaint().
OPENFILENAME ofn |
Definition at line 37 of file main.cpp.
Referenced by _tWinMain().
PaletteModel paletteModel |
Definition at line 28 of file main.cpp.
Referenced by CImgAreaWindow::cancelDrawing(), ImageModel::Crop(), ImageModel::ImageModel(), CMainWindow::OnCommand(), CMainWindow::OnInitMenuPopup(), CPaletteWindow::OnLButtonDblClk(), CPaletteWindow::OnLButtonDown(), CImgAreaWindow::OnLButtonDown(), CImgAreaWindow::OnLButtonUp(), CSelectionWindow::OnMouseMove(), CImgAreaWindow::OnMouseMove(), CPaletteWindow::OnPaint(), CPaletteWindow::OnRButtonDblClk(), CPaletteWindow::OnRButtonDown(), CImgAreaWindow::OnRButtonDown(), and CImgAreaWindow::OnRButtonUp().
CPaletteWindow paletteWindow |
Definition at line 68 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), PaletteModel::NotifyColorChanged(), PaletteModel::NotifyPaletteChanged(), CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().
RegistrySettings registrySettings |
Definition at line 30 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnCommand(), CMainWindow::OnDestroy(), CMainWindow::OnInitMenuPopup(), SaveDIBToFile(), and SetBitmapAndInfo().
CScrollboxWindow scrlClientWindow |
Definition at line 70 of file main.cpp.
Referenced by _tWinMain(), CScrollboxWindow::OnHScroll(), CSelectionWindow::OnLButtonDown(), CScrollboxWindow::OnVScroll(), and UpdateScrollbox().
CScrollboxWindow scrollboxWindow |
Definition at line 69 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), CImgAreaWindow::drawZoomFrame(), CScrollboxWindow::OnHScroll(), CScrollboxWindow::OnSize(), CScrollboxWindow::OnVScroll(), updateCanvasAndScrollbars(), UpdateScrollbox(), and zoomTo().
SelectionModel selectionModel |
Definition at line 20 of file main.cpp.
Referenced by CImgAreaWindow::cancelDrawing(), endPaintingL(), CMainWindow::InsertSelectionFromHBITMAP(), CMainWindow::OnCommand(), CSelectionWindow::OnLButtonUp(), CSelectionWindow::OnMouseMove(), CSelectionWindow::OnPaint(), placeSelWin(), startPaintingL(), and whilePaintingL().
CSelectionWindow selectionWindow |
Definition at line 71 of file main.cpp.
Referenced by _tWinMain(), endPaintingL(), ForceRefreshSelectionContents(), CMainWindow::InsertSelectionFromHBITMAP(), PaletteModel::NotifyColorChanged(), SelectionModel::NotifyRefreshNeeded(), ToolsModel::NotifyToolSettingsChanged(), CMainWindow::OnCommand(), CMainWindow::OnInitMenuPopup(), CMainWindow::OnKeyDown(), CScrollboxWindow::OnLButtonDown(), CImgAreaWindow::OnPaint(), CToolBox::OnToolsModelToolChanged(), placeSelWin(), ImageModel::Redo(), startPaintingL(), ImageModel::Undo(), updateCanvasAndScrollbars(), and zoomTo().
OPENFILENAME sfn |
Definition at line 38 of file main.cpp.
Referenced by _tWinMain().
Definition at line 60 of file main.cpp.
Referenced by CMainWindow::OnCommand(), CMainWindow::OnInitMenuPopup(), and CImgAreaWindow::OnPaint().
Definition at line 61 of file main.cpp.
Referenced by _tWinMain(), CMiniatureWindow::OnClose(), CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().
CSizeboxWindow sizeboxCenterBottom |
Definition at line 79 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxCenterTop |
Definition at line 74 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxLeftBottom |
Definition at line 78 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxLeftCenter |
Definition at line 76 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxLeftTop |
Definition at line 73 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxRightBottom |
Definition at line 80 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxRightCenter |
Definition at line 77 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CSizeboxWindow sizeboxRightTop |
Definition at line 75 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnKeyDown(), CSizeboxWindow::OnLButtonUp(), CSizeboxWindow::OnMouseMove(), CSizeboxWindow::OnSetCursor(), and CImgAreaWindow::OnSize().
CTextEditWindow textEditWindow |
Definition at line 81 of file main.cpp.
Referenced by _tWinMain(), ToolsModel::NotifyToolChanged(), CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().
Definition at line 25 of file main.cpp.
Referenced by SelectionModel::DrawTextToolText(), and CTextEditWindow::OnCommand().
int textToolTextMaxLen = 0 |
Definition at line 26 of file main.cpp.
Referenced by CTextEditWindow::OnCommand().
CToolBox toolBoxContainer |
Definition at line 66 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), CMainWindow::InsertSelectionFromHBITMAP(), ToolsModel::NotifyToolChanged(), CMainWindow::OnCommand(), CMainWindow::OnInitMenuPopup(), and CMainWindow::OnSysColorChange().
CToolSettingsWindow toolSettingsWindow |
Definition at line 67 of file main.cpp.
Referenced by _tWinMain(), ToolsModel::NotifyToolChanged(), ToolsModel::NotifyToolSettingsChanged(), and ToolsModel::NotifyZoomChanged().
ToolsModel toolsModel |
Definition at line 18 of file main.cpp.
Referenced by CImgAreaWindow::cancelDrawing(), endPaintingL(), endPaintingR(), CToolBox::OnCommand(), CMainWindow::OnCommand(), CScrollboxWindow::OnHScroll(), CMainWindow::OnInitMenuPopup(), CMainWindow::OnKeyDown(), CImgAreaWindow::OnKeyDown(), CToolSettingsWindow::OnLButtonDown(), CImgAreaWindow::OnLButtonDown(), CSizeboxWindow::OnLButtonUp(), CSelectionWindow::OnLButtonUp(), CImgAreaWindow::OnLButtonUp(), CImgAreaWindow::OnMouseLeave(), CSizeboxWindow::OnMouseMove(), CSelectionWindow::OnMouseMove(), CImgAreaWindow::OnMouseMove(), CToolSettingsWindow::OnPaint(), CSelectionWindow::OnPaint(), CImgAreaWindow::OnPaint(), CSelectionWindow::OnPaletteModelColorChanged(), CImgAreaWindow::OnRButtonDown(), CImgAreaWindow::OnRButtonUp(), CImgAreaWindow::OnSetCursor(), CImgAreaWindow::OnSize(), CSelectionWindow::OnToolsModelSettingsChanged(), CToolSettingsWindow::OnToolsModelZoomChanged(), CScrollboxWindow::OnVScroll(), placeSelWin(), startPaintingL(), startPaintingR(), updateCanvasAndScrollbars(), whilePaintingL(), whilePaintingR(), and zoomTo().