| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ | 7 #ifndef CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ |
| 8 #define CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ | 8 #define CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ |
| 9 | 9 |
| 10 #ifdef _WIN32 | 10 #ifdef _WIN32 |
| 11 #ifndef _WINDOWS_ | 11 #ifndef _WINDOWS_ |
| 12 #include <windows.h> | 12 #include <windows.h> |
| 13 #endif | 13 #endif |
| 14 #define WINDIB_OPEN_MEMORY 0x1 | 14 #define WINDIB_OPEN_MEMORY 0x1 |
| 15 #define WINDIB_OPEN_PATHNAME 0x2 | 15 #define WINDIB_OPEN_PATHNAME 0x2 |
| 16 |
| 17 class IFX_RenderDeviceDriver; |
| 18 |
| 16 typedef struct WINDIB_Open_Args_ { | 19 typedef struct WINDIB_Open_Args_ { |
| 17 int flags; | 20 int flags; |
| 18 | 21 |
| 19 const uint8_t* memory_base; | 22 const uint8_t* memory_base; |
| 20 | 23 |
| 21 size_t memory_size; | 24 size_t memory_size; |
| 22 | 25 |
| 23 const FX_WCHAR* path_name; | 26 const FX_WCHAR* path_name; |
| 24 } WINDIB_Open_Args_; | 27 } WINDIB_Open_Args_; |
| 25 | 28 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 protected: | 74 protected: |
| 72 HBITMAP m_hBitmap; | 75 HBITMAP m_hBitmap; |
| 73 | 76 |
| 74 HBITMAP m_hOldBitmap; | 77 HBITMAP m_hOldBitmap; |
| 75 | 78 |
| 76 HDC m_hDC; | 79 HDC m_hDC; |
| 77 }; | 80 }; |
| 78 #endif | 81 #endif |
| 79 | 82 |
| 80 #endif // CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ | 83 #endif // CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ |
| OLD | NEW |