2015-05-08 16:02:36 +00:00
|
|
|
#ifndef _MSPAINT_H
|
|
|
|
#define _MSPAINT_H
|
|
|
|
|
2022-01-22 15:59:12 +00:00
|
|
|
#ifdef NDEBUG
|
|
|
|
#undef DBG
|
|
|
|
#undef _DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if DBG && !defined(_DEBUG)
|
|
|
|
#define _DEBUG
|
|
|
|
#endif
|
|
|
|
|
2015-05-08 16:02:36 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <winuser.h>
|
|
|
|
#include <wingdi.h>
|
2015-07-07 10:42:49 +00:00
|
|
|
#include <tchar.h>
|
|
|
|
#include <atlbase.h>
|
|
|
|
#include <atlcom.h>
|
2016-09-26 19:53:42 +00:00
|
|
|
#include <atlimage.h>
|
|
|
|
#include <atlpath.h>
|
|
|
|
#include <atlstr.h>
|
2015-07-07 10:42:49 +00:00
|
|
|
#include <atlwin.h>
|
2015-05-08 16:02:36 +00:00
|
|
|
#include <windowsx.h>
|
|
|
|
#include <commdlg.h>
|
|
|
|
#include <commctrl.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <shellapi.h>
|
|
|
|
#include <htmlhelp.h>
|
|
|
|
|
2022-01-09 23:50:37 +00:00
|
|
|
#define NDEBUG
|
|
|
|
#include <debug.h>
|
|
|
|
|
2021-12-28 01:44:56 +00:00
|
|
|
#define WM_TOOLSMODELTOOLCHANGED (WM_APP + 0)
|
|
|
|
#define WM_TOOLSMODELSETTINGSCHANGED (WM_APP + 1)
|
|
|
|
#define WM_TOOLSMODELZOOMCHANGED (WM_APP + 2)
|
|
|
|
#define WM_PALETTEMODELCOLORCHANGED (WM_APP + 3)
|
|
|
|
#define WM_PALETTEMODELPALETTECHANGED (WM_APP + 4)
|
|
|
|
#define WM_IMAGEMODELDIMENSIONSCHANGED (WM_APP + 5)
|
|
|
|
#define WM_IMAGEMODELIMAGECHANGED (WM_APP + 6)
|
|
|
|
#define WM_SELECTIONMODELREFRESHNEEDED (WM_APP + 7)
|
|
|
|
|
|
|
|
#include "resource.h"
|
2015-05-08 16:02:36 +00:00
|
|
|
#include "drawing.h"
|
|
|
|
#include "dib.h"
|
2015-08-17 12:03:39 +00:00
|
|
|
#include "fullscreen.h"
|
2015-05-08 16:02:36 +00:00
|
|
|
#include "globalvar.h"
|
|
|
|
#include "history.h"
|
2015-07-07 11:02:30 +00:00
|
|
|
#include "imgarea.h"
|
|
|
|
#include "miniature.h"
|
2015-07-07 10:42:49 +00:00
|
|
|
#include "palette.h"
|
2015-07-07 11:15:24 +00:00
|
|
|
#include "palettemodel.h"
|
2015-08-16 19:52:37 +00:00
|
|
|
#include "registry.h"
|
2015-07-07 10:42:49 +00:00
|
|
|
#include "scrollbox.h"
|
2015-05-08 16:02:36 +00:00
|
|
|
#include "selection.h"
|
2015-07-09 09:48:01 +00:00
|
|
|
#include "selectionmodel.h"
|
2015-07-07 10:42:49 +00:00
|
|
|
#include "sizebox.h"
|
|
|
|
#include "textedit.h"
|
2015-07-07 11:44:50 +00:00
|
|
|
#include "toolbox.h"
|
2015-07-07 10:42:49 +00:00
|
|
|
#include "toolsettings.h"
|
2015-07-07 11:15:24 +00:00
|
|
|
#include "toolsmodel.h"
|
2015-07-07 10:42:49 +00:00
|
|
|
#include "winproc.h"
|
2022-01-05 07:26:05 +00:00
|
|
|
#include "dialogs.h"
|
2021-12-26 10:49:56 +00:00
|
|
|
#include "common.h"
|
2015-05-08 16:02:36 +00:00
|
|
|
|
|
|
|
#endif /* _MSPAINT_H */
|