ReactOS 0.4.15-dev-5863-g1fe3ab7
|
#include "precomp.h"
Go to the source code of this file.
Functions | |
static BOOL | FileExtFromFilter (LPTSTR pExt, 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 nCmdShow) |
int WINAPI _tWinMain | ( | HINSTANCE | hThisInstance, |
HINSTANCE | hPrevInstance, | ||
LPTSTR | lpszArgument, | ||
INT | nCmdShow | ||
) |
Definition at line 111 of file main.cpp.
|
static |
Definition at line 86 of file main.cpp.
Referenced by _tWinMain().
Definition at line 25 of file main.cpp.
Referenced by CMainWindow::InsertSelectionFromHBITMAP().
CCanvasWindow canvasWindow |
Definition at line 53 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), CImgAreaWindow::drawZoomFrame(), CImgAreaWindow::OnImageModelDimensionsChanged(), CMainWindow::OnKeyDown(), CMainWindow::OnMouseWheel(), CImgAreaWindow::OnSize(), and zoomTo().
CHOOSECOLOR choosecolor |
Definition at line 28 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnCommand(), CPaletteWindow::OnLButtonDblClk(), and CPaletteWindow::OnRButtonDblClk().
int fileHPPM = 2834 |
Definition at line 40 of file main.cpp.
Referenced by CAttributesDialog::OnEdit1(), CAttributesDialog::OnInitDialog(), CAttributesDialog::OnRadioButton1(), CAttributesDialog::OnRadioButton2(), and SetBitmapAndInfo().
TCHAR filepathname[1000] |
Definition at line 36 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::ConfirmSave(), FT_Attach_File(), FT_Stream_Open(), CMainWindow::OnCommand(), CMainWindow::ProcessFileMenu(), CMainWindow::saveImage(), and SetBitmapAndInfo().
int fileSize |
Definition at line 39 of file main.cpp.
Referenced by ImageGetDigestStream(), IMAGEHLP_ReportCodeSections(), IMAGEHLP_ReportImportSection(), IMAGEHLP_ReportSection(), IMAGEHLP_ReportSectionFromOffset(), CAttributesDialog::OnInitDialog(), SaveDIBToFile(), SetBitmapAndInfo(), and SOFTPUB_GetFileSubject().
SYSTEMTIME fileTime |
Definition at line 42 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 41 of file main.cpp.
Referenced by CAttributesDialog::OnEdit2(), CAttributesDialog::OnInitDialog(), CAttributesDialog::OnRadioButton1(), CAttributesDialog::OnRadioButton2(), and SetBitmapAndInfo().
CFullscreenWindow fullscreenWindow |
Definition at line 48 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::OnCommand(), and CMainWindow::OnKeyDown().
HINSTANCE hProgInstance |
Definition at line 34 of file main.cpp.
Referenced by _tWinMain(), CTextEditWindow::Create(), CFontsDialog::InitToolbar(), CMainWindow::InsertSelectionFromHBITMAP(), CMainWindow::OnCommand(), CFullscreenWindow::OnCreate(), CImgAreaWindow::OnCreate(), CToolBox::OnCreate(), CToolSettingsWindow::OnCreate(), CMainWindow::OnCreate(), CFontsDialog::OnNotify(), CStretchSkewDialog::OnOk(), and SetBitmapAndInfo().
HWND hStatusBar |
Definition at line 27 of file main.cpp.
Referenced by _tWinMain().
CImgAreaWindow imageArea |
Definition at line 55 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::ConfirmSave(), CTextEditWindow::InvalidateEditRect(), ImageModel::NotifyDimensionsChanged(), ImageModel::NotifyImageChanged(), TextTool::OnButtonDown(), TextTool::OnButtonUp(), CSelectionWindow::OnCaptureChanged(), CMainWindow::OnCommand(), CMainWindow::OnKeyDown(), CCanvasWindow::OnLButtonDown(), CSelectionWindow::OnLButtonDown(), CSelectionWindow::OnMouseMove(), placeSelWin(), CTextEditWindow::Reposition(), CMainWindow::saveImage(), CCanvasWindow::Update(), and zoomTo().
ImageModel imageModel |
Definition at line 24 of file main.cpp.
Referenced by _tWinMain(), ToolBase::beginEvent(), SelectionModel::CalculateBoundingBoxAndContents(), CMainWindow::ConfirmSave(), LineTool::draw(), RectTool::draw(), EllipseTool::draw(), RRectTool::draw(), ColorTool::fetchColor(), CSelectionWindow::ForceRefreshSelectionContents(), CCanvasWindow::GetBaseRect(), CMainWindow::InsertSelectionFromHBITMAP(), FreeSelTool::OnButtonDown(), RectSelTool::OnButtonDown(), GenericDrawTool::OnButtonDown(), FillTool::OnButtonDown(), ZoomTool::OnButtonDown(), TextTool::OnButtonDown(), BezierTool::OnButtonDown(), ShapeTool::OnButtonDown(), FreeSelTool::OnButtonUp(), RectSelTool::OnButtonUp(), TextTool::OnButtonUp(), BezierTool::OnButtonUp(), ShapeTool::OnButtonUp(), FreeSelTool::OnCancelDraw(), RectSelTool::OnCancelDraw(), GenericDrawTool::OnCancelDraw(), BezierTool::OnCancelDraw(), ShapeTool::OnCancelDraw(), CMainWindow::OnCommand(), CAttributesDialog::OnDefault(), BezierTool::OnFinishDraw(), ShapeTool::OnFinishDraw(), CAttributesDialog::OnInitDialog(), CMainWindow::OnInitMenuPopup(), CCanvasWindow::OnLButtonUp(), CSelectionWindow::OnLButtonUp(), FreeSelTool::OnMouseMove(), RectSelTool::OnMouseMove(), BezierTool::OnMouseMove(), ShapeTool::OnMouseMove(), CCanvasWindow::OnMouseMove(), CImgAreaWindow::OnMouseMove(), CSelectionWindow::OnMouseMove(), CFullscreenWindow::OnPaint(), CImgAreaWindow::OnPaint(), CMiniatureWindow::OnPaint(), SelectionModel::RotateNTimes90Degrees(), CMainWindow::saveImage(), ToolsModel::selectAll(), SetBitmapAndInfo(), SelectionModel::StretchSkew(), CCanvasWindow::Update(), TextTool::UpdatePoint(), and zoomTo().
Definition at line 38 of file main.cpp.
Referenced by ImageModel::CopyPrevious(), ImageModel::ImageModel(), ImageModel::IsImageSaved(), ImageModel::RotateNTimes90Degrees(), SaveDIBToFile(), and SetBitmapAndInfo().
Definition at line 37 of file main.cpp.
Referenced by CAttributesDialog::OnInitDialog(), CMainWindow::ProcessFileMenu(), SaveDIBToFile(), CMainWindow::saveImage(), and SetBitmapAndInfo().
CMainWindow mainWindow |
Definition at line 47 of file main.cpp.
Referenced by _tWinMain(), TextTool::OnButtonUp(), CFullscreenWindow::OnCloseOrKeyDownOrLButtonDown(), CMainWindow::OnCommand(), CFullscreenWindow::OnGetText(), SetBitmapAndInfo(), and ShowFileLoadError().
CMiniatureWindow miniature |
Definition at line 49 of file main.cpp.
Referenced by _tWinMain(), CMiniatureWindow::OnClose(), CMainWindow::OnCommand(), and CImgAreaWindow::OnPaint().
OPENFILENAME ofn |
Definition at line 29 of file main.cpp.
Referenced by _tWinMain().
PaletteModel paletteModel |
Definition at line 20 of file main.cpp.
Referenced by ToolBase::beginEvent(), ImageModel::Crop(), ImageModel::DeleteSelection(), CTextEditWindow::DoFillBack(), ColorTool::fetchColor(), CSelectionWindow::ForceRefreshSelectionContents(), ImageModel::ImageModel(), CMainWindow::OnCommand(), CTextEditWindow::OnEraseBkGnd(), CMainWindow::OnInitMenuPopup(), CPaletteWindow::OnLButtonDblClk(), CPaletteWindow::OnLButtonDown(), CSelectionWindow::OnLButtonDown(), CSelectionWindow::OnMouseMove(), CPaletteWindow::OnPaint(), CPaletteWindow::OnRButtonDblClk(), and CPaletteWindow::OnRButtonDown().
CPaletteWindow paletteWindow |
Definition at line 52 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), PaletteModel::NotifyColorChanged(), PaletteModel::NotifyPaletteChanged(), CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().
RegistrySettings registrySettings |
Definition at line 22 of file main.cpp.
Referenced by _tWinMain(), CToolBox::DoCreate(), CFontsDialog::InitFontNames(), CFontsDialog::InitFontSizes(), CFontsDialog::InitToolbar(), TextTool::OnButtonUp(), CFontsDialog::OnCommand(), CMainWindow::OnCommand(), CMainWindow::OnDestroy(), CFontsDialog::OnFontName(), CFontsDialog::OnFontSize(), CFontsDialog::OnInitDialog(), CFontsDialog::OnMove(), CMainWindow::ProcessFileMenu(), SaveDIBToFile(), SetBitmapAndInfo(), and CTextEditWindow::UpdateFont().
SelectionModel selectionModel |
Definition at line 18 of file main.cpp.
Referenced by ImageModel::DrawSelectionBackground(), CSelectionWindow::ForceRefreshSelectionContents(), CMainWindow::InsertSelectionFromHBITMAP(), FreeSelTool::OnButtonDown(), RectSelTool::OnButtonDown(), FreeSelTool::OnButtonUp(), RectSelTool::OnButtonUp(), TextTool::OnButtonUp(), CMainWindow::OnCommand(), CSelectionWindow::OnLButtonUp(), FreeSelTool::OnMouseMove(), RectSelTool::OnMouseMove(), CSelectionWindow::OnMouseMove(), placeSelWin(), ToolBase::reset(), and TextTool::UpdatePoint().
CSelectionWindow selectionWindow |
Definition at line 54 of file main.cpp.
Referenced by _tWinMain(), ImageModel::DeleteSelection(), CSelectionWindow::ForceRefreshSelectionContents(), CMainWindow::InsertSelectionFromHBITMAP(), PaletteModel::NotifyColorChanged(), SelectionModel::NotifyRefreshNeeded(), ToolsModel::NotifyToolSettingsChanged(), ToolsModel::NotifyZoomChanged(), FreeSelTool::OnButtonDown(), RectSelTool::OnButtonDown(), FreeSelTool::OnButtonUp(), RectSelTool::OnButtonUp(), FreeSelTool::OnCancelDraw(), RectSelTool::OnCancelDraw(), CMainWindow::OnCommand(), FreeSelTool::OnFinishDraw(), RectSelTool::OnFinishDraw(), TextTool::OnFinishDraw(), CMainWindow::OnInitMenuPopup(), CImgAreaWindow::OnKeyDown(), CMainWindow::OnKeyDown(), CImgAreaWindow::OnPaint(), CToolBox::OnToolsModelToolChanged(), placeSelWin(), ImageModel::Redo(), ToolBase::reset(), SelectionModel::RotateNTimes90Degrees(), ToolsModel::SetBackgroundTransparent(), SelectionModel::StretchSkew(), and ImageModel::Undo().
OPENFILENAME sfn |
Definition at line 30 of file main.cpp.
Referenced by _tWinMain().
Definition at line 44 of file main.cpp.
Referenced by CMainWindow::OnCommand(), CMainWindow::OnInitMenuPopup(), and CImgAreaWindow::OnPaint().
Definition at line 45 of file main.cpp.
Referenced by _tWinMain(), CMiniatureWindow::OnClose(), CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().
CTextEditWindow textEditWindow |
Definition at line 56 of file main.cpp.
Referenced by PaletteModel::NotifyColorChanged(), ToolsModel::NotifyToolChanged(), ToolsModel::NotifyToolSettingsChanged(), ToolsModel::NotifyZoomChanged(), TextTool::OnButtonDown(), TextTool::OnButtonUp(), CMainWindow::OnCommand(), CImgAreaWindow::OnEraseBkGnd(), and CImgAreaWindow::OnPaint().
CToolBox toolBoxContainer |
Definition at line 50 of file main.cpp.
Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), CToolSettingsWindow::DoCreate(), CMainWindow::InsertSelectionFromHBITMAP(), ToolsModel::NotifyToolChanged(), CMainWindow::OnCommand(), CMainWindow::OnInitMenuPopup(), and CMainWindow::OnSysColorChange().
CToolSettingsWindow toolSettingsWindow |
Definition at line 51 of file main.cpp.
Referenced by ToolsModel::NotifyToolChanged(), ToolsModel::NotifyToolSettingsChanged(), ToolsModel::NotifyZoomChanged(), and CToolBox::OnCreate().
ToolsModel toolsModel |
Definition at line 16 of file main.cpp.
Referenced by CImgAreaWindow::cancelDrawing(), CTextEditWindow::DoFillBack(), BezierTool::draw(), RubberTool::draw(), BrushTool::draw(), AirBrushTool::draw(), LineTool::draw(), RectTool::draw(), EllipseTool::draw(), RRectTool::draw(), ShapeTool::draw(), CToolSettingsWindow::drawAirBrush(), CToolSettingsWindow::drawBox(), CToolSettingsWindow::drawBrush(), CToolSettingsWindow::drawLine(), CToolSettingsWindow::drawRubber(), ImageModel::DrawSelectionBackground(), CToolSettingsWindow::drawTrans(), CImgAreaWindow::finishDrawing(), CSelectionWindow::ForceRefreshSelectionContents(), nearlyEqualPoints(), ZoomTool::OnButtonDown(), ColorTool::OnButtonUp(), TextTool::OnButtonUp(), CSelectionWindow::OnCaptureChanged(), CFontsDialog::OnCommand(), CToolBox::OnCommand(), CMainWindow::OnCommand(), CImgAreaWindow::OnEraseBkGnd(), CTextEditWindow::OnEraseBkGnd(), TextTool::OnFinishDraw(), CFontsDialog::OnFontName(), CFontsDialog::OnFontSize(), CMainWindow::OnInitMenuPopup(), CTextEditWindow::OnKeyDown(), CImgAreaWindow::OnLButtonDblClk(), CCanvasWindow::OnLButtonDown(), CImgAreaWindow::OnLButtonDown(), CToolSettingsWindow::OnLButtonDown(), CCanvasWindow::OnLButtonUp(), CImgAreaWindow::OnLButtonUp(), CSelectionWindow::OnLButtonUp(), CImgAreaWindow::OnMouseLeave(), CImgAreaWindow::OnMouseMove(), CSelectionWindow::OnMouseMove(), CMainWindow::OnMouseWheel(), CImgAreaWindow::OnPaint(), CToolSettingsWindow::OnPaint(), CImgAreaWindow::OnRButtonDblClk(), CImgAreaWindow::OnRButtonDown(), CImgAreaWindow::OnRButtonUp(), CImgAreaWindow::OnSetCursor(), CToolBox::OnToolsModelToolChanged(), CToolSettingsWindow::OnToolsModelZoomChanged(), UnZoomed(), Zoomed(), and zoomTo().