Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.7 KiB

  1. //
  2. // Precompiled header stuff
  3. //
  4. #define OEMRESOURCE
  5. #define STRICT 1
  6. #include <windows.h>
  7. #include <windowsx.h>
  8. #include <commdlg.h>
  9. #include <shellapi.h> // Includes drag drop interface
  10. #include <imm.h>
  11. //
  12. // NM headers
  13. //
  14. #include <mlzdbg.h>
  15. #include <confreg.h>
  16. #include <oprahcom.h>
  17. #include <indeopal.h>
  18. #include <help_ids.h>
  19. #include <endsesn.h>
  20. #include <nmhelp.h>
  21. // macro for setting "match to palette colors" bits in a COLORREF
  22. #define SET_PALETTERGB( c ) (0x02000000 | (0x00ffffff & c))
  23. #ifdef _DEBUG
  24. extern HDBGZONE ghZoneWb;
  25. // UPDATE g_rgZonesWb IF THESE CHANGE
  26. enum
  27. {
  28. ZONE_WB_DEBUG = BASE_ZONE_INDEX,
  29. ZONE_WB_MSG,
  30. ZONE_WB_TIMER,
  31. ZONE_WB_EVENT,
  32. ZONE_WB_MAX
  33. };
  34. #define TRACE_DEBUG( s ) MLZ_TraceZoneEnabled(ZONE_WB_DEBUG) ? (MLZ_TraceOut s) : 0
  35. #define TRACE_MSG( s ) MLZ_TraceZoneEnabled(ZONE_WB_MSG) ? (MLZ_TraceOut s) : 0
  36. #define TRACE_TIMER( s ) MLZ_TraceZoneEnabled(ZONE_WB_TIMER) ? (MLZ_TraceOut s) : 0
  37. #define TRACE_EVENT( s ) MLZ_TraceZoneEnabled(ZONE_WB_EVENT) ? (MLZ_TraceOut s) : 0
  38. #else
  39. #define MLZ_EntryOut(zone, func)
  40. #define TRACE_DEBUG( a )
  41. #define TRACE_MSG( a )
  42. #define TRACE_TIMER( a )
  43. #define TRACE_EVENT( a )
  44. #endif
  45. #include "resource.h"
  46. #include <oblist.h>
  47. #include "ms_util.h"
  48. #include "wboblist.hpp"
  49. #include "ccl32.hpp"
  50. #include "page.hpp"
  51. #include "cgrp.hpp"
  52. #include "wgrp.hpp"
  53. #include "agrp.hpp"
  54. #include "tool.hpp"
  55. #include "twnd.hpp"
  56. #include "t126.h"
  57. #include "coder.hpp"
  58. #include "t126obj.hpp"
  59. #include "drawobj.hpp"
  60. #include "textobj.hpp"
  61. #include "txted.hpp"
  62. #include "draw.hpp"
  63. #include "wrkspobj.hpp"
  64. #include "bmpobj.hpp"
  65. #include "mcshelp.h"
  66. #include "mwnd.hpp"
  67. #include "gcchelp.h"
  68. #include "globals.h"