Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_IconList.h

Issue 1254973004: Fix FX_BOOL compilation errors under windows (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix a few more found on win side' Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fxge/win32/fx_win32_gdipext.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_
9 9
10 #include "../../../core/include/fxcrt/fx_string.h" 10 #include "../../../core/include/fxcrt/fx_string.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual FX_BOOL OnLButtonDown(co nst CPDF_Point & point, FX_DWORD nFlag); 80 virtual FX_BOOL OnLButtonDown(co nst CPDF_Point & point, FX_DWORD nFlag);
81 virtual FX_BOOL OnLButtonUp(cons t CPDF_Point & point, FX_DWORD nFlag); 81 virtual FX_BOOL OnLButtonUp(cons t CPDF_Point & point, FX_DWORD nFlag);
82 virtual FX_BOOL OnMouseMove(cons t CPDF_Point & point, FX_DWORD nFlag); 82 virtual FX_BOOL OnMouseMove(cons t CPDF_Point & point, FX_DWORD nFlag);
83 virtual FX_BOOL OnKeyDown(FX_WOR D nChar, FX_DWORD nFlag); 83 virtual FX_BOOL OnKeyDown(FX_WOR D nChar, FX_DWORD nFlag);
84 84
85 private: 85 private:
86 CPWL_IconList_Item* GetListItem(int3 2_t nItemIndex) const; 86 CPWL_IconList_Item* GetListItem(int3 2_t nItemIndex) const;
87 void SelectIt em(int32_t nItemIndex, FX_BOOL bSelect); 87 void SelectIt em(int32_t nItemIndex, FX_BOOL bSelect);
88 int32_t FindItemIndex(co nst CPDF_Point& point); 88 int32_t FindItemIndex(co nst CPDF_Point& point);
89 89
90 » FX_BOOL»» » » » » » » m_nSelec tIndex; 90 » int32_t»» » » » » » » m_nSelec tIndex;
91 IPWL_IconList_Notify* m_pNotify; 91 IPWL_IconList_Notify* m_pNotify;
92 FX_BOOL m_bEnabl eNotify; 92 FX_BOOL m_bEnabl eNotify;
93 FX_BOOL m_bMouse Down; 93 FX_BOOL m_bMouse Down;
94 int32_t m_nListCount; 94 int32_t m_nListCount;
95 }; 95 };
96 96
97 class PWL_CLASS CPWL_IconList : public CPWL_Wnd 97 class PWL_CLASS CPWL_IconList : public CPWL_Wnd
98 { 98 {
99 public: 99 public:
100 CPWL_IconList(int32_t nListCount); 100 CPWL_IconList(int32_t nListCount);
(...skipping 18 matching lines...) Expand all
119 virtual void CreateChildWnd(c onst PWL_CREATEPARAM & cp); 119 virtual void CreateChildWnd(c onst PWL_CREATEPARAM & cp);
120 120
121 virtual void OnNotify(CPWL_Wn d* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); 121 virtual void OnNotify(CPWL_Wn d* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0);
122 122
123 private: 123 private:
124 CPWL_IconList_Content* m_pListContent; 124 CPWL_IconList_Content* m_pListContent;
125 int32_t m_nListCount; 125 int32_t m_nListCount;
126 }; 126 };
127 127
128 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ 128 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_
OLDNEW
« no previous file with comments | « core/src/fxge/win32/fx_win32_gdipext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698