mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Define WIN32_LEAN_AND_MEAN globally
This commit is contained in:
		@@ -22,6 +22,7 @@
 | 
			
		||||
#include "FontCollection.h"
 | 
			
		||||
#include "TextFormat.h"
 | 
			
		||||
#include <Windows.h>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
 | 
			
		||||
namespace Gfx {
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,7 @@
 | 
			
		||||
#include "Util/WICBitmapDIB.h"
 | 
			
		||||
#include <memory>
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
#include <d2d1_1.h>
 | 
			
		||||
#include <d2d1helper.h>
 | 
			
		||||
 
 | 
			
		||||
@@ -24,6 +24,7 @@
 | 
			
		||||
#include "TextFormatGDIP.h"
 | 
			
		||||
#include <memory>
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
 | 
			
		||||
namespace Gfx {
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,7 @@
 | 
			
		||||
#include "FontCollectionD2D.h"
 | 
			
		||||
#include "CanvasD2D.h"
 | 
			
		||||
#include "Util/DWriteFontCollectionLoader.h"
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
 | 
			
		||||
namespace Gfx {
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include "FontCollectionGDIP.h"
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
 | 
			
		||||
namespace Gfx {
 | 
			
		||||
 
 | 
			
		||||
@@ -21,6 +21,7 @@
 | 
			
		||||
 | 
			
		||||
#include "TextFormat.h"
 | 
			
		||||
#include <memory>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
 | 
			
		||||
namespace Gfx {
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,7 @@
 | 
			
		||||
#define RM_GFX_UTIL_WICBITMAPDIB_H_
 | 
			
		||||
 | 
			
		||||
#include <Windows.h>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
#include <wincodec.h>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,7 @@
 | 
			
		||||
#define RM_GFX_UTIL_WICBITMAPLOCKDIB_H_
 | 
			
		||||
 | 
			
		||||
#include <Windows.h>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
#include <wincodec.h>
 | 
			
		||||
#include "WICBitmapDIB.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,7 @@
 | 
			
		||||
#define RM_GFX_UTIL_WICBITMAPLOCKGDIP_H_
 | 
			
		||||
 | 
			
		||||
#include <Windows.h>
 | 
			
		||||
#include <ole2.h>  // For Gdiplus.h.
 | 
			
		||||
#include <GdiPlus.h>
 | 
			
		||||
#include <wincodec.h>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user